programming forums Java Java JSRs Mobile Certification Databases Caching Books Engineering Languages Frameworks Products This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Sheriffs:
Saloon Keepers:
Bartenders:

# problem while installing netbeans6

teja dharma
Ranch Hand
Posts: 51
I am using windows XP when i am trying to install nebean6 its saying java se development kit not found on this computer .
I created JAVA_HOME environmental system variable with value C:\Program Files\Java\jdk1.5.0 the same path which is on my computer but still
i am getting same error do i have to add still any more system environmental variables ? Do i have to restart once environmental variables added ? please give reply soon

Pushkar Choudhary
Rancher
Posts: 425
First of all,

EaseUp.

teja dharma wrote:Do i have to restart once environmental variables added ?

Yes. I would recommend restarting the system once.

teja dharma
Ranch Hand
Posts: 51
i did but same problem again.
is this correct
JAVA_HOME
C:\Program Files\Java\jdk1.5.0;.;
or
JAVA_HOME
C:\Program Files\Java\jdk1.5.0
do i have to add CLASSPATH ,PATH
variables too

Campbell Ritchie
Sheriff
Posts: 54058
130
Don't know, but the first line looks suspect. You don't usually add . to your PATH on Windows. Don't set a system CLASSPATH.

This also appears to be in the wrong forum.

teja dharma
Ranch Hand
Posts: 51
then suggest me the forum where i can find answer for this

teja dharma
Ranch Hand
Posts: 51
The given below are the system environmental variables with values i have added according to my system.

JAVA_HOME C:\Program Files\Java\j2sdk1.5.0

CLASSPATH C:\Program Files\Java\j2sdk1.5.0\bin

PATH C:\Program Files\Java\j2sdk1.5.0\bin

Is this correct ? if not what are the environmental variables with values? Do i have to add for system or user? As for now i added for both system and user do i have to restart my pc?

Jaikiran Pai
Sheriff
Posts: 10447
227
Moving to IDE forum

Mark E Hansen
Ranch Hand
Posts: 650
teja dharma wrote:The given below are the system environmental variables with values i have added according to my system.

JAVA_HOME C:\Program Files\Java\j2sdk1.5.0

CLASSPATH C:\Program Files\Java\j2sdk1.5.0\bin

PATH C:\Program Files\Java\j2sdk1.5.0\bin

Is this correct ? if not what are the environmental variables with values? Do i have to add for system or user? As for now i added for both system and user do i have to restart my pc?

Remove the CLASSPATH setting. It certainly does no good to point it to the JDK 'bin' directory.

You will have problems with the JDK installed into a directory with spaces in it. Move it to a directory that doesn't have any spaces, like C:\Java\j2sdk1.5.0 and update your environment variables accordingly.

 It is sorta covered in the JavaRanch Style Guide.