了解JVM Eclipse正在运行 [英] Find out what JVM Eclipse is running on

查看:151
本文介绍了了解JVM Eclipse正在运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试调整我的Eclipse安装并碰到-vm选项。 SO的其他帖子提到,总是使用最新的JVM可用,因为它们在性能方面不断改善,所以我很有可能这样做。我想知道如果您没有指定-vm参数,您可以如何找到JVM Eclipse运行的方式。

I'm currently trying to tune my Eclipse installation and bumped into the "-vm" option. Other posts on SO mentioned that it's good to always use the latest JVM available because they keep getting better in terms of performance, so I'm likely to do that. I was wondering though how you could find out what JVM Eclipse runs on if you are not specifying the "-vm" parameter.

我在文档中找到以下内容,但是不明确如何查找JVM:

I found the following in the docs but that doesn't clarify how it will look for a JVM:


当传递给Eclipse可执行文件时,此选项用于查找Java VM用来运行Eclipse。它必须是适当的Java可执行文件的完整文件系统路径。 如果未指定,则Eclipse可执行文件使用搜索算法来找到合适的VM 。无论如何,可执行文件将使用-vm参数将路径传递到用于Java Main的实际VM。 Java Main然后将此值存储在eclipse.vm中。

when passed to the Eclipse executable, this option is used to locate the Java VM to use to run Eclipse. It must be the full file system path to an appropriate Java executable. If not specified, the Eclipse executable uses a search algorithm to locate a suitable VM. In any event, the executable then passes the path to the actual VM used to Java Main using the -vm argument. Java Main then stores this value in eclipse.vm.


推荐答案

实际上,Windows->首选项 - > Java->安装不会显示一个Eclipse运行,但只有默认的JRE它运行的东西下。

Actually, Windows->Preferences->Java->installed doesn't show you the one Eclipse runs under, but only the default JRE that it runs things under.

要看到一个Eclipse正在运行在帮助 - >关于Eclipse平台 - >配置详细信息,并查找属性eclipse.vm。

To see the one Eclipse is runing under, go to Help->About Eclipse Platform->Configuration Details, and look for the property eclipse.vm.

例如:

eclipse.vm = C:\Program Files\Java\jre6\bin\client\jvm.dll

eclipse.vm=C:\Program Files\Java\jre6\bin\client\jvm.dll

这篇关于了解JVM Eclipse正在运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