Closed karan-kapoor90 closed 10 years ago
Figured out the issue through SO. I was running on java version 1.6. Updating to any version over 1.7 fixed the issue.
Please share link to SO question
The SO link is - http://stackoverflow.com/questions/21340527/nodeclipse-unable-to-run-even-the-simplest-app
and its reference link is - https://github.com/Nodeclipse/nodeclipse-1/blob/master/org.nodeclipse.help/contents/run.md#running
However I would like to mention that I did not uninstall anything but the old java version. I just uninstalled the old java version, installed the latest JDK, fixed environment variables and restarted!
Thanks for all that info.
I just uninstalled the old java version, installed the latest JDK,
BTW, It is possible to have several Java JDK in a system and tell eclipse in eclipse.ini
which one to use
mark as duplicate of #72
It reads -Dosgi.requiredJavaVersion=1.6
in eclipse.ini (hidden within Eclipse.app bundle in macosx). Does it mean it uses java 1.6 when 1.8 was installed on this system?
https://wiki.eclipse.org/Eclipse.ini
@nodeleaf Please create new issue if to continue
Thanks Paul. I am aware that we can have multiple JDK's installed. Checking the java version on cmd gave me the new version but nodeclipse was still using the old version. So instead of changing, and for purposes of not untidying the system, I thought it'd be better to have just one version.
Thanks for all the help.
see #179
Hi
I've tried with both, eclipse Luna 4.4.1 and the latest version of Enide studio. Applications that I create using either of these IDE's don's run. When I right clink on the main .js file and choose to run as a node application, the console heading changes to "
-app.js [Node Application] Node.js Process
" . Basically the http server in the process doesnt start. I manage to run the same application successfully from the command prompt.I'm running on windows 7, with node version 0.10.24 installed on my machine. Applications started from the command prompt work just fine.
Contents of the IDE log are as follows: