Required jarsigner not found, etc.

You must Login before you can answer or comment on any questions.

I've seen a few others with the same issue I'm having, but none of the solutions seem to fix my problem. When I go to install an app I get the following message from the console:

[ERROR] Required jarsigner not found
[ERROR] Required javac not found
[ERROR] Required java not found
[ERROR] One or more required files not found - please check your JAVA_HOME environment variable
My Java path is set correctly, from Titanium Studio terminal I get the following:
jason@JASON-PC /d/Users/jason/My Documents/Titanium Studio Workspace/test
$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
 
jason@JASON-PC /d/Users/jason/My Documents/Titanium Studio Workspace/test
$ javac -version
javac 1.6.0_29
 
jason@JASON-PC /d/Users/jason/My Documents/Titanium Studio Workspace/test
$ adb version
Android Debug Bridge version 1.0.29
I tried finding the diagnostics tool mentioned in some other related posts but the link doesn't work anymore. Anyone know what I need to do to get this working?

Here are the troubleshooting things I've tried already: restart computer (multiple times), uninstall/reinstall studio, restarting studio after logging out, removing \bin from JAVA_HOME variable (makes the shell unable to find java)

— asked 2 years ago by Jason Crider
3 Comments
  • Anyone?

    — commented 2 years ago by Jason Crider

  • Didn't mean to answer my own question down there, I found the diagnostics tool if this helps anyone help me. Here is the output:

    https://gist.github.com/1524120

    — commented 2 years ago by Jason Crider

  • I'm having the same issue. bump

    — commented 2 years ago by Brian Lachniet

5 Answers

I had the same problem. My JDK is Oracle Java 1.7.0_02 which is installed at C:\Program Files\Java\jdk1.7.0_02 . The following settings did not work for me and I have "[ERROR] Required jarsigner not found" error.

JAVA_HOME="C:\Program Files\Java\jdk1.7.0_02"

PATH=%PATH%;C:\Program Files\Java\jdk1.7.0_02

Then I decided to use short names for folder and filename. Now having the following setting on System level environment variables, the "Required XXX not found" error has been solved.

JAVA_HOME=C:\PROGRA~1\Java\JDK17~.0_0

PATH=%PATH%;C:\PROGRA~1\Java\JDK17~.0_0\bin

But now I have "[ERROR] JDK version 1.7.0_02 detected, but 1.6 is required" error. ;-)

According this page https://wiki.appcelerator.org/display/guides/Installing+Oracle+JDK , JDK 7(1.7) is not supported. I replaced it with JDK 6 (1.6.0_30) and set the following Windows environment variables

JAVA_HOME=C:\PROGRA~1\Java\JDK16~1.0_3

PATH=%PATH%;C:\PROGRA~1\Java\JDK11~1.0_3\bin

(%PATH% should be changed depending on your env.)

Then after restarting Titanium Studio, I observed Android Emulator can be launched.

When my computer had installed java sdk 1.6.0_24, I had the same problem [javac not found] ..etc. But since I updated to java sdk 1.6.0_30, and I assignated the environment vars like JAVA_HOME=C:\PROGRA~1\Java\JDK16~1.0_3 PATH=%PATH%;C:\PROGRA~1\Java\JDK11~1.0_3\bin, everything works fine :)

Is there really no way to do android development with Titanium/Wi7??

I did manage to get it running, your Path variables for %JAVA_HOME% should point to the root (without the /bin) of your jdk directory. Then in your path add %JAVA_HOME%/bin. That got it running for me I believe, let me know if it doesn't work for you and I'll check my paths when I get home this evening and post them up here.

Your Answer

Think you can help? Login to answer this question!