Page 1 of 1

What can i do for "please set JAVA_HOME..."

Posted: Wed Jul 15, 2015 6:04 pm
by Phons
I want to run tomcat7
But I get "[fail] no JDK found - please set JAVA_HOME ... failed"
How to set up JAVA_HOME?
I don‘t know the path of jdk8

Re: What can i do for "please set JAVA_HOME..."

Posted: Thu Jul 16, 2015 1:38 pm
by xranby
JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-arm-vfp-hflt


you can set it permanently by editing your
~/.profile
and add

Code: Select all

export JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-arm-vfp-hflt

Re: What can i do for "please set JAVA_HOME..."

Posted: Tue Aug 04, 2015 1:09 am
by Acorn22
To find the path of "java" for example, type

Code: Select all

which java