Typesafe activator: Java JDK can't be found

Notso Penguin picture Notso Penguin · Jan 7, 2014 · Viewed 7.5k times · Source

I am trying to run the typesafe activator on Windows 8.1 x64. It keeps saying I don't have a valid JDK installation:

A Java JDK is not installed or can't be found.
JAVA_HOME = "C:\Program Files\Java\jdk1.7.0_45\bin"

Please go to
http://www.oracle.com/technetwork/java/javase/downloads/index.html
and download a valid Java JDK and install before running Activator.

If you think this message is in error, please check
your environment variables to see if "java.exe" and "javac.exe" are
available via JAVA_HOME or PATH.

Press any key to continue . . .

I have my JAVA_HOME set to:

C:\Program Files\Java\jdk1.7.0_45\bin

Which is a valid location.

Answer

Tom G picture Tom G · Jan 7, 2014

JAVA_HOME should just point to the JDK directory, not bin.