Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2577 - java-config fails if JAVA_HOME is not set
Summary: java-config fails if JAVA_HOME is not set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-08 10:36 UTC by Sean P. Kane
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean P. Kane 2002-05-08 10:36:12 UTC
While trying to set my java-system-vm for the first time, java-config was 
giving me an error. I read the man page with no luch and then went ad looked 
over the script. I noticed that java-config gives an error and exits if 
JAVA_HOME is not set. This seems a bit odd as it makes it hard to setup your 
initial java enviroment as I was trying to do. I assume either JAVA_HOME should 
be set by default to the blackdown jdk or the documentation should be 
updated to note that you need to set JAVA_HOME to an existing JDK 
before trying to use java-config to set the system-vm, etc?
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-05-13 17:26:03 UTC
It doesn't actually fail, it just emits a warning. However, this warning has now
been removed so not as confuse new users. Available as dev-java/java-config-0.2.3
Comment 2 Sean P. Kane 2002-05-13 18:06:00 UTC
I actually couldn't set the system-vm until set my JAVA_HOME.