Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

I can't find javac

Hi,

I'm pretty new to this. I just installed the Android SDK, and I'm trying to run the kitchensink, however I get this error:

[ERROR] Error locating JDK: set $JAVA_HOME or put javac and jarsigner on your $PATH

Any clue?

— asked April 7th 2010 by Connor Zwick
  • javac
  • jdk
  • locating
0 Comments

8 Answers

  • You'll need to have the latest JDK (1.6) installed as well. Can you try executing "javac" from the command line?

    — answered April 7th 2010 by Marshall Culpepper
    permalink
    0 Comments
  • Make sure to install JDK as well as JRE, as Marshall said. I suspect this is the problem.

    It will automatically add the right path to your $PATH environment variable.

    If it doesn't, you can control this manually. I had to do this in Windows once. This page shows you how to edit the $PATH environment variable in Windows XP: http://vlaurie.com/computers2/Articles/environment.htm#editing

    — answered April 7th 2010 by Jonah Dempcy
    permalink
    0 Comments
  • Do I check that by typing 'javac' into command prompt?

    If so, it is not recognized as a command.

    — answered April 8th 2010 by Connor Zwick
    permalink
    0 Comments
  • Do I check that by typing 'javac' into command prompt?

    If so, it is not recognized as a command.

    Edit: Sorry this seems like a duplicate reply for some reason. Just ignore.

    — answered April 8th 2010 by Connor Zwick
    permalink
    0 Comments
  • Yes. I did so right before posting this thread.

    — answered April 8th 2010 by Connor Zwick
    permalink
    0 Comments
  • I checked my environment variables, and for the 'path' variable, I have:

    C:Program FilesActiveState Komodo Edit 4;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;C:hpbinPython;c:Program FilesCommon FilesRoxio SharedDLLShared;c:Program FilesCommon FilesRoxio Shared9.0DLLShared;c:Program FilesCommon FilesAutodesk Shared;c:Program FilesMicrosoft SQL Server90Toolsbinn;C:Program FilesMySQLMySQL Server 6.0bin;C:rubybin;C:Program FilesAutodeskBackburner;%SYSTEMROOT%System32WindowsPowerShellv1.0;C:Program FilesQuickTimeQTSystem

    Do I need to add something?

    — answered April 8th 2010 by Connor Zwick
    permalink
    0 Comments
  • I checked my environment variables, and for the 'path' variable, I have:

    C:Program FilesActiveState Komodo Edit 4;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;C:hpbinPython;c:Program FilesCommon FilesRoxio SharedDLLShared;c:Program FilesCommon FilesRoxio Shared9.0DLLShared;c:Program FilesCommon FilesAutodesk Shared;c:Program FilesMicrosoft SQL Server90Toolsbinn;C:Program FilesMySQLMySQL Server 6.0bin;C:rubybin;C:Program FilesAutodeskBackburner;%SYSTEMROOT%System32WindowsPowerShellv1.0;C:Program FilesQuickTimeQTSystem

    Do I need to add something?

    — answered April 8th 2010 by Connor Zwick
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.