Error Message

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Sep 2009
Posts: 28
Reputation: bruceaj is an unknown quantity at this point 
Solved Threads: 0
bruceaj bruceaj is offline Offline
Light Poster

Error Message

 
0
  #1
Oct 22nd, 2009
When I start NetBeans I get a dialog with the following:

[QUOTE]Cannot locate java installation in specified jdkhome: C:\Sun\SDK\jdk. Do you want to try the default version.[/QUOTE]

I click Yes and everything seems to work ok. Now, I did have the SDK installed but didn't have any need for it, plus it did seem to be a performance bear on my machine. So I uninstalled and just installed the JDK.

I have not been able to find where the jdkhome is defined, or I have but don't recognize it.

When I look at Java Platform Manager, I find two platforms. J2SE with JDK 1.6 (Default) and JAVAFX JavaFX SDK on Java 1.6 (Default).

Is the platform of JAVAFX giving me problems and I just "Remove" it?

Thanks for the help?
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,197
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 485
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer
 
-1
  #2
Oct 22nd, 2009
No JavaFX is just add-on with NetBeans instalation. Did you set path to your installation of Java like in the first part of this article (up to point 3)?
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 28
Reputation: bruceaj is an unknown quantity at this point 
Solved Threads: 0
bruceaj bruceaj is offline Offline
Light Poster
 
0
  #3
Oct 22nd, 2009
I did not have a JAVA_HOME variable in either my User Variables or my system Variables. I added JAVA_HOME c:\Program Files\java\jdk1.6.0_16 to my user variables.and values.

Restarted NedBeans and got the same message as before.

Thanks.. Appreciate any other suggestions from those in JavaLand.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,197
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 485
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer
 
-1
  #4
Oct 23rd, 2009
beside JAVA_HOME do you have set PATH in system variables as C:\Program Files\Java\jdk1.6.0_16\bin ?
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 28
Reputation: bruceaj is an unknown quantity at this point 
Solved Threads: 0
bruceaj bruceaj is offline Offline
Light Poster
 
0
  #5
25 Days Ago
I insured that C:\Program Files\Java\jdk1.6.0_16\bin was in JAVA_HOME, CLASSPATH, and PATH. Didn't fix the problem.

Appreciate any other help and/or suggestions you might have.

Thanks....
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,197
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 485
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer
 
-1
  #6
25 Days Ago
PATH is C:\Program Files\Java\jdk1.6.0_16\bin
JAVA_HOME is C:\Program Files\Java\jdk1.6.0_16 (without "bin folder at the end)
CLASSPATH is not need it since Java 1.4
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 28
Reputation: bruceaj is an unknown quantity at this point 
Solved Threads: 0
bruceaj bruceaj is offline Offline
Light Poster
 
0
  #7
25 Days Ago
I have Path and JAVA_HOME set as you suggested and I removed any reference from CLASSPATH. Now, I just looked at my "Add or Remove Programs" list and find

Java DB 10.4.2.1: I assume that's Java's database, which I don't use and should be able to remove, unless Java uses it internally.

Java(TM) 6 Update 6: I assume that is the JDK that I am using.

Java(TM) SE Development Kit 6 Update 16: This could be my culprit. Right. And I should remove it. Right?

Java(TM) SE Runtime Enviroment 6 Update 1: I can remove this also, Right?

Thanks very much for your help..
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,197
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 485
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer
 
-1
  #8
25 Days Ago
>Java DB 10.4.2.1: I assume that's Java's database, which I don't use and should be able to remove, unless Java uses it internally.
Just leave it, you may want ot use it in the future

>Java(TM) 6 Update 6: I assume that is the JDK that I am using.
Not sure why you have this update since your original instalation seems to be the one bellow

>Java(TM) SE Development Kit 6 Update 16: This could be my culprit. Right. And I should remove it. Right?
Definitely keep it

>Java(TM) SE Runtime Enviroment 6 Update 1: I can remove this also, Right?
This can go

If you want to be on safe side you can delete them all and install JDK 6 Update 17 and update JAVA_Home and PATH, but that decision is really up to you. Option two, install JDK 6 Update 17 with NetBeans 6.7.1
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 28
Reputation: bruceaj is an unknown quantity at this point 
Solved Threads: 0
bruceaj bruceaj is offline Offline
Light Poster
 
0
  #9
25 Days Ago
Thanks for the response. I think I'm going to go with deleting all and reloading. I thought I saw a NetBeans 6.8.

I'll get back in a few days when I've had a chance to do it..
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 4,481
Reputation: Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of 
Solved Threads: 515
Moderator
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is offline Offline
Industrious Poster
 
0
  #10
24 Days Ago
In your Netbeans installation directory, go to "etc/netbeans.conf". There you will find an entry for "netbeans_jdkhome".
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC