When i tried to install glassfish server on windows 2008 R2 server, it shows the following error message.JRE already installed in my system and set environment variables as follows
JAVA_HOME - C:\Program Files\Java\jdk1.7.0_17 CLASSPATH - %JAVA_HOME%\jre\lib Path -;%JAVA_HOME%\bin
Your help will be highly appreciated.
You just need to set the "JAVA_HOME" environment variable (at least in my installation it was enough).
In 64 operating systems you must install from a command line. The command should be something like C:\\Installer>glassfish-4.0-windows.exe -j "C:\\Program Files\\Java\\jdk1.7.0_45"
You just need to change to your actual glassfish installer version and jdk home.
One can use C:\directory_of_glassfish_exe start glassfish-4.0-windows.exe -j "C:\Program Files\Java\jdk1.7.0_45"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.