JDK 1.4 build problem under 5.3 release
Achilleus Mantzios
achill at matrix.gatewaynet.com
Mon Nov 22 09:11:14 GMT 2004
O Jonathan Belson έγραψε στις Nov 22, 2004 :
> > O Jonathan Belson έγραψε στις Nov 19, 2004 :
> > For the time being,
> > all i can say is that in a newly updated FreeBSD 5.3-STABLE #1
> > (with zero ports initially installed however),
> > linux-sun-jdk-1.4.2.05 's
> > freebsd# /usr/local/linux-sun-jdk1.4.2/bin/java -version
> > java version "1.4.2_05"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
> > Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
> > freebsd# /usr/local/linux-sun-jdk1.4.2/bin/java -server -version
> > java version "1.4.2_05"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
> > Java HotSpot(TM) Server VM (build 1.4.2_05-b04, mixed mode)
> > freebsd#
>
> I'm guessing you're using the GENERIC kernel? I'll have a go on a fresh
> install and see if I can find if it's down to kernel options.
Yes except
freebsd# diff -u /usr/src/sys/i386/conf/GENERIC
/usr/src/sys/i386/conf/ACHIX53
--- /usr/src/sys/i386/conf/GENERIC Thu Nov 18 16:36:03 2004
+++ /usr/src/sys/i386/conf/ACHIX53 Fri Nov 19 09:32:33 2004
@@ -19,8 +19,6 @@
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.8 2004/10/24 17:42:08
scottl Exp $
machine i386
-cpu I486_CPU
-cpu I586_CPU
cpu I686_CPU
ident GENERIC
freebsd#
And just 1 minute ago,
freebsd# /usr/local/jdk1.4.2/bin/java -version
java version "1.4.2-p6"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2-p6-root_22_nov_2004_09_50)
Java HotSpot(TM) Client VM (build 1.4.2-p6-root_22_nov_2004_09_50, mixed
mode)
freebsd# /usr/local/jdk1.4.2/bin/java -server -version
java version "1.4.2-p6"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2-p6-root_22_nov_2004_09_50)
Java HotSpot(TM) Server VM (build 1.4.2-p6-root_19_nov_2004_16_52, mixed
mode)
freebsd#
I got a SEGV the first time i run make (mem overheating maybe),
and a success the second time.
The -server option with the linux jdk was just a redundancy.
Now with native jdk, -server means the nasty java/71146 gcc 3.4.2 bug is
away!!!
I 'll assume you tried with the /proc mounted.
Did that change anything?
>
> Cheers,
>
> --Jon
>
> http://www.witchspace.com
>
>
--
-Achilleus
More information about the freebsd-java
mailing list