Results 1 to 4 of 4
  1. #1

    chat19's Avatar
    Member Since
    Aug 09, 2007
    Posts
    115
    Specs:
    MacBook Pro 2.4 GHz, 160 gig HDD @ 5400, 2 gig RAM, nVIDIA 8600
    Eclipse-Java Help (Switcher)
    So... I switched to mac, and previously (on PC) I was programming C++. Now that I'm done with C++ for a while, I wanted to use eclipse for Java on OS X.

    Now my question is: how do I get to the equivalent of the .exe I had for C++ on PC? Any Ideas?
    "We, the Chinese people, draft the entire Woo-Tang Clan!"

  2. #2


    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    Specs:
    Mac Pro 2xQuad core 2.8GHZ
    Java to remain platform independent does not compile to a .exe file, instead the compiled class files (xxx.class) are able to run on any platform that has a Java VM.

    There are programs out there that will convert .class files in to .exe but then they become system specific.

    Under OSX there is an application bundler utility that will package up a suite of .class files as a .app file which can be run like a native app.

  3. #3

    chat19's Avatar
    Member Since
    Aug 09, 2007
    Posts
    115
    Specs:
    MacBook Pro 2.4 GHz, 160 gig HDD @ 5400, 2 gig RAM, nVIDIA 8600
    thanks a lot for your help!
    I see, it is a little different. I need to use terminal to run it...
    "We, the Chinese people, draft the entire Woo-Tang Clan!"

  4. #4


    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    Specs:
    Mac Pro 2xQuad core 2.8GHZ
    Not necessarily - package the .class files up in a Jar file, then you can use the application bundler with osx to turn it in to a .app file

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need help with Eclipse
    By outlawg13 in forum OS X - Operating System
    Replies: 16
    Last Post: 03-24-2012, 12:29 PM
  2. Eclipse and Java not working properly
    By walton12 in forum OS X - Operating System
    Replies: 6
    Last Post: 09-08-2011, 05:29 PM
  3. Eclipse is not reconising the latest Java Update
    By lukegjpotter in forum OS X - Development and Darwin
    Replies: 5
    Last Post: 11-29-2010, 04:27 PM
  4. Need some help with Eclipse
    By aj3627 in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 09-23-2008, 10:28 PM
  5. eclipse (java animation issues)
    By mumia55 in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 01-02-2007, 02:23 PM

Posting Permissions

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