Java EE SDK 6 does not install on Windows 7

I am successfully launching a 64 bit JDK. But now I need to install Java EE sdk 6 on a Windows 7 machine. I downloaded "java_ee_sdk-6u4-windows.exe" from the Oracle website. But when I try to install it, I get an error message, which is attached to the screenshot. enter image description here

I double checked my java_home and class-path, they are perfect.

Any idea how to do this.

+6
source share
3 answers

I gave a few more attempts, and in the end the team worked with quotes in the jdk path.

C:\Users\jsmith\Downloads>java_ee_sdk-6u4-windows.exe -j "C:\Program Files\Java\ jdk1.6.0_39".

thanks

+5
source

On Windows 7, the 64-bit JDK installation skips some files (namely /lib/tools.jar) due to a resolution problem, despite a successful installation message.

Decision

Reinstall JDK 6 using Run as Administrator, then install the EE SDK using Run as Administrator.

As BalusC said, the EE SDK is for the application server and IDE, and both are interchangeable. However, when I started learning EE, I really liked Netbeans 7.x in conjunction with Glassfish 3.1, because they provide many tools and shortcuts that are useful for Java EE beginners.

Final tip

On Windows 7-64 bits, either Netbeans or Eclipse must be started using the Run As Administrator command to either start the Glassfish server from the IDE.

+3
source

The Java EE installer will indeed fail when you install the JRE through the JDK. Most likely, the JDK installer forgot some specific registry keys or registry files for the JRE.

If you reinstall the JRE directly from http://java.com (you don’t need to remove anything beforehand), then the Java EE installer should start working (for some other Java programs based on the JRE, for example eclipse.exe !) In the case of Eclipse, otherwise, you would edit eclipse.ini to indicate the path to the right JRE).


By the way, if you don't know this, the Java EE SDK basically contains the GlassFish server along with a bunch of documentation and possibly a NetBeans IDE. This is absolutely not necessary if you want to upgrade to Java EE. For example, you can just use Eclipse and set up Tomcat, JBoss, or any other server other than GlassFish. Many Java EE starters do not understand this. Moreover, you can simply download GlassFish separately as a ZIP file from your home page at http://glassfish.java.net without the need for the entire Java EE SDK.

See also What is Java EE?

+2
source

Source: https://habr.com/ru/post/953028/


All Articles