Gareth
--
You may need to change JAVA_HOME to point to install directory of JDK.
I know this info is very generic but so was your question. If you want more detailed advice, you need to tell details of your environment, like operating system and its version.
-- Sami
(sent from a phone, please excuse my brevity)
> I'm running this on Ubuntu. The error said:
>
> Perhaps JAVA_HOME does not point to the JDK.
> It is currently set to "/usr/lib/jvm/java-6-openjdk/jre"
You should install JDK and not JRE:
openjdk-6-jre-headless: /usr/lib/jvm/java-6-openjdk/bin/java
openjdk-6-jdk: /usr/lib/jvm/java-6-openjdk/bin/javac
> Does it mean JAVA_HOME is set to be "/usr/lib/jvm/java-6-openjdk/jre"
> somewhere? I took a look at the file /etc/environment but didn't see
> anything about JAVA_HOME ...
--
Mykola