Samstag, 5. Januar 2013

[ERROR] Program launch failed. Unable to locate Java VM. Please set JAVA_HOME environment variable.

TiStudio win7 64bit Trouble!!!

I got some errors on building an Android app:

[ERROR] Program launch failed. Unable to locate Java VM. Please set JAVA_HOME environment variable.

SO in order to solve it just Install JAVA 32 bit!!! in cmd one need to check if java -version shows following:

C:\>java -version
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) Client VM (build 23.6-b04, mixed mode, sharing)
 Another trouble is TiStudio does not like when software is in the folders with space in the name.
I was moving all stuff to C:\ANDROID\java\i586,C:\ANDROID\android-sdk,
Finally it works without trouble.
  

Keine Kommentare: