Red Hat Bugzilla – Bug 466003
netbeans doesn't start: "Cannot find java. Please use the --jdkhome switch."
Last modified: 2008-10-08 10:22:27 EDT
netbeans won't start on my rawhide system(s). The error message given is:
Cannot find java. Please use the --jdkhome switch.
java-1.6.0-openjdk is installed and working properly:
[wwoods@kraid ~]$ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b12)
OpenJDK Client VM (build 1.6.0_0-b12, mixed mode)
Probably it is a bug that has been fixed in the release 7 by me yesterday.
Please, give me more info about configuration of your rawhide system, and check if JDK is installed too (not JRE only!), e.g.
$ javac -version
You're right - -7 fixes the problem. Thanks!
*** This bug has been marked as a duplicate of bug 464558 ***