glassfish starts only from the netbeans IDE and not from the command prompt
Posted
by user314536
on Stack Overflow
See other posts from Stack Overflow
or by user314536
Published on 2010-04-12T13:26:50Z
Indexed on
2010/04/12
13:33 UTC
Read the original article
Hit count: 466
i have installed the netbeans version 6.8 with glassfish version 3 on a redhat machine. the thing is that when i try starting/stopping the glassfish via the netbeans, it works fine, BUT when i try starting the glassfish via:
./asadmin stop-domain domain1
i get the error "GlassFish requires Java SE version 6. Your JDK is version 4"
i have got only one JDK instance installed
rpm -qa | grep jdk
will return "jdk-1.6.0_18-fcs"
any ideas ?
© Stack Overflow or respective owner