How do I specify the JDK for a GlassFish domain?

前端 未结 9 2091
一生所求
一生所求 2020-11-28 08:02

I\'ve got GlassFish 2.1.1 installed. I have a 1.5 and a 1.6 JDK installed. Even though my JAVA_HOME variable is set to the 1.5 version (and both \"java -version\" and \"java

9条回答
  •  时光取名叫无心
    2020-11-28 08:33

    In Linux file system , Edit below file as this steps

    Path - /opt/glassfish3/glassfish/config

    File Name - asenv.conf

    Add the JAVA HOME path as below to the end of file.

    AS_JAVA=/opt/jdk1.8.0_201

    Now start the glassfish server.

提交回复
热议问题