I just installed Titanium Studio on Windows XP.
I followed the instructions here (http://wiki.appcelerator.org/display/guides/Getting+Started+with+Titanium#GettingStartedwithTitanium-InstallingTitanium) which basically said download and run the installer.
When I try to run Titanium Studio, I get a popup saying 'Failed to create the Java Virtual Machine'
The only answers on this forum I have found has to do with Win7 and says
"remove –launcher.XXMaxPermSize 256m from titaniumstudio.ini and start again"
I tried this but it doesn't make any difference.
I tried uninstalling and reinstalling
Any help please? What am I missing?
Hmm, I thought I posted my resolution here about an hour ago - but no… (not sure where I posted it!!!) but was definitely not a DOH!
After a ton of searching and testing and trying a gagillion things, I added –debug to the titaniumstudio.exe and got some more info then just ‘Failed to create the Java Virtual Machine’ (pretty useless error message)
I saw the error message - ‘could not reserve enough space for object heap’
So more searching and testing, I tried changing a line in the titaniumstudio.ini
And that worked.
Like I said, definitely not a DOH!
The installation documentation for this product really needs some work. Currently it says, download and install and good to go! Obviously NOT true! Almost 5 hours trying to get this to work… seriously frustrating. I hope development in this goes a lot smoother!
At first no, because nowhere in the instructions does it say I need to install java first. Yes I am a complete newbie to Appcelerator, installing it to learn about it and start on a new project.
But after reading the error message I thought that might be the case, so I did install it. I un-installed Titanium and re-installed Java and re-installed Titanium, but am still getting the error.
My Java version (installed today).
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
Did you install java correctly first?
I have made sure java and javac are in the PATH.
I can compile and run a simple HelloWorld program from the command line.
I am not sure where else to look?
which package did you install? Did you set the java_home etc environment variables control panel->system ? Did you add the binary directory(s) to the path ? (I do both because I dont like to get too frustrated whenever possible)
doh sorry I see you said you set the path (long day here).. dont give up! we all start at the start.. find the issue.. and say - DOH! :)
Youre good! :) I think the ti people figure if its community we should be doc'ing ourselves.
or something.. I have read some nasties by googling.. BUT I like this tool for developing (so far) now that Ive gotten this far in my learning curve.
I wonder where you did post your solution the first time.. someone must be wondering what ur smokin! :) HAHA!
I just installed java and Titanium Studio still runs - so that is why it is not in the instructions, because you don't need to install it.
Till date this same problem can be solved by Karen K's answer. Thanks Karen!
But I don't search the: failed create the java virtual maccine in win 7
Thanks a lot !! Its working Karen K