How to resolve : Your JAVA_HOME is invalid


#1

Hi,

I have finished my app. I am trying to build it for Android on a computer running windows 10.

I am having this error.

Error: Failed to run "javac -version", make sure that yo
u have a JDK installed.
You can get it from: http://www.oracle.com/technetwork/j
ava/javase/downloads.
Your JAVA_HOME is invalid: C:\Program Files\java\jdk1.8.
0_131

I think I have followed the steps here :

My environment variables looks like this:

(funny thing=> Windows OS is set in english, but these windows are in French…)

Any help for this last step before publishing?

Thanks,

Stéphane.


#2

This doesn’t match the screenshot you posted.


#3

yes, but my java file is not in Program Files…


#4

Where is it?
Where does the command line get this value from?


#5

It is in “program files x86”. Should I put program files anyway?

Thanks for your time.


#6

Why have you installed the 32Bit version on your 64bit system?