I just installed Eclipse at home, so I can program servlets. But it seems that I don't have the new Web applciation option, and many others.
Anyone knows what's the problem ? I install it first in Program Files then on C:\. Still the same problem.
Btw, I am using Windows XP, with Eclipse Helios Service Release 2.
Did you download the version that includes WTP (Web Tools Platform). If not you will have to add the appropriate features.
Which version of Eclipse did you download? There are several different distributions (Eclipse Classic, Eclipse for Java Developers, etc.). You should make sure you downloaded the "Eclipse IDE for Java EE Developers".
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliossr2
To program servlets you need Eclipse for Java EE developers, and DON'T forget a server like Apache Tomcat, or Glassfish, which I guess are not included with the original package of eclipse.
Personally I have manage to install Tomcat separately from Eclipse and then link it with the IDE. There are plenty of tutorials on youtube:
http://www.youtube.com/watch?v=IX8xb-suzVg
http://www.youtube.com/watch?v=EOkN5IPoJVs
Related
I've been wondering how am I supposed to get Eclipse Java EE IDE for web developer.
I installed Neon Eclipse a month ago to do my core Java course and I'm starting on my Servlets and JSPs: Creating Web Application.
But I am unsure on how in doing it. My current neon eclipse only enable me to choose this option as shown below.
Based on my online tutorial courses, I need to get this information when creating a file from eclipse. But my neon eclipse doesn't have the option that allows me to.
Do I need to download a new eclipse specially for Java EE IDE web developer? If yes, which should I be downloading? E.g luma or etc etc. Will it overwrite my current eclipse program that I have on my computer for my core Java? I am afraid that my current eclipse program will get affected.
Thanks in advance. Sorry, I'm new and unfamiliar with the software and how in doing it.
Eclipse IDE is extensible or modular. If you didn't get the Java EE version initially, you can simply install into your existing IDE the support for Java EE. To do so, go to Help > Install Software... , on the installation dialog, show the Neon repository and find ymthe various extensions related to Java EE and Web development. Select them and click install. Upon restart, you'll get the Java EE support there.
So I am watching a tutorial about how to configure JSF in eclipse. I understand that you click file -> new -> Dynamic Web Project.
And then it gives you a few options. The Target Runtime will be (for me) Apache Tomcat version 8, and dynamic web module version will be 3.0. And in the configuration drop-down you are supposed to see Java Server Faces 2.0v or 2.1v, but I do not have that option.
Does anyone know why?
That can happen if you started with plain "Eclipse IDE for Java Developers" instead of with "Eclipse IDE for Java EE Developers" and then manually added some plugins on it. Throw away your current Eclipse install and restart clean with "Eclipse IDE for Java EE Developers".
If you dont see the JSF options, then its not part of your original eclipse version. In that case, you need to download the extra tools that you want. Go to Help -> Install New Software and then type the following URL in the box http://download.jboss.org/jbosstools/updates/stable/kepler This URL is for Kepler version of Eclipse. You need to change it according to your eclipse version. jBossTools have JSF features. Restart the eclipse once the s/w is installed successfully.
I have downloaded Java EE 7. My question is what plugins should I download to make ECLIPSE working as good as it is possible with JAVA EE 7?
I mean I am new to servlets and JSP I have to be able to create Project that has all required files folders etc (Like when I create ordinary Java project in Eclipse).
I know my question is not to specific but in general:
I want to have all my files in one project (Like in ordinary Java project in ECLIPSE)
I want deploy it in easy way
What plugins I have to install on Eclipse to achieve this?
I am using TOMCAT server but when I installed JAVA EE 7 it installed GLASSFISH which one use?
The easiest way to build Java EE projects is to download new Eclipse IDE for Java EE Developers which is available here
Eclipse for Java EE Developers is everything what you need for your beginner projects. There is no point to look for anything else for your purposes in my opinion.
You can use tomcat or glassfish for your projects. You can configure it by yourself in Eclipse.
To do this go to menu bar.
Window/Show view/Other/type "server" than press OK
New window will show up with link "No servers are available. Click this link to create a new server"
New windows will appear where you can add server of your choice. Personally I prefer Tomcat.
If you have problems with it find beginners movies on youtube where you can easily find how someone else creates java ee projects in eclipse.
Hope that make sense for you.
Most of the plugins work in Java EE 7. To deploy it you can use an Ant File and can use any server (Tomcat, Glassfish, Jboss...).
Maybe, Git plugin will be useful to save your code in the cloud.
Not need to any plugin if you download java EE 7 jsp and servlet are standard for javaEE and when you create new jEE project it will contain all your folder as java standard with additional folder as web.xml and web-inf which contain your jsp pages ,you can user Maven to manage your project and i advice tomcat as server with jEE
I need to get a local setup of Java working so I can start coding locally and doing builds.
I know that Java is built into macs automatically. I am running version 1.6.0_22
I found an article on how to install tomcat:
Tomcat on a Mac
I got the Tomcat server running to where i can see the default Tomcat Page.
Started to dig deeper but hit a huge wall on getting to a point where i could use an IDE to get coding.
I downloaded Eclipse for the mac (because it was free and seemed to be the more popular one out there)
So where do i need to go from here to get a working environment to test code from our svn?
Any good articles that i can read. It was hard to find some (recent) documentation on how to get this working on a mac.
Which version of Eclipse did you download? I'm guessing you downloaded Eclipse IDE for Java Developers, which doesn't have the nice WTP stuff that you probably want.
You'll need a heavier flavor of Eclipse, like Eclipse IDE for Java EE Developers. I'm not sure if there's a lighter (in-between) flavor that has WTP, etc., without all the Java EE stuff.
Assuming you have some sort of SVN client and know how to create a trunk on your local machine, do that, and then all you have to do from there is open the java project in that trunk within Eclipse. Once you have that open, on the Eclipse toolbar just build your code, make sure that works, and then run it in the same fashion.
How do I install Eclipse Web Developer Tools using the dropin folder?
What do I need to download?
This is for Eclipse 3.6 Helios.
If you really do not want to use the Eclipse IDE for Java EE developers 'edition' which comes with web developer tools bundled you will find instructions on this page. You can download the necessary packages and the prerequisites from here.