I am trying to install 1 software on my VPS. But java is giving me some problem
[property] java.io.IOException: Cannot run program “/bin/env”: java.io.IOException: error=12, Cannot allocate memory
So then I am tried to allocate heap memory to JVM by using command
# java -Xms128m -Xmx128m DoRunTime
It will give such type of error
Exception in thread “DoRunTime” java.lang.NoClassDefFoundError: DoRunTime
Caused by: java.lang.ClassNotFoundException: DoRunTime
I am install JAVA using Command # yum install java-1.6.0-openjdk-devel
I have set my JAVA_PATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
Also I have set my CLASSPATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/
Also is there need to set PATH???
I Don’t know what is going wrong.
When I entered the command usr/tomcat/bin/shutdown.sh i get the permission denied error. How to solve this problem?
I’m in CentOS 5.5
]]>