Monday, August 4, 2014

Appcelerator/Titanium Error Message "failed to create java virtual machine"

Just now i wanna try to develop test application using Appcelerator/Titanium Framework, after installing then running, i get error message when try to run the IDE with message "failed to create java virtual machine".

If you get same error like me, you can fix that with bellow changes:
- Open "TitaniumStudio.ini" in Appcelerator/Titanium installation directory.
- Make changes as below:
Change:
launcher.XXMaxPermSize to 128m
So it will be like this:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140116-2212
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-name
Titanium Studio
-vmargs
-Xms128m
-Xmx1024m
-XX:MaxPermSize=128m
-Xverify:none
-Declipse.p2.unsignedPolicy=allow
-Declipse.log.size.max=10000
-Declipse.log.backup.max=5
-Dfile.encoding=UTF-8
-Djava.awt.headless=true
It Should run normally now.. :D

0 comments:

Post a Comment