Titanium Community Questions & Answer Archive

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

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?

— asked November 2nd 2010 by Steve Hufnagel
  • android
  • mobile
  • windows
  • xp
0 Comments

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.

    — answered October 8th 2013 by Steven Gold
    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.