I get the following errors when i try to run a sample project in netbeans on google app server. The server doesn\'t start up. How can i resolve these errors if they exist ? I am
probable solution will be hear : setting jdk path in netbeans or , if you setting JAVA_HOME in windows env then use %JAVA_HOME%
Try this- for temporary
Windows
netbeans.exe --jdkhome "c:\JDK\path"
Unix
netbeans --jdkhome /usr/bin/yourjdk
If you want to set the option permanently, you can do so in the netbeans.conf
file. and change .
# Default location of JDK, can be overridden by using --jdkhome <dir>:
netbeans_jdkhome="c:\your\JDK\path"
Install jdk and set JAVA_HOME in environments variables to path that you jdk was installed. Currently it points to jre.