Will it be possible to use Java 8 on Glassfish 3?

后端 未结 2 358
北恋
北恋 2020-12-13 14:01

We currently use Glassfish 3 and I really want to use Java 8. I tried upgrading to Glassfish 4, but I experienced two bugs in the Glassfish 4 code so I had to revert back t

2条回答
  •  囚心锁ツ
    2020-12-13 14:50

    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}
    

提交回复
热议问题