How to use Eclipse as a Javascript IDE?

I downloaded the Eclipse Javascript IDE from the official download page, however, when I launch the application, it says: "Java Runtime Environment or Java Development Kit must be available to run eclipse." I already have a java IDE copy of the eclipse that works fine, so I donโ€™t understand why it asks for another JDK.

I just want to develop Javascript in Eclipse, does anyone have any ideas how to do this? Are there any special tools or plugins I need to get to get it working?

+7
source share
3 answers

For a better JS / HTML / CSS experience, I recommend you use Aptana as a plugin. You can download it here http://www.aptana.com/products/studio3/download Be sure to check the version of the Eclipse plug-in.

+1
source

Perhaps another copy of eclipse uses the -vm variable in the eclipse.ini file, so it works correctly. Make sure JAVA_HOME is in your environment variables or add the -vm configuration to the eclipse.ini file.

For more information, see this link: http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F

+5
source

Check the version of the installed runtime. You can upgrade or downgrade (i.e. if JDK 7, then try JDK 8 and vice versa, you can even try JDK 6) and see if it works.

In Ubuntu 14.10, open JDK 7 did not help me, but the older (open JDK java 6 runtime) and the newer open JDK Java 8 helped me.

0
source

All Articles