How to make "Eclipse for Java developers" include Javascript capabilities? - eclipse

I'm new to Eclipse, and have the following question:
I would like to use Eclipse to program java and javascript. I went to eclipse.org and downloaded "Eclipse for Java Developers", though there was also an option to download "Eclipse for JavaScript developers".
So the question is: How do I extend my "Eclipse for Java Developers" to include the JavaScript capabilities included in "Eclipse for JavaScript developers" ?
Is that even possible ?
Thank you !

Install Eclipse's WTP (Web Tools Platform) using the update site featured on the following page: http://download.eclipse.org/webtools/updates/.
To do this, you should:
1) Open up the software updates dialog (Help -> Install New Software...);
2) Click the 'Add' button;
3) Enter a suitable name (WTP), and the aforementioned URL;
4) Select whichever releases of WTP you would like to install;
5) Press 'Next' and follow the rest of the instructons.
(Note: The WTP update site may already be in the list of available sites in the Available Software dialog, so you should probably check before installing from scratch.)

welp's answer is the best approach.
You can overlay an Eclipse download over another Eclipse download. I do this to get the Java EE Eclipse and the source code for Eclipse.
You answer "No for all" when your unzip program asks you if you want to overlay files.

You can also start from Enide and install using update site, install button or p2f file.
Any plugin that depends on JSDT (e.g. Nodeclipse, JSDT-EXTJS, JSDT-jQuery, AngularJS-Eclipse) will be installed together with JSDT.

