Page 1 of 1

run.sh: line 211: java: command not found

PostPosted:Mon Jul 13, 2009 7:11 pm
by linuxformat
Hi


This is message came When i try to install openkm

Code


SuseShare:/opt/bin # sh run.sh
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /opt

JAVA: java

JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true

CLASSPATH: /opt/bin/run.jar

=========================================================================

run.sh: line 211: java: command not found



Note.. I have read Quick Install Guide and did all setting .


My Operating System is suse server 11


Thank you very much to help

Regards.

Re:run.sh: line 211: java: command not found

PostPosted:Tue Jul 14, 2009 3:39 am
by dignan
Do you have Java installed? Perform the command \"which java\" without the quotes. Does it return something?

Re:run.sh: line 211: java: command not found

PostPosted:Tue Jul 14, 2009 5:16 pm
by linuxformat
Yes i installed java jdk5

Re:run.sh: line 211: java: command not found

PostPosted:Tue Jul 14, 2009 7:22 pm
by dignan
What does \"which java\" return?

Re:run.sh: line 211: java: command not found

PostPosted:Wed Jul 15, 2009 8:40 am
by jllort
if you execute \"java -version\" on your console, which is your result ?

Re:run.sh: line 211: java: command not found

PostPosted:Wed Jul 15, 2009 4:59 pm
by linuxformat
I installed all java on my dvd and is working now

Thank you All for help

Regards