Due to bug 18067, the default CLASSPATH was changed to not have rt.jar. However, jikes does not seem to know what it should do with a directory instead of a jar. Reproducible: Always Steps to Reproduce: 1.Set the system vm to sun-jdk-1.4.1.02 2.Try to compile anything with jikes 1.18 Actual Results: $ jikes Hello.java Found 1 system error: *** Semantic Error: You need to modify your classpath, sourcepath, bootclasspath, and/or extdirs setup. Package "java/lang" could not be found in: /opt/sun-jdk-1.4.1.02/jre/lib /opt/sun-jdk-1.4.1.02/lib/tools.jar . . Expected Results: It should find the rt.jar using the same algorithm the sun vm uses. Portage 2.0.48 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.5.68 i586 AMD-K6(tm) 3D processor GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow arts avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline tetex aalib nas ggi tcltk java guile ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl ldap cdr acl acpi apache2 bonobo canna cjk curl dga doc dvd emacs ethereal evo fbcon firebird flash freetds freewnn gb gd gnomedb gtk2 gtkhtml hbci imap informix innodb ipv6 jikes junit ladcca lcms leim libgda maildir memlimit mozaccess mozcalendar mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mpi mule nptl oav objc odbc ofx pic plotutils pnp samba sasl slp snmp tiff vim-with-x wmf Xaw3d xface xml xosd zeo -apm -gnome -svga -kde" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-march=k6 -mmmx -m3dnow -ggdb3 -Os -pipe -momit-leaf-frame-pointer" CXXFLAGS="-march=k6 -mmmx -m3dnow -ggdb3 -Os -pipe -momit-leaf-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache sandbox buildpkg strict fixpackages"
Fixed this on sun-jdk and it worked ok, have to fix it on other virtual machines.
As a point of caution, for the ibm jdk (dev-java/ibm-jdk-1.4.1), there is no rt.jar. To get jikes to work I had to set my CLASSPATH to instead have /opt/ibm-jdk-1.4.1/jre/lib/core.jar. After that jikes worked fine.
Fixed in ibm-jdk's.
This need to be addressed on jrockit ebuild, and on blackdown ebuilds.
Moving to java team.
Moving to java@gentoo.org
Checked the blackdown, jrockit packages. Everything looks tight. Closing.