I know that this question is old but there are some news regarding the JavaScript (or let's say the direct web development in general) development in eclipse:
http://eclipse.org/orion/

Related

How to add HTML Editor to Eclipse?

I just upgraded to Eclipse Kepler, the non-J2EE version. The HTML Editor is missing. I read elsewhere that I could install the "Web Page Editor", which I did, but the system now generates all kinds of errors when building my project. Apparently it can't find some JSF classes. I have no interest in using JSF.
The Web Page Editor install did include the HTML Editor, but it was so much trouble I had to uninstall. How do I get my old HTML Editor back?
Alternatively, you can just install the "HTML Editor" from the WST package (the same one provided in Java EE Edition) in Eclipse 4.x, just by looking for "HTML Editor" in the marketplace (but, indeed, i haven't been able to found it in the "install new software").
On my side i prefer to work on Eclipse "Java Edition" most of the time (just adding the few additionnal features i really need).
Go to Install New Softwares-> Select your version eclipse repo. eg Mars - http://download.eclipse.org/releases/mars -> Expand Web,XML, JAVA EE option -> Install Eclipse Web Developer Tools
I have used CodeMix for a while and it's a wonderful tool, it can easily install as a plugin and a wide tools will be available like HTML Validation, Emmet, CSS IntelliSense, Snippets, take a look in this site https://www.genuitec.com/sox/tech/html5-with-codemix/
I had a similar issue once, and I tried a HTML editor addon for eclipse, but haven't found one that's any better than the one that comes with the Java EE edition of eclipse.
I suggest you download the Eclipse IDE for Java EE Developers.
You may want to install Eclipse Web Developer Tools
Bet you after edit HTML you will have to edit CSS and JavaScrip too

I don't have "Dynamic Web Project" option in Eclipse new Project wizard

I have download the Eclipse IDE for Java developer, HELIOS. I click 'File -> New -> Project...', but I only have "General, CVS, Java project, Examples". I would like to be able to create "dynamic web project", why do I not have this option?
I searched from internet, and the reason is probably I don't have Eclipse Web Development Tools, but how can I get it?
-----------EDIT-----------
I know by install Eclipse IDE for Java EE developer can solve the problem. But, I am working under Linux Ubuntu, how to get Eclipse Java EE version for Ubuntu Linux machine?
Not all of them are required (I think), but after installing the components listed below I got the "Dynamic Web Project" template added to my Eclipse (Indigo). The list is:
Eclipse Java EE Developer Tools
Eclipse Java Web Developer Tools
Eclipse Web Developer Tools
Eclipse XML Editors and Tools
You can install those packages by clicking on "Help" > "Install New Software", selecting the repository that corresponds to your Eclipse build (i.e http://download.eclipse.org/releases/indigo for Indigo). The packages are grouped under "Web, XML, Java EE and OSGi Enterprise Development".
I think you need the Web Tools Platform package for this. Not very sure though. You can add it to your current eclipse through Help > install new software.
Then add the software repository site location for WTP for your version of eclipse. This is how you can install plugins in eclipse.
"http://download.eclipse.org/releases/kepler"(If you have Eclipse Kepler)
Based on your eclipse choose above link and copy in
help>Install new software
paste in "work with" click add
give any name you want - plugin
In the list select>"Web, XML, Java EE and OSGi Enterprise Development">Eclipse Java EE
Developer Tools. select and install it.
After restart you will have your Dyanmic web project option.
Thank You.
Like me if it worked please
You only need to install
Eclipse Java EE Developer Tools
and you will be able to see "Dynamic web project" wizard.
Download Eclipse IDE for Java EE Developers, everything you need should be included inside. This is the most painless way of obtaining Web Development Tools.
If you want to leave your existing Eclipse IDE, you can go to 'Help -> Install New Software' and find WDT to install them, although I haven't personally tried to go this route, so I can't guarantee everything will work out of the box.
Edit: not sure if it's included in Ubuntu's repository. One other way to do it is to download Linux 32-bit (or 64-bit, depending on your machine) version of Eclipse EE, but you'll have to check if it's the source you have to compile yourself, or an already compiled binary.
Fwiw, I downloaded the standard Java EE version of the Mars version of Eclipse, and ran into the same deal -- didn't see a Web option if I tried File >>> New >>> Project wizard.
The good news: Probably no extra installation needed.
It looks like what I wanted was to select the Other option rather than the Project item (strangely this is what comes up when you hit Ctrl-N, but that also lets us know we're probably on the right track):
After you select "Other", you'll see the "Select a wizard" screen, where you can select "Dynamic Web Project" and profit.
HELP
Install New Software
In Work With input box paste this url: http://download.eclipse.org/releases/{version}/
Replace version with your eclipse's version (eg: LUNA)
Hit enter
Underneath box will have different options, select package of your need.
Maybe Eclipse WTP plugin has been accidently removed. Have you tried re-installing WTP using this location ? If I were you I would have reinstall Eclipse from strach or even better try Spring ToolSuite which integrates with Google Plugin for Eclipse seamlessly (usign Extenstions tab on STS Dashboard)
Just download any eclipse with "EE" letters
I had a similar problem, you may find that going to the top right corner of your page in Eclipse and click "Java EE" instead of "Java" will solve your problem. I had EE installed correctly like you, and this solved the issue for me. Hope I helped :)
Go to Eclipse --> Help
and click--->Install new software
then you can see a window ...There a click add
Then put below url in url box: http://download.eclipse.org/webtools/repository/juno/
i am having juno
if u have any other means put that name .
then click ok.
Make sure to check dynamic web app in "other section" i.e File>New>Other>Web or type in "dynamic web app" in your wizard filter. If dynamic web app is not there then follow following steps:
On Eclipse Menu Select HELP > INSTALL NEW SOFTWARE
In work with test box simply type in your eclipse version, which is oxygen in my case
Once you type in yur version something like this "Oxygen - http://download.eclipse.org/releases/oxygen"will be recommended to you in drop down
If you do not get any recommendation then simply copy " http://download.eclipse.org/releases/your-version" and paste it. Make sure to edit your-version.
After you Enter the address and press enter bunch of new softwares will be listed just ubderneath work with text box.
Scroll, find and Expand WEB, XML, Java EE .... tab
Select only these three options: Eclipse Java EE Developer Tools, Eclipse Java Web Developer Tools,Eclipse Web Developer Tools
Next, next and finish!
The easiest way to handle this is to install the full package installer with all weblogic add ons from the oracle site. This will install eclipse with all the features/plug ins you need.
http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-network-installer-2371168.html
This helped me find the "Dynamic web project" in Eclipse 2020-12 version. Restart the eclipse and go to file->new->other->web and you will see
project will be available.
This option might be missing because more than one and other than Tomcat runtime is selected. At the marked spot I was shown that I have selected Java JDK runtime. After unselecting it Dynamic Web Module reappeared.

adding software components to eclipse

I have an eclipse installation from the "Eclipse for PHP Developers" package and I want to "extend" it to have in addition to the PHP components all the components of "Eclipse IDE for Java EE Developers".
but the Feature Lists in the above links do not match the items I am presented when I choose "Install new software..." from the eclipse help menu.
Is there anything I can do about this?
the result of copying plugins/features into that folder is not that predictable and hence not safe. Eclipse adviced to install plugins via "Install new Software" - it will tell you about conflicts (like different plugins use different version of another plugin" etc; or you need to install another plugin etc.) Otherwise I had situations when it didn't work and I got no idea why (had to read logs to figure it out).
Well, to install new plugin you have few possibilities:
1) "Install new Software" - you already tried it. Take into account that the list of plugins by default is limited here. But below the button "Add..." you can see "Available Software Sites" - this list is enhanced, and some of plugins you can find here". UPDATE: the process of installation is described here
2) With new Eclipse (Helios) you got new way to add plugins, so called Eclipse Marketplace (Help/Eclipse Marketplace...). This is recommended way to look and install new plugins.
Back to your problem - I think it is much more easier to download Java IDE for Java EE Developers, and install PHP Development Tools there. In Marketplace I selected Yoxos as source, typed "pdt" and found plugins related to PDTs (although I'm not sure there are all parts of it)

Eclipse, how to combine 2 editions

I'm using the PHP edition of Eclipse, but was told that I also need the Java EE edition. I'd like to install them both in the same install (single launch) and not have to open 2 editions in parallel. Is there a way to easily get this done? I'm new to eclipse, so detailed instructions are welcome.
I would do it the other way around: first install Eclipse IDE for Java EE developers and then add the PHP Development Tools (PDT) from the update site (instructions here).
This should be pretty straightforward. Download one edition, then have it install the plugins comprising the other. This is done via Install New Software in the Help menu; first time out you will need to hit the Add button and tell it about the update site URL for the plugin set you want to install. You can find the update site URLs via the main Eclipse website.
It looks like the Java EE version is a superset of the PHP one, at least for things mentioned in this chart...
http://www.eclipse.org/downloads/packages/compare-packages
So, I would start with Java EE. Check the plugins and features and use the Help->Install dialog to add any new plugins you want.
In your case, I would start with the "Eclipse IDE for Java Developers" and then add those plugins needed for PHP. From this chart, it looks like you'll need to add Webtools and the PDT.

Eclipse Java EE plugin

I want an Eclipse Java EE plugin which I can install directly from Eclipse.
I searched about it on Google and found some ones but couldn't figure out how to download them directly from Eclipse.
One plugin I found was WTP but couldn't find the location of the WTP repository that I can enter in the Eclipse's Software Update tool.
I am using Eclipse 3.4.2 (Ganymede)
I warmly suggest to install Eclipse IDE for Java EE developers which already includes the Web Tools Platform (WTP) and much more (see this page for a full comparison).
As an alternative, you can download a zip of the Web Tools from here or install it via Update Manager using this URL:
http://download.eclipse.org/webtools/updates/
If you have Eclipse Galileo you should go to Help > Install New Software. Then the list of available sites to install updates will appear. You should add the WTP plug-in to this list, for example.
To do this, click on Add and enter the name and location (you can get this from the WTP site). Then, select this plug-in and click on Finish. That's it and it's valid to all plug-ins.
when you are searching do a comprehensive search http:// in eclipse
Google search the repository containing Java EE WTP
Install the new software in your IDE, restart your IDE, right click under the project explorer view, select new, the option for creating a dynamic web project should now be available. I did it using the luna version of eclipse which dose not have the default and now have the option.
Use
help---install new software--type http://findbugs.cs.umd.edu/eclipse
And go from there