-1

Glassfish 3 was installed on my machine for one java project. Now I have to set up another java project using Glassfish 4. While deploying new project's EAR, I am getting below error.

I have double check everything like domain.xml, environment variables etc. Created EAR file multiple times useing maven. But nothing worked. Please suggest on this. I have not deleted glassfish 3 yet. Do I need to change something on registry ?

Sushant
  • 145
  • 1
  • 2
  • 12

1 Answers1

0

In Glassfish 3 , Edit osgi.properties file in the glassfish/config folder and add this line at the end:

jre-1.8=${jre-1.7}

I think this will solve your issue.

Shalika
  • 1,457
  • 2
  • 19
  • 38