Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32611 - java-config 1.1.1 will does not list vms or anything
Summary: java-config 1.1.1 will does not list vms or anything
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 32654 (view as bug list)
Depends on:
Blocks: 31468
  Show dependency tree
 
Reported: 2003-11-03 03:43 UTC by Jonathan
Modified: 2003-11-04 20:37 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 Jonathan 2003-11-03 03:43:31 UTC
Returns No JAVA_HOME or No JDK_HOME if trying to run any command. will not list
VMs but can set them if you know the argument to use (IE: blackdow-jdk-1.4.1-r3).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
list the vms and not show No JAVA_HOME or No JDK_HOME.

 emerge --info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 
2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config 
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/ 
http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ 
http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi cups encode foomaticdb libg++ mad mikmod mpeg 
nls oggvorbis pdflib quicktime sdl xml2 xmms xv berkdb slang svga esd 
motif 3dnow apache2 crypt dga gd gdbm gif gnome gpm gtk gtk2 imlib ipv6 
java jpeg kde libwww mbox mmx mozilla ncurses opengl pam perl png python 
qt readline ruby samba spell sse ssl tcltk tcpd tiff truetype X xosd xml 
zlib video_cards_i810"
Comment 1 Christian Jiresjö 2003-11-03 06:53:58 UTC
Whats wrong with the "-L --list-available-vms" switch? If the "-L --list-available-vms"
doesn't work for you it's another matter.

It didn't set enviorment? Did you regen enviroment with env-update and sourced
/etc/profile? Sourcing /etc/profile isn't mentioned but required for correctly
setting enviroment after env-update i think.

It works for me execept setting JAVAC incorrectly in the enviromentfile but
that can be worked around by running with -x first or att the same time.

If you mean for user systems it seems because it puts files in .gentoo in
the users home directory which doesn't seem to be read by anything.
Comment 2 Adrian Almenar 2003-11-03 15:23:00 UTC
*** Bug 32654 has been marked as a duplicate of this bug. ***
Comment 3 Jason A. Mobarak (RETIRED) gentoo-dev 2003-11-04 20:37:32 UTC
This is the problem:

@discord jmob --> java-config -L
[blackdown-jre-1.4.1] "Blackdown JRE 1.4.1" (/etc/env.d/java/20blackdown-jre-1.4.1)
[blackdown-jdk-1.4.1] "Blackdown JDK 1.4.1" (/etc/env.d/java/20blackdown-jdk-1.4.1)
*
@discord jmob --> unset JAVA_HOME JDK_HOME
@discord jmob --> java-config -L
jc_options: No JAVA_HOME available! Please set your Java Virtual Machine

But, fixes are in CVS, Mr. Almenar would you please package up java-config
version 1.1.2 and release it? :)