Titanium Studio error launch "failed to create java virtual machine"
Hi all
I just install the last Titanium Studio and
when startup open a box saying
failed to create java virtual machine
im using win 7
i run eclipse and others without any problem with java
path etc… are ok
Can anyone point to a possible solution ?
15 Answers
-
Accepted Answer
Hi,
in your installation folder, remove
–launcher.XXMaxPermSize
256m
from titaniumstudio.ini and start again, works for me.best
ron -
It is better to modify the launcher.XXMaxPermSize to 128m. Because eliminating this may give an error message with the size of the PermGen
-
Above solution didn't worked for me so I deleted ini file and it started fine.
-
after trail and error, it is found that if you try to lower the -Xmx to 768m from 1024m, the studio can run with the 256m MaxPermSize.
when doing the debug, the MaxPermSize seems quite important, which can make the console dont crash a lot due to not enough PermSize.
-
yes yes i I deleted ini file and it started fine thanks all
hasanhamdar -
Same thing. This TitaniumStudio.ini is helpful for me:
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
–launcher.XXMaxPermSize
128m
–launcher.defaultAction
openFile
-name
Appcelerator
-vmargs
-Xms512m
-Xmx512m
-Declipse.p2.unsignedPolicy=allow
-Djava.awt.headless=true
-XX:PermSize=128m
-XX:MaxPermSize=128m
-Xverify:none
-XX:+UseParallelGC
-XX:+AggressiveOpts
-XX:+UseFastAccessorMethods -
HI,
i had the same probleme ,I replaced the content of "titaniumstudio.ini" with that of "AptanaStudio3.ini" (i had the aptana 3 previously installed),and that workrd for me. -
What worked for me, on my Windows 7.0 PC, was to put the path to the Java runtime environment in my PATH system variable. I also fixed the CLASSPATH value since it was pointing to an older, uninstalled version of the JDK.
Hope this helps someone.
-
I just noticed that I had NeoOffice running while trying to launch Titanium Studio. I also tried to update Java by running Software update and there was an update to Java for Mac OS X which I installed. I also closed NeoOffice which I think is large Java based application.
One of these things solved my problem for sure.
Guys please post if you have had a similar experience. -
just remove the entire line –launcher.XXMaxPermSize 256m from titaniumstudio.ini file and restart the application
-
changing 256 to 128m worked for me thanks
-
just remove
–launcher.XXMaxPermSize 128m
this line it will work fine…..i got it this way only -
I deleted the ini file, started and installed all updates and other stuff, then put the ini file back, and it works fine.
-
Yes it's working
Thanks
-
Ran into this problem too.. Here is the solution that worked..
https://discussions.apple.com/thread/2777258?start=0&tstart=0