Java 1.6/1.7 on Macintosh [message #1332801] |
Sun, 04 May 2014 20:59  |
Eclipse User |
|
|
|
I have a project that has been running successfully for quite a while on Java 1.6.
I am now porting it to Java 1.7 and, not surprisingly, encountering a few bugs. I am using Eclipse on Macintosh as my development platform. I can create a project that runs on 1.7 by exporting a runnable jar and building the application using Macintosh tools. To make sure the project uses Java 1.7, I use
Preferences->Java->Installed JRE's->Execution environment
However, I can't seem to get to change the version of Java that Eclipse uses to change from 1.6--if I use the green "Run" button it always seems to run on Java 1.6.0_65. This makes it hard to debug the 1.7-specific errors. Any suggestions on the best way way to proceed?
Thanks,
Paul
|
|
|
Re: Java 1.6/1.7 on Macintosh [message #1332817 is a reply to message #1332801] |
Sun, 04 May 2014 21:10   |
Eclipse User |
|
|
|
Sounds like the launch configurations you have are configured to run with a 1.6 JDK/JRE. You should select run... and edit the VM settings for the particular launch configuration you are running.
|
|
|
Re: Java 1.6/1.7 on Macintosh [message #1332840 is a reply to message #1332817] |
Sun, 04 May 2014 21:20   |
Eclipse User |
|
|
|
Nikolay,
Thanks for the rapid reply! I'm not sure I understand your instruction. I selected
Run/debug -> Launching-> Launch configuration
But I don't see any way there to edit the VM for a launch configuration.
Paul
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05147 seconds