JVM:无法打开
错误 - JVM - BlackBerry 9800 模拟器 --------------------------------------- JVM:无法打开 C:\Users\Bayron.Tellez\Downloads\eclipse-java-helios-win32\eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.29\components\simulator\Java\net_rim_bis_lib.cod
我的朋友安装了带有 Blackberry 模拟器的 Eclipse。我假设它是便携式安装,因为我们从未被提示安装。
现在,他将其压缩并复制到我的机器上,运行时我收到了上面的错误。显然这是因为它试图在我的朋友目录中查找某些内容。我怎样才能将其更改为我的路径?
我的路径是:
C:\Eclipse\eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.29\components\simulator\Java\net_rim_bis_lib.cod
在哪里更改它?
Error - JVM - BlackBerry 9800
Simulator
--------------------------------------- JVM: could not open
C:\Users\Bayron.Tellez\Downloads\eclipse-java-helios-win32\eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.29\components\simulator\Java\net_rim_bis_lib.cod
My friend installed Eclipse with the Blackberry simulator. I'm assuming it was a portable installation because at no point we were prompted to install.
Now, he zipped it up and copied it to my machine when running I receive that error above. Obviously it's because it's trying to look for something on my friends directory. How can I change it to my path?
My path is:
C:\Eclipse\eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.29\components\simulator\Java\net_rim_bis_lib.cod
Where do I change this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
发生此错误的原因是您的模拟器之前已加载应用程序。删除它们可以解决您的问题。
如何删除模拟器上已安装的 Java 程序?
引自重置和清理黑莓模拟器:
您是否厌倦了黑莓模拟器上为您测试过的每个 HelloWorld 和演示项目提供一百万个图标?尝试从模拟器中删除旧程序并从干净的功能区开始。从命令行浏览器进入 rim jde 目录,切换到模拟器子目录并运行 clean.bat。该程序花费的时间比您预期的要长(在我的 3 GHz 机器上大约需要 30 秒左右)。
更新
还要从模拟器文件夹中删除所有 [应用程序名称].cod|cso|debug|jar 文件还要确保您不需要的项目在模拟器上不处于活动状态并且不在构建配置中。
This error occurse cause your simulator have previously loadded application. Removing them solve your problem.
How to remove installed Java programs on the simulator?
Quote from Reset and clean the blackberry simulator:
Are you sick of having a million icons on your BlackBerry simulator for every HelloWorld and demo project you have every tested? Try this to remove old programs from the simulator and start with a clean ribbon. From the command line browser to your rim jde directory, switch to the simulator sub directory and run clean.bat. This program takes longer than you would expect (about 30 seconds or so on my 3 ghz machine).
UPDATE
Also delete all [app name].cod|cso|debug|jar files from simulator folder Also make sure projects you don't want on simulator are not active and are not in build configuration.
最好自己安装它,而不是从朋友的机器上复制它。
但你可以尝试一下。
转到您的 eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.29 目录并检查这些文件中是否包含此路径:
或者您可以 grep 查找插件目录中的问题路径,并将其替换为更新的路径。
It will be better you install it yourself frsh rather than copying it from friends machine.
But you can give it a try.
Goto your eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.29 directory and check do on of these files contain this path:
Or else you could grep for problem path in your plugin directory and replace same with updated path.
虽然不建议运行 Eclipse 的副本,但有一种非常简单的方法可以解决此类问题:运行位于模拟器文件夹中的 clean.bat 文件。特定组件包版本文件夹。该文件的路径如下所示:
PATH\plugins\net.rim.ejde.componentpack[BlackBerry version]\components\simulator\clean.bat
我认为这样就可以了。
尽管如此,安装新版本仍然是最好的选择。
Though it is not advisable to run a copy of eclipse, there is a very simple way for one to solve such a problem: it is by running the clean.bat file that is in the simulator folder of the specific component pack version folder. The path to that file would look like this:
PATH\plugins\net.rim.ejde.componentpack[BlackBerry version]\components\simulator\clean.bat
I think that would do.
Still, installing a new version is the best option.
这应该就是全部了。
That should be all.
您可能还想检查文件 Settings.rc,
在文件夹中找到
PATH\plugins\net.rim.ejde.componentpack4.6.1_4.6.1.49\components\bin
首先你有一个 Eclipse 安装的路径,然后是你尝试运行的相应模拟器。
希望这有帮助,
You may also want to check file Settings.rc,
found in the folder
PATH\plugins\net.rim.ejde.componentpack4.6.1_4.6.1.49\components\bin
first you have a path to your eclipse installation, and then corresponding Simulator you are trying to run.
hope this helps,
您可以从
xml.manifest
更改所有.cod
文件的早期安装路径例如:
然后删除
[BlackBerry 模拟器版本].xml.manifest.bin< /代码> 文件。
现在应该可以工作了。
You can change the early installed paths of all
.cod
files fromxml.manifest
Eg:
Then remove the
[BlackBerry simulator version].xml.manifest.bin
file.Now it should be work.
我建议不要从其他人的安装副本运行 eclipse。这可能包含许多特定于安装的文件,这些文件不太可能与您的计算机匹配。
为什么不自己安装它,然后安装 Blackberry Java Developer 插件呢?它位于 http://na.blackberry.com/eng/developers/javaappdev/ devtools.jsp
I would suggest not running eclipse from a copy of someone else's installation. This will probably contain lots of installation-specific files which are unlikely to match your machine.
Why not install it yourself, then install the Blackberry Java Developer plugin? It's available at http://na.blackberry.com/eng/developers/javaappdev/devtools.jsp