| Author |
problem while installing netbeans6
|
teja dharma
Ranch Hand
Joined: Feb 07, 2009
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
|
SCJP 5
|
 |
Pushkar Choudhary
Rancher
Joined: May 21, 2006
Posts: 425
|
|
First of all,
teja dharma wrote:please give reply soon
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
Joined: Feb 07, 2009
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
Joined: Oct 13, 2005
Posts: 32712
|
|
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
Joined: Feb 07, 2009
Posts: 51
|
|
|
then suggest me the forum where i can find answer for this
|
 |
teja dharma
Ranch Hand
Joined: Feb 07, 2009
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
Marshal
Joined: Jul 20, 2005
Posts: 8147
|
|
Moving to IDE forum
|
[My Blog] [JavaRanch Journal]
|
 |
Mark E Hansen
Ranch Hand
Joined: Apr 01, 2009
Posts: 639
|
|
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.
|
 |
 |
|
|
subject: problem while installing netbeans6
|
|
|