Skip to content

Instantly share code, notes, and snippets.

@ankon
Last active December 15, 2015 11:23
Show Gist options
  • Save ankon/5138b0a074bb023a7099 to your computer and use it in GitHub Desktop.
Save ankon/5138b0a074bb023a7099 to your computer and use it in GitHub Desktop.
Making Eclipse work with JDK 9-ea+96 and later
  1. Get the name of the OSGi bundle used by eclipse: osgi.framework key in $ECLIPSE_HOME/configuration/config.ini
  2. Extract that file into a new temporary directory
  3. Copy JavaSE-1.9.profile to JavaSE-9.profile
  4. Modify profile.list to list that new profile in the java.profiles entry
  5. Pack everything back together: jar cvfm META-INF/MANIFEST.MF (name-of-file-from-step-1) .

You can use a different name for the target in step 5, but then must also modify config.ini accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment