Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 186201

Summary: Since laste Java-Update, Netbeans can't find jdkhome anymore
Product: Gentoo Linux Reporter: Varox
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Varox 2007-07-22 10:15:25 UTC
Since the last update (I am using 2 PCs, and bothe got this problem), Netbeans does not run anymore. (I've already tried to set the path with the --jdkhome option, but it also didn't work. I get the following error message:

user@pc /opt/sun-jdk-1.5.0.12/bin $ /opt/netbeans-5.5.1/bin/netbeans
Cannot find java. Please use the --jdkhome switch.
user@pc /opt/sun-jdk-1.5.0.12/bin $ java-config -L
The following VMs are available for generation-2:
1)      Sun JDK 1.4.2.15 [sun-jdk-1.4]
2)      Sun JDK 1.5.0.12 [sun-jdk-1.5]
*)      Sun JRE 1.6.0.02 [sun-jre-bin-1.6]
user@pc /opt/sun-jdk-1.5.0.12/bin $ 

Thanks for your help.

Reproducible: Always

Steps to Reproduce:
1. run /opt/netbeans-5.5.1/bin/netbeans
2.
3.
Comment 1 Varox 2007-07-22 10:20:36 UTC
I forgot to tell you, that I have not installed an ebuild, I took the Installation package from the Netbeans homepage.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-07-22 10:24:46 UTC
(In reply to comment #1)
> I forgot to tell you, that I have not installed an ebuild, I took the
> Installation package from the Netbeans homepage.
> 

What do you expect us to be able to do with Netbeans upstream bundles that we have no control over? I am just guessing your netbeans.conf is not setup properly:

# default location of J2SE JDK, can be overridden by using --jdkhome <dir> switch
netbeans_jdkhome="/usr/lib/jvm/sun-jdk-1.5"

If you have set it to a versioned path with the installer, of course it will break during updates. If you think there is something we can do about please reopen.