Bug 466003

Summary: netbeans doesn't start: "Cannot find java. Please use the --jdkhome switch."
Product: [Fedora] Fedora Reporter: Will Woods <wwoods>
Component: netbeansAssignee: Victor G. Vasilyev <victor.vasilyev>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: victor.vasilyev
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-08 14:22:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 438943    

Description Will Woods 2008-10-07 17:36:15 UTC
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)

Comment 1 Victor G. Vasilyev 2008-10-08 10:03:53 UTC
Hi Will,

Probably it is a bug that has been fixed in the release 7 by me yesterday.
https://bugzilla.redhat.com/show_bug.cgi?id=464558

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

Comment 2 Will Woods 2008-10-08 14:22:27 UTC
You're right - -7 fixes the problem. Thanks!

*** This bug has been marked as a duplicate of bug 464558 ***