Tuesday, April 1, 2014

Running Glassfish 3.1.2.2 with JDK 8

Stopped by an error after upgrading my Java 7 to Java 8.
Glassfish 3.1.2.2 just won't start.

Found a solution:

edit osgi.properties file in the glassfish/config folder and add this line at the end:

jre-1.8=${jre-1.7}

3 comments:

Anonymous said...

awesome, thank you

Tryu said...

don't work for me on glassfish 4.1, can you help me?

Anonymous said...

Thankyou!