• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to set up a Java EE development environment

 
Greenhorn
Posts: 4
Firefox Browser Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 185
Netbeans IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Download Netbeans for Java EE developers. Comes packed with Tomcat and Glassfish as well which is very handy.
 
Marshal
Posts: 79153
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Marshal
Posts: 79153
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Marshal
Posts: 79153
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 109
1
Netbeans IDE Chrome Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
reply
    Bookmark Topic Watch Topic
  • New Topic