Date: Wed, 3 Nov 2004 20:37:19 +1000 From: Warren Toomey <wkt@tuhs.org> To: freebsd-java@freebsd.org Subject: Help getting jdk14 installed Message-ID: <20041103103719.GA50636@minnie.tuhs.org>
next in thread | raw e-mail | index | archive | help
Hi all, I'm trying to get a working jdk14 installed on FreeBSD. I have
FreeBSD 4.10-STABLE. I'm after some help on pointing out what I'm doing
wrong, so if there's a FAQ or some information, please point me at it!
Here's what I've tried so far. #1: build the jdk-1.4.2p6_6 port:
# make -DMINIMAL
....
Patching for jdk-minimal-1.4.2p6_6 [seems to go ok]
....
# Start of jdk build
bsd i586 1.4.2-p6 build started: 04-11-03 20:29
if [ -r ./../../deploy/make/Makefile ]; then \
( cd ./../../deploy/make; gmake sanity EXTERNALSANITYCONTROL=true CONTROL_TOP
DIR=/usr/ports/java/jdk14/work/control CONTROL_TOPDIR_NAME=control ALT_OUTPUTDIR
=/usr/ports/java/jdk14/work/control/build/bsd-i586 ARCH_DATA_MODEL=32 MILESTONE
=p6 BUILD_NUMBER=wkt_03_nov_2004_20_29 ; ); \
fi
Syntax error: "(" unexpected
gmake[1]: Entering directory `/usr/ports/java/jdk14/work/deploy/make'
[: -ne: unexpected operator
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/deploy/make'
Syntax error: "(" unexpected
gmake[1]: Entering directory `/usr/ports/java/jdk14/work/j2se/make'
[: -ne: unexpected operator
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
....
(cd bsd_i486_compiler2/product; gmake)
gmake[2]: Entering directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/
hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[2]: *** [../generated/MakeDeps.class] Segmentation fault (core dumped)
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/h
otspot-i586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/h
otspot-i586/tmp'
gmake: *** [product] Error 2
*** Error code 2
Stop in /usr/ports/java/jdk14.
#2: Try the linux-sun-jdk-1.4.2.05 port, which installed fine, but then:
% /usr/local/linux-sun-jdk1.4.2/bin/javac
Segmentation fault (core dumped)
#3: Try the linux-blackdown-jdk-1.4.2 port, which installed fine, but then:
% /usr/local/linux-blackdown-jdk1.4.2/bin/javac
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
I have linprocfs mounted and linux emulation compiled into the kernel:
% kldstat
Id Refs Address Size Name
3 1 0xc14d0000 7000 linprocfs.ko
% df -H
linprocfs 4.1K 4.1K 0B 100% /usr/compat/linux/proc
Many thanks for all suggestions.
Warren
P.S The eventual aim is to get BlueJ version 2.0.2 working, and it requires
J2SE 1.4.2.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041103103719.GA50636>
