Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "4.7AndJava9"

(4.7 And Java 9)
 
Line 3: Line 3:
 
You need to add the a few lines in eclipse.ini file
 
You need to add the a few lines in eclipse.ini file
  
a) -vm <path to java> : for example -vm D:\JDKs\jdk-9-ea+169_windows-x64_bin\jdk9\jdk-9\bin\ - This is the standard procedure for running with any JDK other than the standard one
+
-vm <path to java> : for example -vm D:\JDKs\jdk-9-ea+169_windows-x64_bin\jdk9\jdk-9\bin\ - This is the standard procedure for running with any JDK other than the standard one
 
+
• Add -vmargs option if not present
b)
+
• Under -vmargs, add --add-modules=ALL-SYSTEM. By now, if you should be able to launch eclipse.
 +
• If you encounter an exception such as IllegalAccessException or InaccessibleObjectException,  add --permit-illegal-access additionally after the -vmargs.

Revision as of 03:18, 2 June 2017

Launching Eclipse 4.7 with Java 9: You have downloaded an early access version of Java 9 and would like to launch eclipse Oxygen 4.7 with this version.

You need to add the a few lines in eclipse.ini file

• -vm <path to java> : for example -vm D:\JDKs\jdk-9-ea+169_windows-x64_bin\jdk9\jdk-9\bin\ - This is the standard procedure for running with any JDK other than the standard one • Add -vmargs option if not present • Under -vmargs, add --add-modules=ALL-SYSTEM. By now, if you should be able to launch eclipse. • If you encounter an exception such as IllegalAccessException or InaccessibleObjectException, add --permit-illegal-access additionally after the -vmargs.

Back to the top