cancel
Showing results for 
Search instead for 
Did you mean: 

SAP NetWeaver Developer Studio Installation - Java SDK Path?

Former Member
0 Kudos

Hi There SDN:

I am facing some problem whilst installing SAP NDS on my system. All goes fine till the path for the Java SDK directory is asked for. Here I specify a certain folder and move ahead only to find finally that the Java SDK path I entered is recognised invalid with an error. I tried quite a number of relevant folders/directories for this but the error persists.

Can anyone please guide on what to enter in the Java SDK path which is "<i>not invalid</i>" by SAP NDS levels.

Thanks for reading. Hoping for some helpful answers.

Best Regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I would think it wants to point to the folder directly under "C:" which is the default folder for the SDK.

For example, in my case it would be....

c:\j2sdk1.4.2_09

Regards,

Rich Heilman

Former Member
0 Kudos

I tried your suggestion, but it gave the same error.

I don't understand the reason behind it. Has it got something to do with the location where J2EE Engine is installed or has to do with JDK is installed; or do I need to install the J2EE/JDK prior to this. Right now I donot even understand the connection between the error and the Java.

Please do let me know if you can share some useful knowledge on this.

Thanks!

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Ok, lets try something else. Lets set an environment variable. Right-click on "My Computer" on your desktop and choose properties. Click advanced tab, then environment variables. In the system variables box, look for something like SAPINST_JRE_HOME. Is there an entry? If not, lets add one.

This needs to point to the jre(java runtime environment) in the sdk directory. In my case it is.....

SAPINST_JRE_HOME   C:j2sdk1.4.2_09jre

Set this variable, reboot and try again.

Regards,

RIch Heilman

Former Member
0 Kudos

Not yet! :-0

Still its giving the same error though I added this environment variable and chose the Java SDK Paths as:

C:\j2sdk1.4.2_09\jre and C:\j2sdk1.4.2_09; in both cases it gave this error. It's difficult to figure out now.

Best Wishes.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

How about the java_home variable, is it present? What is its value? Try giving j2sdk1.4.2_09

Regards,

Rich Heilman

Former Member
0 Kudos

I added "java_home" variable and still it did not work.

Then I thought either JRE's got corrupted or it does not exist. Hence I downloaded and installed latest JRE with Update 8 from Sun's site and...voila! it works. I've got NDS installed and am trying to import an existing project into Workspace. The problem now is that copying the project into the Workspace folder (already created under standard case) and then importing it onto NDS Eclipse does not work. Any clue on that...?

Means it gets imported, but the components, views etc. are just not there. Do let me know on this.

And most important of all: thanks for being with me during the failure phase. It's always nice to have company while on an issue... )

Have a great day!

Vivek.