Re: RELENG_7 and diablo-jdk
Am Mittwoch, 12. Dezember 2007 22:15:00 schrieb Tino Engel: > for me, java apps always segfault under releng_7. > They never did under releng_6. > Have not found out yet why.. The JDK's hotspot compiler digs pretty deep into the system to compile Java code to machine code and run that dynamically. Because of the new operating system version (and changes it introduced), this simply doesn't work properly anymore without a recompile of the JDK for the current system (I haven't dug deeper into the actual cause of the "brokenness" yet, but the probable cause I could think of is some changes in the kernel system call interface between RELENG_6 and _7, which the JDK uses without going through libc as a wrapper shin which would hide the changes). The workaround is simply to install one of the Sun JDKs from sources directly, using the Diablo JDK only to get a working XSLT-processor (which comes bundled with any JDK and doesn't cause the Diablo JDK to segfault when run), which is required in the bootstrapping process of the compilation of a JDK. After building and installing one of the Sun JDKs, you're free to remove the Diablo JDK; the functionality of the two is equal (AFAICT). -- Heiko Wundram Product & Application Development ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: RELENG_7 and diablo-jdk
Daniel Molina Wegener schrieb: Hello, ¿Is there any problem if I run diablo-jdk-1.5_07 under RELENG_7? I mean, ¿is the diablo-jdk binary compatible with RELENG_7? Thanks in advance... for me, java apps always segfault under releng_7. They never did under releng_6. Have not found out yet why.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: RELENG_7 and diablo-jdk
Am Mittwoch, 12. Dezember 2007 11:06:13 schrieb Daniel Molina Wegener: > ¿Is there any problem if I run diablo-jdk-1.5_07 under RELENG_7? > I mean, ¿is the diablo-jdk binary compatible with RELENG_7? Yes, there are/were quite some problems (which may not become immediately apparent with "standard" use but will as soon as you use Java software such as the sun-wtk). Generally, you'll want to build the sun-jdks on RELENG_7, using the diablo-jdk as a bootstapper and removing it after at least one other jdk has been installed. Instructions for downloading the sources and BSD-patches for the sun-jdks are in ports (i.e., "cd /usr/ports/java/jdk1; make" will tell you what to do). -- Heiko Wundram Product & Application Development ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: RELENG_7 and diablo-jdk
On Wed, Dec 12, 2007 at 07:06:13AM -0300, Daniel Molina Wegener wrote: > > Hello, > > ??Is there any problem if I run diablo-jdk-1.5_07 under RELENG_7? > I mean, ??is the diablo-jdk binary compatible with RELENG_7? It's working here fine: --->$ uname -a FreeBSD torus.slightlystrange.org 7.0-BETA4 FreeBSD 7.0-BETA4 #10: Fri Dec 7 16:06:58 GMT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TORUS i386 --->$ java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) Java HotSpot(TM) Client VM (build diablo-1.5.0_07-b01, mixed mode) Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpLRFeKu56c4.pgp Description: PGP signature