Ahamed Ishak
Ahamed Ishak

Reputation: 1062

Cant install JavaEE in my computer

I tried to install JavaEE on my computer. I already have JDK 7 and Netbeans 7.1.2.

But when I try to install it, it shows this error..

application needs version 1.6 or higher of java(TM)2 Runtime environment.....

Upvotes: 0

Views: 902

Answers (1)

BalusC
BalusC

Reputation: 1108782

The JDK installer for Windows doesn't do its job entirely right. Some registry keys for the JRE are missing. The Java EE installer is relying on them. You basically need to install JRE as well which you can get from http://java.com. You don't need to uninstall the JDK. Just install JRE over it, it'll set the proper registry keys and your Java EE installer will then continue.

Note that the Java EE pack basically contains the Glassfish server and optionally also bundles the Netbeans IDE. You can alternatively also just download and install Glassfish separately from http://glassfish.java.net. Or if you happen to have installed Glassfish already or already have another server like Tomcat or JBoss AS, then you don't need the Java EE pack at all.

See also:

Upvotes: 2

Related Questions