Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How use Eclipse as a Javascript IDE?

I downloaded the eclipse Javascript IDE from the official download page however, when i start the application it says "A Java Runtime Environment or Java development Kit must be available in order to run eclipse." I already have a java IDE copy of eclipse that runs fine so I don't understand why its asking for another JDK.

I just want to develop Javascript in Eclipse, does anyone have any idea how to? Are there special tools or plugins i'm meant to get to get it to work?

like image 258
Zeeno Avatar asked Jul 12 '11 08:07

Zeeno


2 Answers

Maybe other copy of eclipse use -vm variable in eclipse.ini file, therefore, it work correctly. Make sure you have JAVA_HOME in Environment Variables or add -vm configuration into eclipse.ini file.

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

like image 94
Tu Tran Avatar answered Oct 13 '22 11:10

Tu Tran


For best experience doing JS/HTML/CSS I recommend you using Aptana as plugin. Here you can download it http://www.aptana.com/products/studio3/download Be sure to check Eclipse Plug-in Version option.

like image 38
Ivan Ivanic Avatar answered Oct 13 '22 13:10

Ivan Ivanic