2016-07-09 14 views
1

Nun, wie die Frage sagt, dass ich ein paar Probleme haben RAPT immer den Befehl auszuführen:RAPT: Was ist los mit meinem JDK?

python android.py installsdk 

Es normalerweise zurück:

I'm compiling a short test program, to see if you have a working JDK 
on your system. 


I was unable to use javac to compile a test file. If you haven't 
installed the Java Development Kit yet, please download it from: 

http://www.oracle.com/technetwork/java/javase/downloads/index.html 

The JDK is different from the JRE, so it's possible you have Java 
without having the JDK. Without a working JDK, I can't continue. 

Ich habe versucht, viele Versionen von JDK, habe ich die Variable geprüft "PATH" und ich kann javac ohne Problem ausführen. Ich brauche eine bestimmte Version von JDK? (Ich benutze Python 2.7, 32 Bits)

Antwort

0

JDK ist Java-Entwicklungswerkzeugsatz JRE ist Java-Laufzeitumgebung nur. Wenn Sie Java-Jar oder Klasse-Datei jre kompiliert haben, ist gut genug, benötigen Sie nicht jdk.

aber wenn Sie Java-Quellcode kompilieren möchten, benötigen Sie javac, das mit JDK kommt.

Versuchen Sie, die Umgebungsvariable JAVA_HOME festzulegen.