cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis Cebu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-6027) cordova platform add android get an error in JAVA_HOME
Date Thu, 13 Feb 2014 02:12:19 GMT

     [ https://issues.apache.org/jira/browse/CB-6027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Francis Cebu updated CB-6027:
-----------------------------

    Description: 
I just install my cordova 3.3 in my windows 8, when i use the command "cordova platform add
android" i receive this error message 

Error: failed to run 'java -version', make sure your java environment is set up including
jdk and jre

your JAVA_HOME variable is c:\program files(x86)\java\jdk1.7.0_25\bin
Error: Command failed: 'java' is not recognized as an internal or external command,

operable program or batch file.

here's my system variable for JAVA_HOME
C:\Program Files (x86)\Java\jdk1.7.0_25\bin

and for the path, i added this one
C:\Program Files (x86)\Java\jdk1.7.0_25;C:\Program Files (x86)\Java\jre7

anyone can help me with this issue?

  was:
I just install my cordova 3.3 in my windows 8, when i use the command cordova platform add
android i receive this error message 

Error: failed to run 'java -version', make sure your java environment is set up including
jdk and jre

your JAVA_HOME variable is c:\program files(x86)\java\jdk1.7.0_25\bin
Error: Command failed: 'java' is not recognized as an internal or external command,

operable program or batch file.

here's my system variable for JAVA_HOME
C:\Program Files (x86)\Java\jdk1.7.0_25\bin

and for the path, i added this one
C:\Program Files (x86)\Java\jdk1.7.0_25;C:\Program Files (x86)\Java\jre7

anyone can help me with this issue?


> cordova platform add android get an error in JAVA_HOME
> ------------------------------------------------------
>
>                 Key: CB-6027
>                 URL: https://issues.apache.org/jira/browse/CB-6027
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CLI
>    Affects Versions: 3.3.0
>         Environment: Windows 8
>            Reporter: Francis Cebu
>            Priority: Minor
>
> I just install my cordova 3.3 in my windows 8, when i use the command "cordova platform
add android" i receive this error message 
> Error: failed to run 'java -version', make sure your java environment is set up including
jdk and jre
> your JAVA_HOME variable is c:\program files(x86)\java\jdk1.7.0_25\bin
> Error: Command failed: 'java' is not recognized as an internal or external command,
> operable program or batch file.
> here's my system variable for JAVA_HOME
> C:\Program Files (x86)\Java\jdk1.7.0_25\bin
> and for the path, i added this one
> C:\Program Files (x86)\Java\jdk1.7.0_25;C:\Program Files (x86)\Java\jre7
> anyone can help me with this issue?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message