Phons
Posts: 1
Joined: Wed Jul 15, 2015 5:55 pm

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

Wed Jul 15, 2015 6:04 pm

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

User avatar
xranby
Posts: 540
Joined: Sat Mar 03, 2012 10:02 pm
Contact: Website

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

Thu Jul 16, 2015 1:38 pm

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
Xerxes Rånby @xranby I once had two, then I gave one away. Now both are in use every day!
twitter.com/xranby

Acorn22
Posts: 17
Joined: Wed Jun 17, 2015 11:47 pm

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

Tue Aug 04, 2015 1:09 am

To find the path of "java" for example, type

Code: Select all

which java

Return to “Java”