Eclipse-Java Help (Switcher)

Joined
Aug 9, 2007
Messages
115
Reaction score
2
Points
18
Your Mac's Specs
MacBook Pro 2.4 GHz, 160 gig HDD @ 5400, 2 gig RAM, nVIDIA 8600
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?
 

Del


Joined
Dec 24, 2006
Messages
901
Reaction score
15
Points
18
Location
N. Ireland
Your Mac's 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.
 
OP
C
Joined
Aug 9, 2007
Messages
115
Reaction score
2
Points
18
Your Mac's 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...
 

Del


Joined
Dec 24, 2006
Messages
901
Reaction score
15
Points
18
Location
N. Ireland
Your Mac's 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
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top