- Get the name of the OSGi bundle used by eclipse:
osgi.frameworkkey in$ECLIPSE_HOME/configuration/config.ini - Extract that file into a new temporary directory
- Copy
JavaSE-1.9.profiletoJavaSE-9.profile - Modify
profile.listto list that new profile in thejava.profilesentry - 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.