Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128534 - dev-java/blackdown-jre / java-config doesn't set configuration properly
Summary: dev-java/blackdown-jre / java-config doesn't set configuration properly
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-02 09:21 UTC by Patrick Lauer
Modified: 2006-04-02 10:00 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 Patrick Lauer gentoo-dev 2006-04-02 09:21:19 UTC
Seems like blackdown fails to integrate with java-config and doesn't set paths correctly:

*  dev-java/blackdown-jre
      Latest version available: 1.4.2.03
      Latest version installed: 1.4.2.03

 ~ # java-config -l
 ~ # 
 ~ # java-config -o
/opt/blackdown-jre-1.4.2.03
 ~ # 
 ~ # java-config -L
[blackdown-jre-1.4.2.03] "Blackdown JRE 1.4.2.03" (/etc/env.d/java/20blackdown-jre-1.4.2.03) *

 ~ # java-config -S blackdown-jre-1.4.2.03
javac not found at /opt/blackdown-jre-1.4.2.03/bin/javac or /opt/blackdown-jre-1.4.2.03/jre/bin/javac
javadoc not found at /opt/blackdown-jre-1.4.2.03/bin/javadoc or /opt/blackdown-jre-1.4.2.03/jre/bin/javadoc
jar not found at /opt/blackdown-jre-1.4.2.03/bin/jar or /opt/blackdown-jre-1.4.2.03/jre/bin/jar
rmic not found at /opt/blackdown-jre-1.4.2.03/bin/rmic or /opt/blackdown-jre-1.4.2.03/jre/bin/rmic
THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND
System Virtual Machine set
You may want to update your enviroment by running:
        "/usr/sbin/env-update && source /etc/profile"

-----------
Portage 2.1_pre7-r3 (!/usr/portage/profiles/default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.11 i686)
=================================================================
System uname: 2.6.11 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.14
distcc 1.2.3 i686-pc-linux-gnu (protocol 1) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://ftp.nyx.hu/gentoo http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/portage"
SYNC="rsync://rsync12.de.gentoo.org/gentoo-portage"
USE="x86 X apm avi berkdb bitmap-fonts crypt curl dri eds emboss foomaticdb fortran gdbm gif gstreamer hardened imlib ipv6 isdnlog jpeg libg++ libwww motif mozilla mp3 mysql ncurses nls ogg pam parse-clocks pdflib perl pic png ppds pppd python readline sdl spell sqlite ssl tcltk tcpd truetype truetype-fonts type1-fonts unicode vorbis wxwindows xml2 zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-04-02 09:41:35 UTC
take a closer look at this:

THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND

system vm must be JDK so it can build from java sources, you are trying to register JRE which doesn't contain javac compiler...
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-04-02 09:53:18 UTC
As Caster pointed out, the problem is that you're setting a JRE to the system VM. The system VM is used to build Java packages, so you generally need a JDK (ie blackdown-jdk) set as the system if you plan on building Java packages,

So at most, maybe the warnings could be more succint. But beyond that, I see no problem.
Comment 3 Patrick Lauer gentoo-dev 2006-04-02 10:00:24 UTC
Hmmm. net-p2p/freenet failed to start - now it finds the java executable.

This is quite confusing, it doesn't work after install (I tried env-update && source /etc/profile), only after logging in again does it work now.

The error messages are quite misleading, but as it works now I'll close the bug.