NSIS Eclipse插件无法正常工作 [英] NSIS Eclipse plugin not working

查看:57
本文介绍了NSIS Eclipse插件无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Eclipse靛蓝和Windows 7下使用NSIS eclipse插件.我使用eclipse插件管理器将NSIS插件安装在eclipse中.

I want to use the NSIS eclipse plugin under eclipse indigo and windows 7. I installed the NSIS plugin in eclipse with the eclipse plugin manager.

当我单击File-> New-> Other-> EclipseNSIS_Script时,出现错误:

When I click File->New->Other->EclipseNSIS_Script I get the error:

EclipseNSIS在Windows 7上仅支持以下VM:
1. Sun版本1.4x,5.x,6.x
2. IBM版本1.4x
3. BEA版本1.4x和1.5x

EclipseNSIS only supports the following VMs on Windows 7:
1. Sun Version 1.4x, 5.x, 6.x
2. IBM Version 1.4x
3. BEA Version 1.4x and 1.5x

此后,我又收到一条错误消息:

After that I get another error message:

问题打开向导.无法启动所选向导.插件net.sf.eclipsensis无法加载类net.sf.eclipsensis.wizard.NSISScriptWizard.发生错误时自动激活捆绑包net.sf.eclipsensis(755).

Problem opening wizard.The selected wizard could not be started. Plug-in net.sf.eclipsensis was unable to load class net.sf.eclipsensis.wizard.NSISScriptWizard. An error occurred while automatically activating bundle net.sf.eclipsensis (755).

我将Eclipse中的Java版本更改为java5和java6.
我在系统路径"变量中设置了Java版本.
没有任何效果.我仍然遇到相同的错误.

I changed the Java version in Eclipse to java5 and java 6.
I set the Java version in the System Path variables.
nothing worked. I still get the same error.

有什么想法吗?

推荐答案

我在使Java在Eclipse和NSIS插件上表现良好时遇到了问题,但最终的解决方案是使用Sun v6并指定javaw的路径.使用eclipse.ini文件(与eclipse.exe在同一文件夹中)中的-vm参数指定exe文件.

I had problems getting Java to behave nicely with Eclipse and the NSIS plugin but the solution in the end was to use Sun v6 and specify the path to the javaw.exe using the -vm argument in the eclipse.ini file (which is in the same folder as eclipse.exe).

这是我的eclipse.ini的样子:

This is what my eclipse.ini looks like:

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:/Progra~1/Java/jre6/bin/javaw.exe
-vmargs
-Xms40m
-Xmx384m

这篇关于NSIS Eclipse插件无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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