Results 1 to 3 of 3
  1. #1
    windows .bat to run java and start mysql

    Member Since
    Apr 02, 2008
    Posts
    1
    windows .bat to run java and start mysql
    I have a .bat file that starts a MySql database server and then runs a java program which access the database. How can I do that in mac ?

  2. #2
    windows .bat to run java and start mysql

    Member Since
    Mar 21, 2008
    Posts
    43
    You could try using crossover office from www.codeweavers.com .. My guess is that you couldn't do it within OSX though.

  3. #3
    windows .bat to run java and start mysql

    Member Since
    Mar 30, 2004
    Location
    USA
    Posts
    4,744
    Specs:
    12" Apple PowerBook G4 (1.5GHz)
    You will need to rewrite the batch file as either a shell script (if you intend to run it from the command line) or an AppleScript (if you intend to run it by double-clicking) or an AppleScript that runs a shell script (because, well, shell scripts are usually easier to write than straight AppleScripts for such things.)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can you run .bat files on a mac?
    By tomelk31 in forum Switcher Hangout
    Replies: 10
    Last Post: 10-16-2011, 10:50 AM
  2. Java won't run
    By MartinS in forum OS X - Operating System
    Replies: 5
    Last Post: 07-09-2009, 08:12 AM
  3. How do I auto start mysql on my mac
    By neerajdotname in forum OS X - Operating System
    Replies: 0
    Last Post: 05-14-2008, 07:53 AM
  4. is their an equivelant to .bat on windows?
    By krrose27 in forum Switcher Hangout
    Replies: 4
    Last Post: 05-23-2007, 11:11 AM
  5. How to run MySQL Databases off Mac?
    By Books in forum Web Design and Hosting
    Replies: 12
    Last Post: 07-31-2005, 07:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •