Titanium on Windows: Error locating JDK: set $JAVA_HOME and make javac and jarsigner available via your $PATH

13Mar

Titanium on Windows: Error locating JDK: set $JAVA_HOME and make javac and jarsigner available via your $PATH

by Craig Mayhew on Tue 13th Mar 2012 under Guides/Fixes

  1. Right click on my computer and then left click proeprties in the menu that appears.

  2. Goto "Advanced" tab

  3. Click "Environment Variables" button at the bottom

  4. Click "New" under system variables.

  5. Set variable name as "JAVA_HOME" andvariable value to "C:\Progra~1\Java\jdk1.7.0_03". Be sure to use your correct version and if you have saved it outside of the default location you will need the correct path. Also note we have not added the bin directory on the end. Notice we have not got any spaces in our value.

  6. Find the Path variable, highlight it and click edit.

  7. Add "%JAVA_HOME%\Bin;" to the beginning of the current value. BE SURE TO LEAVE THE CURRENT VALUE INTACT.

  8. Click ok a few times to close the windows.

  9. Restart Titanium and try see if your error goes away.



Titanium  




© 2018 Craig Mayhew