安装Titanium Studio遇到Failed to create java virtual machine的解决方案
来源:互联网 发布:网络女生翻唱歌手 编辑:程序博客网 时间:2024/05/22 13:17
今天安装Titanium Studio,安装完成后,发现双击无法打开,错误提示:Failed to create java virtual machine.
Google了两篇老外的问答,解决了这个问题。
首先尝试将安装目录下titaniumstudio.ini文件中的 --launcher.XXMaxPermSize 256m 删除,如果行不通,改回来,修改-Xmx1024m 为 -Xmx256m,即可解决问题。
下面为转载原文:
=========================================================
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 ?
--------------------------------------------------------------------------------Hi, in your installation folder, remove --launcher.XXMaxPermSize 256m from titaniumstudio.ini and start again, works for me.
==========================================================
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!
Anyway...
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 from
-Xmx1024m
to
-Xmx256m
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!
===============================================================- 安装Titanium Studio遇到Failed to create java virtual machine的解决方案
- 安装Titanium Studio遇到Failed to create java virtual machine的解决方案
- 【failed to create java virtual machine】 解决方案
- Failed to create the Java Virtual Machine 的解决方案
- Eclipse遇到问题--failed to create the java virtual machine
- Failed to create the Java Virtual Machine解决方案
- Failed to create the Java Virtual Machine" 解决方案
- failed to create the java virtual machine 解决方案
- Failed to create the Java Virtual Machine" 解决方案
- Eclipse初次启动时出现Failed to create the Java Virtual Machine的解决方案
- eclipse(优化四) eclipse启动时,报"failed to create the java virtual machine"的解决方案
- 关于Eclipse启动后,提示failed to create the java virtual machine的解决方案
- zend studio failed to create java virtual machine无法启动的解法
- zend studio failed to create java virtual machine无法启动的解法
- failed create the java virtual machine 的解决方案
- Failed to create the Java Virtual Machine
- Failed to create the Java Virtual Machine
- Failed to create the Java Virtual Machine
- 中国剩余定理
- [POJ 3264]Balanced Lineup(ST算法求RMQ)
- hdu 4496 D-City
- 生活之你为什么不学习
- gradle
- 安装Titanium Studio遇到Failed to create java virtual machine的解决方案
- 论文实验笔记之二:EViews6跑ARIMA
- C++学习笔记12 构造函数与析构函数下
- 【2933】人活着系列之Streetlights (kruskal算法)(sdutOJ)
- dfghsdfg
- NYOJ-括号配对问题
- HDU 3790 最短路径问题
- 用Apache分发同一个服务器上的多个应用【实践成功记录版本】
- 十天学习PHP之第三天