Results 1 to 4 of 4
Thread: Eclipse-Java Help (Switcher)
-
08-27-2008, 01:33 AM #1
- 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!"
-
08-27-2008, 03:06 AM #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.
-
08-27-2008, 02:11 PM #3
- 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!"
-
08-27-2008, 02:46 PM #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
-
Need help with Eclipse
By outlawg13 in forum macOS - Operating SystemReplies: 16Last Post: 03-24-2012, 11:29 AM -
Eclipse and Java not working properly
By walton12 in forum macOS - Operating SystemReplies: 6Last Post: 09-08-2011, 04:29 PM -
Eclipse is not reconising the latest Java Update
By lukegjpotter in forum macOS - Development and DarwinReplies: 5Last Post: 11-29-2010, 03:27 PM -
Need some help with Eclipse
By aj3627 in forum macOS - Development and DarwinReplies: 1Last Post: 09-23-2008, 09:28 PM -
eclipse (java animation issues)
By mumia55 in forum macOS - Development and DarwinReplies: 1Last Post: 01-02-2007, 01:23 PM