Meaningless Drivel is fun!*
The moose likes Java in General and the fly likes How to set up a Java EE development environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to set up a Java EE development environment" Watch "How to set up a Java EE development environment" New topic
Author

How to set up a Java EE development environment

B Bruce
Greenhorn

Joined: Mar 01, 2012
Posts: 4

I want to set up a Java EE dev environment, and so I downloaded
Java Platform, Enterprise Edition 6 SDK Update 3 (with JDK 7).

When I try to install it, I get the message:
Error: Could not find the required version of the Java(TM) 2 Runtime Environment in 'null'.

There are no options/wizard.

if I type in java -version at the command prompt, I get:
java version "1.6.0_20", which came pre-installed on my Windows 64-Bit machine.

if I type in javac -version at the command prompt, it doens't recognise it. (I suppose javac is not installed.)

What do I need to do?

Thanks
Alan Smith
Ranch Hand

Joined: Oct 19, 2011
Posts: 152

Download Netbeans for Java EE developers. Comes packed with Tomcat and Glassfish as well which is very handy.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37890
    
  22
Welcome to the Ranch

How did you set your PATH? Start with this FAQ.
B Bruce
Greenhorn

Joined: Mar 01, 2012
Posts: 4

@ Alan Smith:
Thanks for the suggestion.
However, it doesn't come with Java itself does it?

@ Campbell Ritchie:
Thanks!
It seems that FAQ sets paths to the JDK installation after its installed.
I can't even install it.
I click the download, and it starts installing, but then shows the error message.
Am I using the wrong install file?
Can I set paths before installing?
Should I reinstall the JRE?
Do I need javac installed?

I ask all of this because I really don't know where to start.

Thanks again.





Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37890
    
  22
Welcome to the Ranch (if you haven’t been welcomed already).
No, don’t install the JRE; you don’t need that, because all its components are already in the JDK.
It can do no harm to reinstall the JDK; you might as well use JDK7u3. That includes javac.
Have a look at this thread and see whether there is anything useful there (there might be nothing useful for you).
I presume you have administrator privileges, etc etc.
What sort of error messages are you getting when you try installation?

Sorry I can’t help any more at present.
B Bruce
Greenhorn

Joined: Mar 01, 2012
Posts: 4

@ Campbell Ritchie:
The link you provided to JDK7u3....is that for the Enterprise Edition jdk?
I need EE.
Thanks
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37890
    
  22
No, that was the standard edition. I suggest you get that working before upgrading to EE.
B Bruce
Greenhorn

Joined: Mar 01, 2012
Posts: 4

Someone suggested to me that it might be because of the Windows version I'm using
Lo and behold, its Windows 7 Home Premium.
Could that really be?
@Campbell Ritchie: I'll try SE first.
Thanks
 
wood burning stoves
 
subject: How to set up a Java EE development environment
 
Similar Threads
Java Beginner
Installing Java and setting up variables path
'javac' is not recognized as an internal or external command
error installing Eclipse Helios
Java ee Servlet does not work - error 404