Can't Run Kitchen Sink in Android - Reports wrong JVM
Hi,
When running the Android emulator to launch the Kitchen Sink App, I get the following error:
[ERROR] JDK version Error loading:
c:\java\jdk1.6.0_21\jre\bin\client\jvm.dll detected, but
1.6 is required
When I check the Java version from the system prompt using 'javac - version', I get the following:
javac 1.6.0_21
Any ideas?
1 Answer
-
What OS are you using? The 32 bit JDK is required on Windows and the 64 bit JDK is required on OSX.
Create a file called DataModel.java and enter the following.
public class DataModel{ public static void main(String[] args){ System.out.println(System.getProperty("sun.arch.data.model") + " bits"); } }
Save the file then run the following commands to show if your JDK is 32 bit or 64 bit.
java DataModel.java javac DataModel
Let me know if this helps.