aspose file tools*
The moose likes EJB and other Java EE Technologies 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
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
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: 162

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: 39865
    
  28
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: 39865
    
  28
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: 39865
    
  28
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
Thomas Taeger
Ranch Hand

Joined: Dec 16, 2002
Posts: 311
Today (2014-08-31) the same problem persists with
java_ee_sdk-7-jdk7-windows-x64-ml.exe (JavaSE deinstalled)
as well as with jdk-8u20-windows-x64.exe (JavaSE),
both downloaded today.
System: Win 7 Ultimate 64bit, autoupdating
Thomas
PS:

I agree. Here's the link: http://aspose.com/file-tools

This Link does not help at all.


www.classic-and-class.com - www.evalulearn.com
Interfaces are the glue of OO.
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3739
    
  16
Thomas Taeger wrote:
PS:

I agree. Here's the link: http://aspose.com/file-tools

This Link does not help at all.

That's because that's an advert. Notice how it's format is different to the other posts. If you don't like it, read this thread before you complain.


Joanne
Vasilis Souvatzis
Ranch Hand

Joined: Mar 23, 2014
Posts: 43

You need the 32bit version of the JRE. If I recall correctly, I had the exact same problem when I was trying to install JavaEE anf by installing the x86 JRE I managed to get JavaEE working.


Netbeans 8.0.1 - JavaEE 7 - Glassfish 4.1
Thomas Taeger
Ranch Hand

Joined: Dec 16, 2002
Posts: 311
Vasilis Souvatzis wrote:You need the 32bit version of the JRE. ....

For a 64 bit Windows - strange - but thanks a lot!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set up a Java EE development environment