cancel
Showing results for 
Search instead for 
Did you mean: 

JAVA_HOME Environment Variable "Not Available"

Former Member
0 Kudos

I have installed j2sdk 1.4.2_17 for Windows Server 2008 64 bit for an installation of ERP 6.0. I have installed this in the following directory:

C:\j2sdk14217x64

- I have the JAVA_HOME variable (User variable for Administrator and System variable) set to: C:\j2sdk14217x64

- I have the PATH system variable (System variable) set to: C:\j2sdk14217x64\bin

When running the prerequisite checker I get the following error:

"It is not recommended to use JDK version 1.4.2_10. Current version: JAVA_HOME not available."

When I run %JAVA_HOME% from the command line the system finds it. I'm not sure what the issue is here.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member189546
Active Contributor
0 Kudos

Hello,

Did you just repeat installation from the point you've failed or

restart it from the very beginning? I'd like to recommend you

to restart it from the beginning after you reinstalled JDK.

And pls remove those log files to other dirctory when you restart

the installation.

regards,

John Feely

Former Member
0 Kudos

I've decided to ignore this and begin the installation to see what happens. So far I have made it to "Create/Check tablespaces" so I'm thinking that the JAVA instance is running fine. We'll see what happens over the next few hours.

Former Member
0 Kudos

Looks like it was alright to go ahead with this error, knowing that the JAVA_HOME and PATH variables were set correctly, and the current version was installed. Thanks for your help!

former_member204746
Active Contributor
0 Kudos

Please change this question's status to answered.

former_member204746
Active Contributor
0 Kudos

put JAVA_HOME in the system user environement and try again.

former_member189546
Active Contributor
0 Kudos

Hello,

Best to unistall JDK and reinstall latest one

There is a download page solely for SAP customers:

http://www.sun.com/software/javaforbusiness/sap_download.jsp

See notes

709140 Recommended JDK and VM Settings for the WebAS630/640/7.0

Note 716604 for the Sun JDK (Windows, Linux, Solaris)

regards,

John Feely

Former Member
0 Kudos

I have downloaded and installed the latest version (j2sdkfb-1_4_2_26-windows-amd64.exe) and I get the same issue. I have installed it into the following directory

C:\j2sdk14226x64

- I have the JAVA_HOME variable (User variable for Administrator and System variable) set to: C:\j2sdk14226x64

- I have appended the PATH system variable (System variable) with: C:\j2sdk14226x64\bin

I get the same error message. What is wrong?

former_member204746
Active Contributor
0 Kudos

your PATH might be very long and have multiple paths pointing to multiple JAVA engines.

make sure your entry is in the beginning of the PATH, not at the end of it.

Former Member
0 Kudos

I have set the system variables as follows:

JAVA_HOME: C:\j2sdk14226x64

PATH: C:\j2sdk14226x64\bin;C:\oracle\N20\102\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Intel\DMIX;

I am still having this issue. Do these variables need to be pointing to the "jre" directory, or the "bin" directories of either of these directories?

Former Member
0 Kudos

I also added the following user variable (for administrator):

JAVA_HOME: C:\j2sdk14226x64

Still the same issue.