Will Eclipse 3.8 (or Juno) be able to run on Java 9?

1.6k views Asked by At

My application is based on Eclipse 3.8, and I'd like to know if it will run over Java.

I'm not using a newer version because it has performance issues. From my experience, Eclipse 3.8 is a lot faster compared to any newer versions of Eclipse.

Does someone know something about this?

UPDATE: The previous title may suggest that I want Eclipse 3.8 to be able to support the new features of Java 9. But, I really just want to know if I'll be able to run the application over Java 9 JRE.

2

There are 2 answers

5
derWallace On BEST ANSWER

Yes it works, but only with a small patch.

It fails because the org.eclipse.osgi bundle of Eclipse 3.8 (Juno) has no runtime profiles for Java 8 or Java 9. If you add those it works for me.

I made successful tests with an RCP-based app on target plattform 3.8.2 (http://archive.eclipse.org/eclipse/downloads/drops/R-3.8.2-201301310800/) running under Java 9 Oracle JVM under Windows 7.

What to do: You have to patch the org.eclipse.osgi bundle:

  • strip signing information
  • manually add an entry for the Java 9 Runtime Enironment in the profile.list of the bundle and add a JavaSE-1.9.profile definition

E.g.: https://github.com/derWallace/org.eclipse.osgi

But no guarantees that this is a good deal for production!

0
nitind On

No. Oxygen (4.7) and newer only is what's planned. If your performance findings are verifiable and repeatable, file bug reports about them.