| 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: 150
|
|
|
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: 32712
|
|
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: 32712
|
|
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: 32712
|
|
|
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
|
 |
 |
|
|
subject: How to set up a Java EE development environment
|
|
|