Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set up a Java EE development environment

 
B Bruce
Greenhorn
Posts: 4
Firefox Browser Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 185
Firefox Browser Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Download Netbeans for Java EE developers. Comes packed with Tomcat and Glassfish as well which is very handy.
 
Campbell Ritchie
Sheriff
Pie
Posts: 50241
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

How did you set your PATH? Start with this FAQ.
 
B Bruce
Greenhorn
Posts: 4
Firefox Browser Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@ 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
Pie
Posts: 50241
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
Firefox Browser Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@ Campbell Ritchie:
The link you provided to JDK7u3....is that for the Enterprise Edition jdk?
I need EE.
Thanks
 
Campbell Ritchie
Sheriff
Pie
Posts: 50241
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, that was the standard edition. I suggest you get that working before upgrading to EE.
 
B Bruce
Greenhorn
Posts: 4
Firefox Browser Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Vasilis Souvatzis
Ranch Hand
Posts: 81
1
Chrome Java Netbeans IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Thomas Taeger
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vasilis Souvatzis wrote:You need the 32bit version of the JRE. ....

For a 64 bit Windows - strange - but thanks a lot!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic