Date: Wed, 12 Aug 2009 02:56:16 -0500 From: "Rick C. Petty" <rick-freebsd2008@kiwi-computer.com> To: Daichi GOTO <daichi@ongs.co.jp> Cc: freebsd-java@freebsd.org Subject: Re: JDK16 on FreeBSD 8-BETA2 Message-ID: <20090812075616.GA72583@keira.kiwi-computer.com> In-Reply-To: <4A82162C.8040202@ongs.co.jp> References: <4A82162C.8040202@ongs.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 12, 2009 at 10:09:00AM +0900, Daichi GOTO wrote: > I have tried to test 8-BETA2 (after shared library > version dumped) and JDK16. From a conclusion, > I cannot build or use JDK16. <snip> > Diablo JDK16 couldn't build JDK16/OpenJDK16. > Linux Sun JDK is in the same situation. > Is there anyone who uses JDK16 on BETA2? I've been noticing the same thing. I installed a fresh diablo-jdk16 port and the JVM won't start: # env JAVA_VENDOR=freebsd java -version Error occurred during initialization of VM Unable to load ZIP library: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libzip.so ~~~ The same thing happens when trying to build java/jdk16, because it needs a working JVM to boostrap: ... /usr/local/diablo-jdk1.6.0/bin/javap javax.xml.transform.TransformerFactory > /dev/null 2>&1; \ if [ $? -ne 0 ]; then \ /usr/local/diablo-jdk1.6.0/bin/java -version; \ echo "*** An XSLT processor (J2SE 1.4.x or newer) is required" \ "to bootstrap this build" 1>&2; \ exit 1; \ fi Error occurred during initialization of VM Unable to load ZIP library: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libzip.so *** An XSLT processor (J2SE 1.4.x or newer) is required to bootstrap this build gmake[4]: *** [check_j2se_version] Error 1 ... # file /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libzip.so /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libzip.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, not stripped # uname -a FreeBSD myhostname 8.0-BETA2 FreeBSD 8.0-BETA2 #0 r196086: Sat Aug 8 17:22:29 CDT 2009 root@myhostname:/usr/obj/usr/src/sys/GENERIC amd64 ~~~ Is this a result of all the shared library versions being bumped and shifting APIs? I am thinking of hacking something together as a replacement bootstrap. It will involve wrapping the javavmwrapper script to call into a pre-8.0 chroot (with a working jdk) and a large number of symlinks. Does anyone have any better ideas? Are the folks who made diablo-caffe working on this problem? -- Rick C. Petty
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090812075616.GA72583>