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.
When I click File->New->Other->EclipseNSIS_Script I get the error:
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:
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).
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.
any ideas?
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).
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With