From owner-freebsd-java@FreeBSD.ORG Mon Aug 10 11:07:00 2009 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67FC9106566B for ; Mon, 10 Aug 2009 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3C2EB8FC35 for ; Mon, 10 Aug 2009 11:07:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7AB70dO025222 for ; Mon, 10 Aug 2009 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7AB6xef025218 for freebsd-java@FreeBSD.org; Mon, 10 Aug 2009 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Aug 2009 11:06:59 GMT Message-Id: <200908101106.n7AB6xef025218@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2009 11:07:00 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/135002 java don't make in /usr/ports/net-im/openfire o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/125583 java Java gui programs stop without error message o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/121420 java java/jdk16: Java applet fails to find class under fire o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/115773 java [request] java.nio channel selectors should use kqueue o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113467 java Multiple "missing return value" errors building JDK on o java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections f java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext 29 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Aug 10 21:07:58 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74FF81065692 for ; Mon, 10 Aug 2009 21:07:58 +0000 (UTC) (envelope-from afraniodido@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id 244F98FC37 for ; Mon, 10 Aug 2009 21:07:57 +0000 (UTC) Received: by yxe11 with SMTP id 11so4458646yxe.3 for ; Mon, 10 Aug 2009 14:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=7kCK0Pee0VdnhRPDVEnQig89QK2TQSteV6+KJGQWZEc=; b=oaGtJzoJAymwcUCsmQfvzCFGaYlHvcaWkAuBZurlzAfTvcZjN4J40lMwtYbX5oTH3O iqKaxzQjuIoOETJc7KfZDytg0g3/VwSt8dq3W3aPUL7Chs7nGiR3lXHBMnlIRFaizBc/ luuJn8eY3D4DG99STeS9eXL2keayt0kaYG/aA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=Er/DdF0Jlm+o3nApnwSLz7Scu05b2dtsvtWMhWHl3TuPg4rxdCnbhq9E+CGAEbn0pI rGrCyScWdujPSmXl5v0PcZbPdeX6sdGtHseiXFOZZdNhVFzuhUtJY+QNfH8GEJTlxtZp 5w+4+YgEwAzaashin0NjYhpoFqGyXZv6Z+rxk= Received: by 10.90.69.13 with SMTP id r13mr4357300aga.53.1249936787711; Mon, 10 Aug 2009 13:39:47 -0700 (PDT) Received: from ?192.168.1.91? ([200.146.0.26]) by mx.google.com with ESMTPS id 29sm151816agd.55.2009.08.10.13.39.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 10 Aug 2009 13:39:47 -0700 (PDT) Message-Id: <06E7D804-F67E-48AB-8D7F-170DDF3BD1DB@gmail.com> From: Afranio Nunes To: freebsd-java@FreeBSD.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 10 Aug 2009 17:41:00 -0300 X-Mailer: Apple Mail (2.936) Cc: Subject: Bug X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2009 21:07:59 -0000 # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x2b0c0b41, pid=18660, tid=0x28201200 # # Java VM: Diablo Java HotSpot(TM) Client VM (10.0-b23 mixed mode, sharing bsd-x86) # Problematic frame: # C [libc.so.6+0xc0b41] setxattr+0x61 # # Please submit bug reports to freebsd-java@FreeBSD.org # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # --------------- T H R E A D --------------- Current thread (0x28208000): JavaThread "main" [_thread_in_native, id=673190400, stack(0xbf9af000,0xbf9ff000)] siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000001 Registers: EAX=0x2b11b17c, EBX=0x2b118ff4, ECX=0x2820e280, EDX=0x2820037f ESP=0xbf9fd20c, EBP=0xbf9fd218, ESI=0xbf9fd278, EDI=0x00000001 EIP=0x2b0c0b41, EFLAGS=0x00010202 Top of Stack: (sp=0xbf9fd20c) 0xbf9fd20c: 2b118ff4 bf9fd278 00000001 bf9fd248 0xbf9fd21c: 2b014c8f 28084d44 00000001 bf9fd278 0xbf9fd22c: 2b11b17c bf9fd2a0 bf9fd2a8 bf9fd248 0xbf9fd23c: 28080734 280897c0 bf9fd2a8 bf9fd278 0xbf9fd24c: 2805e50c 28084d44 00000001 bf9fd278 0xbf9fd25c: 2805b6dc 00000008 bf9fd210 2808bf80 0xbf9fd26c: 28080734 00000001 281cea00 bf9fd2b8 0xbf9fd27c: 2805ee9e 28084d20 281cead4 bf9fd2a8 Instructions: (pc=0x2b0c0b41) 0x2b0c0b31: 00 00 5b 81 c3 c1 84 05 00 8b 7d 0c 85 ff 74 29 0x2b0c0b41: 8b 37 85 f6 74 23 6a 2f 56 e8 91 56 fa ff 5a 59 Stack: [0xbf9af000,0xbf9ff000], sp=0xbf9fd20c, free space=312k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libc.so.6+0xc0b41] setxattr+0x61 C [libc.so.6+0x14c8f] __libc_init_first+0x7f C 0x2805e50c C 0x2805ee9e V [libjvm.so+0x2a6550] V [libjvm.so+0x1fea02] C [libjava.so+0xc0ab] Java_java_lang_ClassLoader_00024NativeLibrary_load+0x5b v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::StubRoutines (1) V [libjvm.so+0x1aa0dc] V [libjvm.so+0x2a3fd9] V [libjvm.so+0x1a920f] V [libjvm.so+0x18134a] V [libjvm.so+0x1813b1] V [libjvm.so+0x18169e] V [libjvm.so+0x181c08] V [libjvm.so+0x19cb4a] v ~BufferBlob::Interpreter v ~BufferBlob::StubRoutines (1) V [libjvm.so+0x1aa0dc] V [libjvm.so+0x2a3fd9] V [libjvm.so+0x1a920f] V [libjvm.so+0x18134a] V [libjvm.so+0x1813b1] V [libjvm.so+0x18169e] V [libjvm.so+0x181c08] V [libjvm.so+0x18198a] V [libjvm.so+0x181c08] V [libjvm.so+0x18198a] V [libjvm.so+0x181c08] V [libjvm.so+0x270be7] V [libjvm.so+0x270f77] V [libjvm.so+0x272a95] V [libjvm.so+0x19d4ba] v ~BufferBlob::Interpreter v ~BufferBlob::StubRoutines (1) V [libjvm.so+0x1aa0dc] V [libjvm.so+0x2a3fd9] V [libjvm.so+0x1a920f] V [libjvm.so+0x18134a] V [libjvm.so+0x1813b1] V [libjvm.so+0x18169e] V [libjvm.so+0x181c08] V [libjvm.so+0x1fcf42] V [libjvm.so+0x1b40e9] C [java+0xad69] JavaMain+0x2329 C [java+0x8e5b] JavaMain+0x41b C [libthr.so.3+0x6afb] pthread_getprio+0xeb Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::Interpreter v ~BufferBlob::StubRoutines (1) v ~BufferBlob::Interpreter v ~BufferBlob::StubRoutines (1) v ~BufferBlob::Interpreter v ~BufferBlob::StubRoutines (1) --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x2828e000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=673192448, stack(0xbf769000,0xbf7b9000)] 0x2820d800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=673192192, stack(0xbf7ba000,0xbf83a000)] 0x2820c800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=673191936, stack(0xbf83b000,0xbf88b000)] 0x2820b000 JavaThread "Finalizer" daemon [_thread_blocked, id=673191680, stack(0xbf88c000,0xbf8dc000)] 0x2820a000 JavaThread "Reference Handler" daemon [_thread_blocked, id=673191424, stack(0xbf8dd000,0xbf92d000)] =>0x28208000 JavaThread "main" [_thread_in_native, id=673190400, stack(0xbf9af000,0xbf9ff000)] Other Threads: 0x28209000 VMThread [stack: 0xbf92e000,0xbf9ae000] [id=673190912] 0x2828f000 WatcherThread [stack: 0xbf6e8000,0xbf768000] [id=673192704] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 960K, used 514K [0x4d2a0000, 0x4d3a0000, 0x4d4a0000) eden space 896K, 57% used [0x4d2a0000, 0x4d320838, 0x4d380000) from space 64K, 0% used [0x4d380000, 0x4d380000, 0x4d390000) to space 64K, 0% used [0x4d390000, 0x4d390000, 0x4d3a0000) tenured generation total 7168K, used 0K [0x4d4a0000, 0x4dba0000, 0x4eca0000) the space 7168K, 0% used [0x4d4a0000, 0x4d4a0000, 0x4d4a0200, 0x4dba0000) compacting perm gen total 12288K, used 107K [0x4eca0000, 0x4f8a0000, 0x52ca0000) the space 12288K, 0% used [0x4eca0000, 0x4ecbad00, 0x4ecbae00, 0x4f8a0000) ro space 8192K, 73% used [0x52ca0000, 0x53283618, 0x53283800, 0x534a0000) rw space 12288K, 58% used [0x534a0000, 0x53b99a30, 0x53b99c00, 0x540a0000) Dynamic libraries: 0x08048000 /usr/local/diablo-jdk1.6.0/bin/java 0x2808d000 /lib/libthr.so.3 0x280a0000 /lib/libc.so.7 0x28300000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/client/libjvm.so 0x28ae9000 /usr/lib/libstdc++.so.6 0x281a2000 /lib/libm.so.5 0x281b7000 /lib/libgcc_s.so.1 0x281c3000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/native_threads/ libhpi.so 0x281de000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libverify.so 0x28bde000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libjava.so 0x281eb000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libzip.so 0x28c05000 /lib/libz.so.4 0x2aeda000 /usr/compat/linux/opt/dlc101a/bin/jni_util.dll 0x2aef0000 /compat/linux/opt/dlc101a/lib/libjutil.so 0x2b000000 /compat/linux/opt/dlc101a/lib/libc.so.6 0x2b11d000 /compat/linux/opt/dlc101a/lib/ld-linux.so.2 0x28059000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Xms8m -Xmx25m -Djava.security.policy=/opt/dlc101a/java/ java.policy -DInstall.Dir=/compat/linux/opt/dlc101a java_command: com.progress.sql.explorer.SQLExplorer -db dbweb -S 12680 -user sysprogress -password sysprogress Launcher Type: SUN_STANDARD Environment Variables: CLASSPATH=/compat/linux/opt/dlc101a/java/progress.jar:/compat/linux/ opt/dlc101a/java/base.jar:/compat/linux/opt/dlc101a/java/openedge.jar:/ compat/linux/opt/dlc101a/java/util.jar: PATH=/usr/local/diablo-jdk1.6.0/bin:/compat/linux/opt/dlc101a/bin:/ compat/linux/opt/dlc101a/lib:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/ usr/local/sbin:/usr/local/bin:/usr/home/afranio.premier/bin LD_LIBRARY_PATH=/usr/local/diablo-jdk1.6.0/jre/lib/i386/client:/usr/ local/diablo-jdk1.6.0/jre/lib/i386:/usr/local/diablo-jdk1.6.0/jre/../ lib/i386:/usr/local/diablo-jdk1.6.0/lib/i386:/usr/local/diablo- jdk1.6.0/lib/i386/native_threads:/usr/local/diablo-jdk1.6.0/bin:/usr/ local/diablo-jdk1.6.0/lib/i386/classic:/usr/local/diablo-jdk1.6.0/lib/ i386/server:/usr/local/diablo-jdk1.6.0/lib/i386/client::/compat/linux/ opt/dlc101a/lib SHELL=/bin/csh HOSTTYPE=FreeBSD OSTYPE=FreeBSD MACHTYPE=i386 Signal Handlers: SIGSEGV: [libjvm.so+0x3685b0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGBUS: [libjvm.so+0x3685b0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGFPE: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGXFSZ: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x2a4f60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000 SIGUSR2: [libjvm.so+0x2a7660], sa_mask[0]=0x00000000, sa_flags=0x00000042 SIGHUP: [libjvm.so+0x2a6750], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGINT: [libjvm.so+0x2a6750], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGTERM: [libjvm.so+0x2a6750], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGQUIT: [libjvm.so+0x2a6750], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 From owner-freebsd-java@FreeBSD.ORG Tue Aug 11 13:01:13 2009 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E718106568B for ; Tue, 11 Aug 2009 13:01:13 +0000 (UTC) (envelope-from jan.grant@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 2788E8FC50 for ; Tue, 11 Aug 2009 13:01:11 +0000 (UTC) Received: from mail.ilrt.bris.ac.uk ([137.222.16.62]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1MaqgP-0006ad-3g; Tue, 11 Aug 2009 13:43:29 +0100 Received: from cse-jg.cse.bris.ac.uk ([137.222.12.37]:58983) by mail.ilrt.bris.ac.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1MaqgD-000407-Hl; Tue, 11 Aug 2009 13:42:17 +0100 Date: Tue, 11 Aug 2009 13:42:17 +0100 (BST) From: jan.grant@bristol.ac.uk X-X-Sender: cmjg@tribble.ilrt.bris.ac.uk To: Afranio Nunes In-Reply-To: <06E7D804-F67E-48AB-8D7F-170DDF3BD1DB@gmail.com> Message-ID: References: <06E7D804-F67E-48AB-8D7F-170DDF3BD1DB@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-ILRT-MailScanner: Found to be clean X-ILRT-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.469, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.93, BAYES_00 -2.60) X-ILRT-MailScanner-From: jan.grant@bristol.ac.uk X-Spam-Status: No X-Spam-Score: -2.9 X-Spam-Level: -- Cc: freebsd-java@FreeBSD.org Subject: Re: Bug X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 13:01:14 -0000 On Mon, 10 Aug 2009, Afranio Nunes wrote: > Dynamic libraries: > 0x08048000 /usr/local/diablo-jdk1.6.0/bin/java > 0x2808d000 /lib/libthr.so.3 > 0x280a0000 /lib/libc.so.7 > 0x28300000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/client/libjvm.so > 0x28ae9000 /usr/lib/libstdc++.so.6 > 0x281a2000 /lib/libm.so.5 > 0x281b7000 /lib/libgcc_s.so.1 > 0x281c3000 > /usr/local/diablo-jdk1.6.0/jre/lib/i386/native_threads/libhpi.so > 0x281de000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libverify.so > 0x28bde000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libjava.so > 0x281eb000 /usr/local/diablo-jdk1.6.0/jre/lib/i386/libzip.so > 0x28c05000 /lib/libz.so.4 > 0x2aeda000 /usr/compat/linux/opt/dlc101a/bin/jni_util.dll > 0x2aef0000 /compat/linux/opt/dlc101a/lib/libjutil.so > 0x2b000000 /compat/linux/opt/dlc101a/lib/libc.so.6 > 0x2b11d000 /compat/linux/opt/dlc101a/lib/ld-linux.so.2 > 0x28059000 /libexec/ld-elf.so.1 I'm not convinced you'll be able to run a native java with a JNI library built for linux; have you tried this with a linux JRE installed under compat? -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ Ever see something and think, "I've gotta leverage me some of that?" Odds are, you were looking at a synergy and didn't even know it. From owner-freebsd-java@FreeBSD.ORG Wed Aug 12 01:27:35 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92530106564A for ; Wed, 12 Aug 2009 01:27:35 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id 692158FC1F for ; Wed, 12 Aug 2009 01:27:35 +0000 (UTC) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id 7EC61125424 for ; Wed, 12 Aug 2009 10:09:01 +0900 (JST) Message-ID: <4A82162C.8040202@ongs.co.jp> Date: Wed, 12 Aug 2009 10:09:00 +0900 From: Daichi GOTO User-Agent: Thunderbird 2.0.0.22 (X11/20090808) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: JDK16 on FreeBSD 8-BETA2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2009 01:27:35 -0000 I have tried to test 8-BETA2 (after shared library version dumped) and JDK16. From a conclusion, I cannot build or use JDK16. % uname -a FreeBSD parancell.ongs.co.jp 8.0-BETA2 FreeBSD 8.0-BETA2 #28: Sat Aug 8 10:23:50 JST 2009 root@parancell.ongs.co.jp:/usr/obj/usr/src/sys/PARANCELL amd64 % Diablo JDK16 couldn't build JDK16/OpenJDK16. Linux Sun JDK is in the same situation. Is there anyone who uses JDK16 on BETA2? -- ONGS Inc. CEO, Daichi GOTO (daichi@ongs.co.jp) TEL: 81-42-316-7945 FAX: 81-42-316-7946 WWW: http://www.ongs.co.jp/ From owner-freebsd-java@FreeBSD.ORG Wed Aug 12 08:22:58 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE9F91065689 for ; Wed, 12 Aug 2009 08:22:58 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com [63.224.10.2]) by mx1.freebsd.org (Postfix) with SMTP id 99C448FC16 for ; Wed, 12 Aug 2009 08:22:58 +0000 (UTC) Received: (qmail 23667 invoked from network); 12 Aug 2009 02:56:16 -0500 Received: from keira.kiwi-computer.com (HELO kiwi-computer.com) (63.224.10.3) by hamlet.setfilepointer.com with SMTP; 12 Aug 2009 02:56:16 -0500 Received: (qmail 72672 invoked by uid 2001); 12 Aug 2009 07:56:16 -0000 Date: Wed, 12 Aug 2009 02:56:16 -0500 From: "Rick C. Petty" To: Daichi GOTO Message-ID: <20090812075616.GA72583@keira.kiwi-computer.com> References: <4A82162C.8040202@ongs.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A82162C.8040202@ongs.co.jp> User-Agent: Mutt/1.4.2.3i Cc: freebsd-java@freebsd.org Subject: Re: JDK16 on FreeBSD 8-BETA2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd2008@kiwi-computer.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2009 08:22:59 -0000 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. > 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 From owner-freebsd-java@FreeBSD.ORG Wed Aug 12 11:43:40 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 406C5106566B for ; Wed, 12 Aug 2009 11:43:40 +0000 (UTC) (envelope-from doug@bitnix.ca) Received: from fipsb01.cogeco.net (smtp1.cogeco.ca [216.221.81.28]) by mx1.freebsd.org (Postfix) with ESMTP id 0144D8FC43 for ; Wed, 12 Aug 2009 11:43:39 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUEAItBgkoYjTUh/2dsb2JhbACBUtBZhBkFgUw X-IronPort-AV: E=Sophos;i="4.43,366,1246852800"; d="scan'208";a="12813229" Received: from d24-141-53-33.home.cgocable.net (HELO srv.cnd.dundas.on.ca) ([24.141.53.33]) by fipsb01.cogeco.net with ESMTP; 12 Aug 2009 07:14:52 -0400 Received: from monk.cnd.dundas.on.ca (monk.cnd.dundas.on.ca [10.87.0.20]) by srv.cnd.dundas.on.ca (8.14.3/8.14.3) with ESMTP id n7CBEpvo055734; Wed, 12 Aug 2009 07:14:51 -0400 (EDT) (envelope-from doug@bitnix.ca) Received: from monk.cnd.dundas.on.ca (localhost [127.0.0.1]) by monk.cnd.dundas.on.ca (8.14.3/8.14.3) with ESMTP id n7CBEpwo013802; Wed, 12 Aug 2009 07:14:51 -0400 (EDT) (envelope-from doug@monk.cnd.dundas.on.ca) Message-Id: <200908121114.n7CBEpwo013802@monk.cnd.dundas.on.ca> To: rick-freebsd2008@kiwi-computer.com In-reply-to: Your message of "Wed, 12 Aug 2009 02:56:16 CDT." <20090812075616.GA72583@keira.kiwi-computer.com> From: "Douglas Berry" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 12 Aug 2009 07:14:51 -0400 Sender: doug@bitnix.ca Cc: Daichi GOTO , freebsd-java@freebsd.org Subject: Re: JDK16 on FreeBSD 8-BETA2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Douglas Berry List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2009 11:43:40 -0000 > Error occurred during initialization of VM > Unable to load ZIP library: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libzip.so I found this on one of the lists... seems to get by the problem. # /etc/libmap.conf # # candidate mapping # # Temporary libmap.cnf to solve problems caused by the 8.0 lib version bump. # diablo still looks for libz.so.4 libz.so.4 libz.so.5 # -- cheers, doug From owner-freebsd-java@FreeBSD.ORG Wed Aug 12 19:04:23 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 445BF106566C for ; Wed, 12 Aug 2009 19:04:23 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com [63.224.10.2]) by mx1.freebsd.org (Postfix) with SMTP id E6B1C8FC44 for ; Wed, 12 Aug 2009 19:04:22 +0000 (UTC) Received: (qmail 13734 invoked from network); 12 Aug 2009 14:04:21 -0500 Received: from keira.kiwi-computer.com (HELO kiwi-computer.com) (63.224.10.3) by hamlet.setfilepointer.com with SMTP; 12 Aug 2009 14:04:21 -0500 Received: (qmail 77946 invoked by uid 2001); 12 Aug 2009 19:04:21 -0000 Date: Wed, 12 Aug 2009 14:04:21 -0500 From: "Rick C. Petty" To: Douglas Berry Message-ID: <20090812190421.GA77922@keira.kiwi-computer.com> References: <20090812075616.GA72583@keira.kiwi-computer.com> <200908121114.n7CBEpwo013802@monk.cnd.dundas.on.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200908121114.n7CBEpwo013802@monk.cnd.dundas.on.ca> User-Agent: Mutt/1.4.2.3i Cc: Daichi GOTO , freebsd-java@freebsd.org Subject: Re: JDK16 on FreeBSD 8-BETA2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd2008@kiwi-computer.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2009 19:04:23 -0000 On Wed, Aug 12, 2009 at 07:14:51AM -0400, Douglas Berry wrote: > > Error occurred during initialization of VM > > Unable to load ZIP library: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libzip.so > > I found this on one of the lists... seems to get by > the problem. > > # /etc/libmap.conf > # > # candidate mapping > # > # Temporary libmap.cnf to solve problems caused by the 8.0 lib version bump. > # diablo still looks for libz.so.4 > libz.so.4 libz.so.5 That worked for bootstrapping a jdk16 build. Once jdk16 installed, the mapping was no longer needed. Thanks! -- Rick C. Petty From owner-freebsd-java@FreeBSD.ORG Thu Aug 13 01:17:22 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3F8A106566B for ; Thu, 13 Aug 2009 01:17:22 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id 6EA388FC3A for ; Thu, 13 Aug 2009 01:17:22 +0000 (UTC) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id D4678125424; Thu, 13 Aug 2009 10:17:20 +0900 (JST) Message-ID: <4A8369A1.40209@ongs.co.jp> Date: Thu, 13 Aug 2009 10:17:21 +0900 From: Daichi GOTO User-Agent: Thunderbird 2.0.0.22 (X11/20090808) MIME-Version: 1.0 To: rick-freebsd2008@kiwi-computer.com References: <20090812075616.GA72583@keira.kiwi-computer.com> <200908121114.n7CBEpwo013802@monk.cnd.dundas.on.ca> <20090812190421.GA77922@keira.kiwi-computer.com> In-Reply-To: <20090812190421.GA77922@keira.kiwi-computer.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Douglas Berry , freebsd-java@freebsd.org Subject: Re: JDK16 on FreeBSD 8-BETA2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2009 01:17:22 -0000 Rick C. Petty wrote: > On Wed, Aug 12, 2009 at 07:14:51AM -0400, Douglas Berry wrote: >>> Error occurred during initialization of VM >>> Unable to load ZIP library: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libzip.so >> I found this on one of the lists... seems to get by >> the problem. >> >> # /etc/libmap.conf >> # >> # candidate mapping >> # >> # Temporary libmap.cnf to solve problems caused by the 8.0 lib version bump. >> # diablo still looks for libz.so.4 >> libz.so.4 libz.so.5 It's bingo! > That worked for bootstrapping a jdk16 build. Once jdk16 installed, the > mapping was no longer needed. Thanks! > > -- Rick C. Petty > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" I have gotten a success to build jdk16 with diablo jdk16. Thanks :) -- ONGS Inc. CEO, Daichi GOTO (daichi@ongs.co.jp) TEL: 81-42-316-7945 FAX: 81-42-316-7946 WWW: http://www.ongs.co.jp/ From owner-freebsd-java@FreeBSD.ORG Thu Aug 13 03:47:41 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1431106566B for ; Thu, 13 Aug 2009 03:47:41 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) Received: from ipmail02.adl6.internode.on.net (ipmail02.adl6.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2FD498FC41 for ; Thu, 13 Aug 2009 03:47:40 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUEAHkkg0p5Ldfo/2dsb2JhbACBUtFyhBkFgUw X-IronPort-AV: E=Sophos;i="4.43,372,1246804200"; d="scan'208";a="18518655" Received: from ppp121-45-215-232.lns11.adl2.internode.on.net (HELO alpha.home) ([121.45.215.232]) by ipmail02.adl6.internode.on.net with ESMTP; 13 Aug 2009 13:02:08 +0930 From: Malcolm Kay Organization: at home To: freebsd-java@freebsd.org Date: Thu, 13 Aug 2009 13:02:06 +0930 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908131302.06949.malcolm.kay@internode.on.net> Subject: Why diablo-jdk? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2009 03:47:42 -0000 It seems that many (if not most) posts to this list concern the Diablo version of jdk. Is there some particular merit in using this in preference to the regular FreeBSD port -- say jdk16? Your comment is welcome, Malcolm From owner-freebsd-java@FreeBSD.ORG Thu Aug 13 07:54:47 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2902A106564A for ; Thu, 13 Aug 2009 07:54:47 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail02.adl6.internode.on.net (ipmail02.adl6.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id 98E188FC44 for ; Thu, 13 Aug 2009 07:54:45 +0000 (UTC) Received: from ppp103-111.static.internode.on.net (HELO [192.168.1.144]) ([150.101.103.111]) by ipmail02.adl6.internode.on.net with ESMTP; 13 Aug 2009 17:08:29 +0930 From: Wayne Sierke To: Malcolm Kay In-Reply-To: <200908131302.06949.malcolm.kay@internode.on.net> References: <200908131302.06949.malcolm.kay@internode.on.net> Content-Type: text/plain Date: Thu, 13 Aug 2009 17:08:22 +0930 Message-Id: <1250149102.63923.1169.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Why diablo-jdk? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2009 07:54:47 -0000 On Thu, 2009-08-13 at 13:02 +0930, Malcolm Kay wrote: > It seems that many (if not most) posts to this list concern the > Diablo version of jdk. > > Is there some particular merit in using this in preference to the > regular FreeBSD port -- say jdk16? > > > Your comment is welcome, > Malcolm I've been meaning to pose a related question. Why is it that in /usr/ports/Mk/bsd.java.Mk java/diablo-jdk15 is preferred over java/jdk16? In fact the order of preference seems to be: diablo-jdk16, diablo-jdk15, openjdk6 then jdk16 ... I alluded to this curiosity in my recent post to freebsd-eclipse@ "java process doesn't terminate after exiting eclipse". With the two aforementioned java ports installed then by default: %java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) Java HotSpot(TM) Server VM (build diablo-1.5.0_07-b01, mixed mode) and I must set JAVA_HOME or, as I have now done, add to /etc/make.conf: JAVA_PREFERRED_PORTS?= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_6 to get java/jdk16. Using textproc/fop recently with both port versions I've noticed that fop generally runs around 25% faster with java/jdk16. I also seem to recall having read statements to the effect that the java/diablo-jdk ports are "less functional" than the java/jdk ports making the preference given to the former all the more curious. Wayne From owner-freebsd-java@FreeBSD.ORG Thu Aug 13 16:20:24 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DF131065673 for ; Thu, 13 Aug 2009 16:20:24 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com [63.224.10.2]) by mx1.freebsd.org (Postfix) with SMTP id AD3098FC16 for ; Thu, 13 Aug 2009 16:20:23 +0000 (UTC) Received: (qmail 74873 invoked from network); 13 Aug 2009 11:20:23 -0500 Received: from keira.kiwi-computer.com (HELO kiwi-computer.com) (63.224.10.3) by hamlet.setfilepointer.com with SMTP; 13 Aug 2009 11:20:23 -0500 Received: (qmail 86832 invoked by uid 2001); 13 Aug 2009 16:20:22 -0000 Date: Thu, 13 Aug 2009 11:20:22 -0500 From: "Rick C. Petty" To: Wayne Sierke Message-ID: <20090813162022.GA86679@keira.kiwi-computer.com> References: <200908131302.06949.malcolm.kay@internode.on.net> <1250149102.63923.1169.camel@predator-ii.buffyverse> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1250149102.63923.1169.camel@predator-ii.buffyverse> User-Agent: Mutt/1.4.2.3i Cc: Malcolm Kay , freebsd-java@freebsd.org Subject: Re: Why diablo-jdk? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd2008@kiwi-computer.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2009 16:20:24 -0000 On Thu, Aug 13, 2009 at 05:08:22PM +0930, Wayne Sierke wrote: > On Thu, 2009-08-13 at 13:02 +0930, Malcolm Kay wrote: > > It seems that many (if not most) posts to this list concern the > > Diablo version of jdk. > > > > Is there some particular merit in using this in preference to the > > regular FreeBSD port -- say jdk16? > > > > Your comment is welcome, > > Malcolm > > I've been meaning to pose a related question. > > Why is it that in /usr/ports/Mk/bsd.java.Mk java/diablo-jdk15 is > preferred over java/jdk16? In fact the order of preference seems to be: > diablo-jdk16, diablo-jdk15, openjdk6 then jdk16 ... I believe it's because building the non-diablo JDKs takes a significant amount of time and drive space. Most people don't want the hassle of compiling a JDK, especially since you need to bootstrap it with another JDK. It's a classic chicken and egg problem. I think this way satisfies more people. The order that you specified seems to correct to me. > %java -version > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) > Java HotSpot(TM) Server VM (build diablo-1.5.0_07-b01, mixed mode) > > and I must set JAVA_HOME or, as I have now done, add to /etc/make.conf: If you don't want 1.5, why don't you install diablo-jdk16? Or if you want both installed, use JAVA_VERSION or JAVA_OS instead of JAVA_HOME. As you pointed out above, if you had installed diablo-jdk16, it would have picked that over diablo-jdk15. > Using textproc/fop recently with both port versions I've noticed that > fop generally runs around 25% faster with java/jdk16. Compared to diablo-jdk16? That I'm not surprised. > I also seem to recall having read statements to the effect that the > java/diablo-jdk ports are "less functional" than the java/jdk ports > making the preference given to the former all the more curious. I think this is utter bull (not that you have read such statements, but that such statements were based on truth)... I use diablo 1.5 and 1.6 all the time, as well as the native jdk15 and jdk16. Recently I've been installing diablo just to bootstrap a native jdk build. I build the native JDKs myself because I want local variable tables and line number tables (i.e. full debug builds) of JVM and standard classes. I also add a bunch of "missing" files from src.zip so I can step through pretty much everything except JNI. I've never noticed any performance or functional difference between diablo and natively-built JDKs and I've been using both for years. My argument is for keeping the current order for choosing which port to build. However, the order they are chosen when running java is purely defined by the order they appear in /usr/local/etc/javavms, which is the order in which the JVMs were installed. I would support someone writing a knob to sort the VMs first by JAVA_OS then by JAVA_VERSION when registering a new JVM. It would be rather easy since the wrapper is a /bin/sh script. See /usr/local/bin/javavm for details. I look forward to seeing your patch to do this! =) -- Rick C. Petty From owner-freebsd-java@FreeBSD.ORG Thu Aug 13 18:30:51 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12A0D1065675 for ; Thu, 13 Aug 2009 18:30:51 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out3.tiscali.nl (smtp-out3.tiscali.nl [195.241.79.178]) by mx1.freebsd.org (Postfix) with ESMTP id C91CE8FC3A for ; Thu, 13 Aug 2009 18:30:50 +0000 (UTC) Received: from [212.123.145.58] (helo=sjakie.klop.ws) by smtp-out3.tiscali.nl with esmtp (Exim) (envelope-from ) id 1Mbeh1-0006tk-RA; Thu, 13 Aug 2009 20:06:27 +0200 Received: from 82-170-177-25.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id EF5CBA2A3; Thu, 13 Aug 2009 20:06:15 +0200 (CEST) Date: Thu, 13 Aug 2009 20:06:14 +0200 To: "Daichi GOTO" , rick-freebsd2008@kiwi-computer.com From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20090812075616.GA72583@keira.kiwi-computer.com> <200908121114.n7CBEpwo013802@monk.cnd.dundas.on.ca> <20090812190421.GA77922@keira.kiwi-computer.com> <4A8369A1.40209@ongs.co.jp> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <4A8369A1.40209@ongs.co.jp> User-Agent: Opera Mail/9.64 (FreeBSD) Cc: Douglas Berry , freebsd-java@freebsd.org Subject: Re: JDK16 on FreeBSD 8-BETA2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2009 18:30:51 -0000 On Thu, 13 Aug 2009 03:17:21 +0200, Daichi GOTO wrote: > Rick C. Petty wrote: >> On Wed, Aug 12, 2009 at 07:14:51AM -0400, Douglas Berry wrote: >>>> Error occurred during initialization of VM >>>> Unable to load ZIP library: >>>> /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libzip.so >>> I found this on one of the lists... seems to get by >>> the problem. >>> >>> # /etc/libmap.conf >>> # >>> # candidate mapping >>> # >>> # Temporary libmap.cnf to solve problems caused by the 8.0 lib version >>> bump. >>> # diablo still looks for libz.so.4 >>> libz.so.4 libz.so.5 > > It's bingo! > >> That worked for bootstrapping a jdk16 build. Once jdk16 installed, the >> mapping was no longer needed. Thanks! >> -- Rick C. Petty >> _______________________________________________ >> freebsd-java@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-java >> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > I have gotten a success to build jdk16 with diablo jdk16. > Thanks :) > There probably needs to appear a misc/compat7x package for this to work out of the box. Which is also mentioned in http://wiki.freebsd.org/8.0TODO . Cheers, Ronald. From owner-freebsd-java@FreeBSD.ORG Thu Aug 13 18:36:44 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20405106566B for ; Thu, 13 Aug 2009 18:36:44 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com [63.224.10.2]) by mx1.freebsd.org (Postfix) with SMTP id BC5898FC3F for ; Thu, 13 Aug 2009 18:36:43 +0000 (UTC) Received: (qmail 14600 invoked from network); 13 Aug 2009 13:36:43 -0500 Received: from keira.kiwi-computer.com (HELO kiwi-computer.com) (63.224.10.3) by hamlet.setfilepointer.com with SMTP; 13 Aug 2009 13:36:43 -0500 Received: (qmail 87884 invoked by uid 2001); 13 Aug 2009 18:36:41 -0000 Date: Thu, 13 Aug 2009 13:36:41 -0500 From: "Rick C. Petty" To: Ronald Klop Message-ID: <20090813183641.GA87807@keira.kiwi-computer.com> References: <20090812075616.GA72583@keira.kiwi-computer.com> <200908121114.n7CBEpwo013802@monk.cnd.dundas.on.ca> <20090812190421.GA77922@keira.kiwi-computer.com> <4A8369A1.40209@ongs.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Douglas Berry , Daichi GOTO , freebsd-java@freebsd.org Subject: Re: JDK16 on FreeBSD 8-BETA2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd2008@kiwi-computer.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2009 18:36:44 -0000 On Thu, Aug 13, 2009 at 08:06:14PM +0200, Ronald Klop wrote: > On Thu, 13 Aug 2009 03:17:21 +0200, Daichi GOTO wrote: > > >Rick C. Petty wrote: > >>On Wed, Aug 12, 2009 at 07:14:51AM -0400, Douglas Berry wrote: > >>>>Error occurred during initialization of VM > >>>>Unable to load ZIP library: > >>>>/usr/local/diablo-jdk1.6.0/jre/lib/amd64/libzip.so > >>>I found this on one of the lists... seems to get by > >>>the problem. > >>> > >>># /etc/libmap.conf > >>># > >>># candidate mapping > >>># > >>># Temporary libmap.cnf to solve problems caused by the 8.0 lib version > >>>bump. > >>># diablo still looks for libz.so.4 > >>>libz.so.4 libz.so.5 > > There probably needs to appear a misc/compat7x package for this to work > out of the box. > Which is also mentioned in http://wiki.freebsd.org/8.0TODO . Actually, that was the first port I tried to look for after upgrading to 8.0-beta2. I'm just surprised it wasn't created before 8.0-beta. Because it didn't exist, I just forcibly upgraded all my ports. Most of which worked, but diablo-jdk16 certainly did not (as would be expected since it's a binary-only port). I was just falsely led by the error message. Looking back, it makes sense. -- Rick C. Petty From owner-freebsd-java@FreeBSD.ORG Fri Aug 14 00:25:53 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 201DF106568C for ; Fri, 14 Aug 2009 00:25:53 +0000 (UTC) (envelope-from lane@joeandlane.com) Received: from elasmtp-masked.atl.sa.earthlink.net (elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]) by mx1.freebsd.org (Postfix) with ESMTP id E7EFD8FC4B for ; Fri, 14 Aug 2009 00:25:52 +0000 (UTC) Received: from [66.47.111.183] (helo=jail.joeandlane.com) by elasmtp-masked.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1MbkBX-00039e-Fg for freebsd-java@freebsd.org; Thu, 13 Aug 2009 19:58:19 -0400 Received: from [192.168.0.200] (SERVER [192.168.0.200] (may be forged)) by jail.joeandlane.com (8.14.3/8.14.3) with ESMTP id n7DNv8dV032364 for ; Thu, 13 Aug 2009 18:57:08 -0500 (CDT) (envelope-from lane@joeandlane.com) From: Lane Holcombe To: freebsd-java@freebsd.org Content-Type: text/plain Date: Thu, 13 Aug 2009 18:58:09 -0500 Message-Id: <1250207889.16044.25.camel@lholcombe-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-ONCEAWAVE-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: n7DNv8dV032364 X-ONCEAWAVE-MailScanner: Found to be clean X-ONCEAWAVE-MailScanner-From: lane@joeandlane.com X-Spam-Status: No X-ELNK-Trace: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec79d8f3d977d03b150cdbca079f6d5dfbd7350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.47.111.183 Subject: ScriptEngineManager.getEngineFactories() is empty List<> X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2009 00:25:53 -0000 Hi, Sorry if this was asked before, but htdig did not yield any results for my queries. I'm on 7.2-STABLE, trying to use jdk6 I've installed each of these jdk's, trying to find one which has the rhino script engine bundled: jdk16, diablo-jdk16, linux-sun-jdk16, and openjdk6. No such luck. Each call to (new ScriptEngineManager()).getEngineFactories() yields and empty list (Note: that is pseudo-code for brevity. My call to getEngineFactories() works on ubuntu, xp, etc., just not on freebsd). I see in the source below /usr/ports/java/jdk16/work/... that the Rhino engine is included in the port, but it is apparently NOT included in rt.jar when the port is built. Sun claims that scripting engines can be "plugged in," but I've not found a single line of documentation that explains how I would do this. Is there a build-time switch I can use to include rhino scripting when rt.jar is built? Or a run-time switch that would cause java to expose the contents of js.jar to the ScriptEngineManager? I can get rhino to work as a command-line utility by installing ports/lang/rhino, but I want to use the scriptengine in a server-based project. Thanks for your attention. lane From owner-freebsd-java@FreeBSD.ORG Fri Aug 14 11:37:11 2009 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73F73106568B; Fri, 14 Aug 2009 11:37:11 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4A3468FC60; Fri, 14 Aug 2009 11:37:11 +0000 (UTC) Received: from freefall.freebsd.org (miwi@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7EBbAhR051528; Fri, 14 Aug 2009 11:37:10 GMT (envelope-from miwi@freefall.freebsd.org) Received: (from miwi@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7EBbAx2051524; Fri, 14 Aug 2009 11:37:10 GMT (envelope-from miwi) Date: Fri, 14 Aug 2009 11:37:10 GMT Message-Id: <200908141137.n7EBbAx2051524@freefall.freebsd.org> To: shad0w.dot.vrn.at.gmail.dot.com@FreeBSD.org, miwi@FreeBSD.org, freebsd-java@FreeBSD.org From: miwi@FreeBSD.org Cc: Subject: Re: ports/135002: don't make in /usr/ports/net-im/openfire X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2009 11:37:11 -0000 Synopsis: don't make in /usr/ports/net-im/openfire State-Changed-From-To: open->closed State-Changed-By: miwi State-Changed-When: Fri Aug 14 11:37:10 UTC 2009 State-Changed-Why: Feedback timeout. If you want to fix this port, please feel free to follow-up this PR so that we can re-open it. http://www.freebsd.org/cgi/query-pr.cgi?pr=135002