Aptana 在 Windows XP 中创建 jvm 失败

发布于 2024-12-04 13:54:32 字数 169 浏览 0 评论 0原文

我正在尝试在 winXP 计算机上安装 Aptana studio 3。尽管它已安装 Java(通过命令行中的 java -version 验证),但当我运行 Aptana 时,它显示:无法创建 Java 虚拟机并且程序退出。

网上搜索似乎这是一个常见问题,也许必须更改 .ini 文件?大家有成功的经验吗?

I am trying to install Aptana studio 3 on a winXP machine.Alothough it has Java installed (verified by java -version in command line) when I run Aptana it says : Failed to create Java Virtual Machine and program exits.

Searching the web seems this is a common problem and .ini file has to be changed maybe? Anyone has a successful experience?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

挥剑断情 2024-12-11 13:54:32

到目前为止,我还没有完美的调整,但我确实设法让它运行并通过阅读一些与 Eclipse 相关的好答案来延迟崩溃:

Eclipse 的最佳 JVM 设置是什么?

还有这个(虽然是关于 win7 64):

Eclipse 的最佳 JVM 设置是什么在 Windows 7 64 位上?

这让我想到了这一点:

http ://blog.juma.me.uk/2008/10/14/32-bit-or-64-bit-jvm-how-about-a-hybrid/

您需要进入AptanaStudio3 目录并将 AptanaStudio3.ini 文件更改为更适合您的系统和 JRE 版本的 JVM 设置。对于像我这样没有 Java 编码背景的人来说,我猜你也是这样,这是非常不直观的。因此,遵循指南非常有必要,而且由于似乎没有特定于 aptana 的指南,因此最好遵循 eclipse 的指南,因为 aptana 是基于 eclipse 代码库构建的。

我会特别尝试更改设置,例如“-Xmx”、“-Xms”,谁知道呢,甚至可能尝试“--XX:+UsecompressedOops”(不是“答案”,只是似乎对某些人有用其他 stackoverflow 用户,尽管使用不同的 Windows 配置)。

I don't have the perfect tweaks as of yet, but I did manage to get it to run and delay its crashes by reading a few good answers related to Eclipse here:

What are the best JVM settings for Eclipse?

And this (though it's about win7 64):

What are the best JVM settings for Eclipse on windows 7 64 bit?

Which led me to this:

http://blog.juma.me.uk/2008/10/14/32-bit-or-64-bit-jvm-how-about-a-hybrid/

You need to go into the AptanaStudio3 directory and change the AptanaStudio3.ini file to JVM settings that work better for your system and version of JRE. For someone like me, and I'm guessing you, who has no Java coding background, this is extremely unintuitive. So it's pretty much necessary to follow a guide and since there don't seem to be aptana-specific guides, it's best to follow along with the eclipse ones, since aptana is built off the eclipse code base.

I'd try in particular to change the settings, e.g. "-Xmx", "-Xms" and who knows, maybe even try the "--XX:+UseCompressedOops" (not an 'answer' just seems to have worked for some other stackoverflow users, though on different windows configs).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文