From owner-freebsd-java@FreeBSD.ORG Sun Oct 23 10:51:43 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FF8016A41F for ; Sun, 23 Oct 2005 10:51:43 +0000 (GMT) (envelope-from apivovarov@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id E97A243D55 for ; Sun, 23 Oct 2005 10:51:42 +0000 (GMT) (envelope-from apivovarov@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so473392nzk for ; Sun, 23 Oct 2005 03:51:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=C+EKWjeoMPpi/lhQ8sWTv17N4fmdokDvDDIlnIaZgPjoNeZ43bQXLPrwT1uzVC5WMvj6V/nX7+I3II31F1JLJnDFvz7NRSUs9rcFGWwUQJd5mgCRtNSW5HM9C+mAtUti59w+MqKehJzlWDfutP3Gpp0ayEUuMUI6xhZQpwmj7AY= Received: by 10.37.14.41 with SMTP id r41mr5408548nzi; Sun, 23 Oct 2005 03:51:42 -0700 (PDT) Received: by 10.36.120.16 with HTTP; Sun, 23 Oct 2005 03:51:42 -0700 (PDT) Message-ID: <426b510c0510230351k718c38ffr43273a31204414e6@mail.gmail.com> Date: Sun, 23 Oct 2005 14:51:42 +0400 From: Alex Pivovarov To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: "An unexpected error" when i run class with constructor creating itself. (jdk1.5.0-p2) 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: Sun, 23 Oct 2005 10:51:43 -0000 I made a class Constr with a constructor which run =3D new Constr(). public class Constr { =09public int field1 =3D 1; =09public Constr() { =09=09Constr constr =3D new Constr(); =09} =09public static void main(String args[]) { =09=09Constr constr =3D new Constr(); =09} } ------------- What I get after run: ---------------------- %java Constr # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGBUS (0xa) at pc=3D0x2b558260, pid=3D2878, tid=3D0x8060000 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-p2-root_21_oct_2005_11_50 mixed mode) # Problematic frame: # J Constr.()V # # An error report file with more information is saved as hs_err_pid2878.log # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list # Abort (core dumped) --------------------- log---------------------------- hs_err_pid2878.log - see below --------------- T H R E A D --------------- Current thread (0x08060c00): JavaThread "main" [_thread_in_Java, id=3D1346= 10944] siginfo:si_signo=3D10, si_errno=3D0, si_code=3D12, si_addr=3D0xbfafffec Registers: EAX=3D0x2d5a0980, EBX=3D0x00000000, ECX=3D0x2d5a0980, EDX=3D0x316ac248 ESP=3D0xbfb02fec, EBP=3D0xbfb03018, ESI=3D0x00000000, EDI=3D0x00000000 EIP=3D0x2b558260, EFLAGS=3D0x00010246 Top of Stack: (sp=3D0xbfb02fec) 0xbfb02fec: 2b558325 2d5a0980 00000000 280966d3 0xbfb02ffc: 00000000 2d5a0980 2d5a0970 bfb03048 0xbfb0300c: 2b5582e0 2d5a0970 316ac248 bfb03048 0xbfb0301c: 2b558325 2d5a0960 00000000 280966d3 0xbfb0302c: 00000000 2d5a0960 2d5a0950 bfb03078 0xbfb0303c: 2b5582e0 2d5a0950 316ac248 bfb03078 0xbfb0304c: 2b558325 2d5a0940 00000000 280966d3 0xbfb0305c: 00000000 2d5a0940 2d5a0930 bfb030a8 Instructions: (pc=3D0x2b558260) 0x2b558250: 90 90 90 90 90 90 90 3b 41 04 0f 85 20 ae fe ff 0x2b558260: 89 84 24 00 d0 ff ff 55 8b ec 83 ec 28 8b 75 08 Stack: [0xbfb00000,0xbfc00000), sp=3D0xbfb02fec, free space=3D11k Native frames: (J=3Dcompiled Java code, j=3Dinterpreted, Vv=3DVM code, C=3D= native code) J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V ...... --------------- P R O C E S S --------------- Java Threads: ( =3D> current thread ) 0x08140c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3D135532032] 0x08140800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3D135= 531008] 0x08140400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3D135529984] 0x08140000 JavaThread "Finalizer" daemon [_thread_blocked, id=3D135528960= ] 0x0806bc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=3D134659584] =3D>0x08060c00 JavaThread "main" [_thread_in_Java, id=3D134610944] Other Threads: 0x0805af00 VMThread [id=3D134658560] 0x0805aa00 WatcherThread [id=3D135655936] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 576K, used 326K [0x2d560000, 0x2d600000, 0x2da4= 0000) eden space 512K, 51% used [0x2d560000, 0x2d5a1a88, 0x2d5e0000) from space 64K, 100% used [0x2d5f0000, 0x2d600000, 0x2d600000) to space 64K, 0% used [0x2d5e0000, 0x2d5e0000, 0x2d5f0000) tenured generation total 1408K, used 416K [0x2da40000, 0x2dba0000, 0x31560000) the space 1408K, 29% used [0x2da40000, 0x2daa8008, 0x2daa8200, 0x2dba00= 00) compacting perm gen total 8192K, used 1329K [0x31560000, 0x31d60000, 0x35560000) the space 8192K, 16% used [0x31560000, 0x316ac508, 0x316ac600, 0x31d600= 00) No shared spaces configured. Dynamic libraries: 0x08048000 =09/usr/local/jdk1.5.0/bin/java 0x2808c000 =09/usr/lib/libpthread.so.1 0x280b0000 =09/lib/libc.so.5 0x2818b000 =09/usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so 0x285dd000 =09/lib/libm.so.3 0x285f9000 =09/usr/local/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so 0x2860a000 =09/usr/local/jdk1.5.0/jre/lib/i386/libverify.so 0x28617000 =09/usr/local/jdk1.5.0/jre/lib/i386/libjava.so 0x28635000 =09/usr/local/jdk1.5.0/jre/lib/i386/libzip.so 0x28055000 =09/libexec/ld-elf.so.1 VM Arguments: java_command: Constr Environment Variables: JAVA_HOME=3D/usr/local/jdk1.5.0 PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/= bin:/usr/X11R6/bin:/home/alex/bin LD_LIBRARY_PATH=3D/usr/local/jdk1.5.0/jre/lib/i386/client:/usr/local/jdk1.5= .0/jre/lib/i386:/usr/local/jdk1.5.0/jre/../lib/i386 SHELL=3D/bin/csh DISPLAY=3D:0.0 HOSTTYPE=3DFreeBSD OSTYPE=3DFreeBSD MACHTYPE=3Di386 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Wed Oct 19 20:52:56 MSD 2005 root@st1.fqdn:/usr/src/sys/i386/compile/st1deb i386 rlimit: STACK 65536k, CORE infinity, NOFILE 7322 CPU:total 1 family 6, cmov, cx8, fxsr, mmx Memory: 4k page, physical 469292k vm_info: Java HotSpot(TM) Client VM (1.5.0-p2-root_21_oct_2005_11_50) for freebsd-x86, built on Oct 21 2005 13:43:00 by root with gcc 3.4.2 [FreeBSD] 20040728 ------------------------ P.S. -------------------------- in jdk1.4.2-p7 after run this class I just get stack overflow error. %java TestCon Exception in thread "main" java.lang.StackOverflowError From owner-freebsd-java@FreeBSD.ORG Sun Oct 23 13:52:47 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AD8416A41F for ; Sun, 23 Oct 2005 13:52:47 +0000 (GMT) (envelope-from freebsd-java@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD13F43D45 for ; Sun, 23 Oct 2005 13:52:45 +0000 (GMT) (envelope-from freebsd-java@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1ETgFL-0005Ud-JM for freebsd-java@freebsd.org; Sun, 23 Oct 2005 15:50:47 +0200 Received: from pcp0010357714pcs.indpnd01.mo.comcast.net ([69.242.190.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Oct 2005 15:50:47 +0200 Received: from mriem by pcp0010357714pcs.indpnd01.mo.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Oct 2005 15:50:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: "Manfred Riem" Date: Sun, 23 Oct 2005 08:35:13 -0600 Lines: 269 Message-ID: References: <426b510c0510230351k718c38ffr43273a31204414e6@mail.gmail.com> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pcp0010357714pcs.indpnd01.mo.comcast.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Original Sender: news Subject: Re: "An unexpected error" when i run class with constructor creatingitself. (jdk1.5.0-p2) 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: Sun, 23 Oct 2005 13:52:47 -0000 Hi Alex, "Alex Pivovarov" wrote in message news:426b510c0510230351k718c38ffr43273a31204414e6@mail.gmail.com... I made a class Constr with a constructor which run = new Constr(). public class Constr { public int field1 = 1; public Constr() { Constr constr = new Constr(); } public static void main(String args[]) { Constr constr = new Constr(); } } ------------- What I get after run: ---------------------- %java Constr # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGBUS (0xa) at pc=0x2b558260, pid=2878, tid=0x8060000 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-p2-root_21_oct_2005_11_50 mixed mode) # Problematic frame: # J Constr.()V # # An error report file with more information is saved as hs_err_pid2878.log # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list # Abort (core dumped) --------------------- log---------------------------- hs_err_pid2878.log - see below --------------- T H R E A D --------------- Current thread (0x08060c00): JavaThread "main" [_thread_in_Java, id=134610944] siginfo:si_signo=10, si_errno=0, si_code=12, si_addr=0xbfafffec Registers: EAX=0x2d5a0980, EBX=0x00000000, ECX=0x2d5a0980, EDX=0x316ac248 ESP=0xbfb02fec, EBP=0xbfb03018, ESI=0x00000000, EDI=0x00000000 EIP=0x2b558260, EFLAGS=0x00010246 Top of Stack: (sp=0xbfb02fec) 0xbfb02fec: 2b558325 2d5a0980 00000000 280966d3 0xbfb02ffc: 00000000 2d5a0980 2d5a0970 bfb03048 0xbfb0300c: 2b5582e0 2d5a0970 316ac248 bfb03048 0xbfb0301c: 2b558325 2d5a0960 00000000 280966d3 0xbfb0302c: 00000000 2d5a0960 2d5a0950 bfb03078 0xbfb0303c: 2b5582e0 2d5a0950 316ac248 bfb03078 0xbfb0304c: 2b558325 2d5a0940 00000000 280966d3 0xbfb0305c: 00000000 2d5a0940 2d5a0930 bfb030a8 Instructions: (pc=0x2b558260) 0x2b558250: 90 90 90 90 90 90 90 3b 41 04 0f 85 20 ae fe ff 0x2b558260: 89 84 24 00 d0 ff ff 55 8b ec 83 ec 28 8b 75 08 Stack: [0xbfb00000,0xbfc00000), sp=0xbfb02fec, free space=11k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V J Constr.()V ...... --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x08140c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=135532032] 0x08140800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=135531008] 0x08140400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135529984] 0x08140000 JavaThread "Finalizer" daemon [_thread_blocked, id=135528960] 0x0806bc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=134659584] =>0x08060c00 JavaThread "main" [_thread_in_Java, id=134610944] Other Threads: 0x0805af00 VMThread [id=134658560] 0x0805aa00 WatcherThread [id=135655936] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 576K, used 326K [0x2d560000, 0x2d600000, 0x2da40000) eden space 512K, 51% used [0x2d560000, 0x2d5a1a88, 0x2d5e0000) from space 64K, 100% used [0x2d5f0000, 0x2d600000, 0x2d600000) to space 64K, 0% used [0x2d5e0000, 0x2d5e0000, 0x2d5f0000) tenured generation total 1408K, used 416K [0x2da40000, 0x2dba0000, 0x31560000) the space 1408K, 29% used [0x2da40000, 0x2daa8008, 0x2daa8200, 0x2dba0000) compacting perm gen total 8192K, used 1329K [0x31560000, 0x31d60000, 0x35560000) the space 8192K, 16% used [0x31560000, 0x316ac508, 0x316ac600, 0x31d60000) No shared spaces configured. Dynamic libraries: 0x08048000 /usr/local/jdk1.5.0/bin/java 0x2808c000 /usr/lib/libpthread.so.1 0x280b0000 /lib/libc.so.5 0x2818b000 /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so 0x285dd000 /lib/libm.so.3 0x285f9000 /usr/local/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so 0x2860a000 /usr/local/jdk1.5.0/jre/lib/i386/libverify.so 0x28617000 /usr/local/jdk1.5.0/jre/lib/i386/libjava.so 0x28635000 /usr/local/jdk1.5.0/jre/lib/i386/libzip.so 0x28055000 /libexec/ld-elf.so.1 VM Arguments: java_command: Constr Environment Variables: JAVA_HOME=/usr/local/jdk1.5.0 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/alex/bin LD_LIBRARY_PATH=/usr/local/jdk1.5.0/jre/lib/i386/client:/usr/local/jdk1.5.0/jre/lib/i386:/usr/local/jdk1.5.0/jre/../lib/i386 SHELL=/bin/csh DISPLAY=:0.0 HOSTTYPE=FreeBSD OSTYPE=FreeBSD MACHTYPE=i386 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Wed Oct 19 20:52:56 MSD 2005 root@st1.fqdn:/usr/src/sys/i386/compile/st1deb i386 rlimit: STACK 65536k, CORE infinity, NOFILE 7322 CPU:total 1 family 6, cmov, cx8, fxsr, mmx Memory: 4k page, physical 469292k vm_info: Java HotSpot(TM) Client VM (1.5.0-p2-root_21_oct_2005_11_50) for freebsd-x86, built on Oct 21 2005 13:43:00 by root with gcc 3.4.2 [FreeBSD] 20040728 ------------------------ P.S. -------------------------- in jdk1.4.2-p7 after run this class I just get stack overflow error. %java TestCon Exception in thread "main" java.lang.StackOverflowError _______________________________________________ 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" This is a completely normal error. You are recursive constructing an object in the constructor. This will always generate a StackOverflowError. Since you are not catching Errors the VM can have a default implementation that prints out a message (just like it does). Kind regards, Manfred Riem mriem@manorrock.org From owner-freebsd-java@FreeBSD.ORG Sun Oct 23 17:56:11 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73C3816A41F; Sun, 23 Oct 2005 17:56:11 +0000 (GMT) (envelope-from brucem@mail.cruzio.com) Received: from cruzio.com (dsl3-63-249-85-132.cruzio.com [63.249.85.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06EC643D45; Sun, 23 Oct 2005 17:56:10 +0000 (GMT) (envelope-from brucem@mail.cruzio.com) Received: from mail.cruzio.com (localhost [127.0.0.1]) by cruzio.com (8.12.10/8.12.10) with ESMTP id j9NHwBx3000364; Sun, 23 Oct 2005 10:58:11 -0700 (PDT) (envelope-from brucem@mail.cruzio.com) Received: (from brucem@localhost) by mail.cruzio.com (8.12.10/8.12.10/Submit) id j9NHwBTp000363; Sun, 23 Oct 2005 10:58:11 -0700 (PDT) (envelope-from brucem) Date: Sun, 23 Oct 2005 10:58:11 -0700 (PDT) From: "Bruce R. Montague" Message-Id: <200510231758.j9NHwBTp000363@mail.cruzio.com> To: freebsd-java@freebsd.org Cc: freebsd-ports@freebsd.org Subject: Re: [SUGGEST] Reform eclipse and eclipse related ports 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: Sun, 23 Oct 2005 17:56:11 -0000 Hi, re large IDE-like things (Eclipse, Emacs) and the ports tree... FreeBSD's source-centric ports tree is probably FreeBSD's second-best feature (after the source-centric system). Over time (decades) the ports tree might come to be one of the world's great repositories, or at least repository "index" (isn't it already? ;). It should make no bones about this. Two trends relating to the ports tree (an opinion): * Any really succesful large application, over time (again, decades) becomes it's own interpretter- language-IDE-environemnt. Past a certain point, these things often never go away, they just grow. In addition to things like Emacs, Eclipse, and even X (hey, what about the Java Netbeans environment users?) there are a number of application-oriented systems: OpenOffice, R, Octave, Grass, maxima, etc.. R (open source version of S stat-pack), Octave (open source Matlab), grass (open source GIS), maxima (open source, well, Macsyma). These things, like Eclipse, can accumulate all sorts of related shims, addons, and extensions. Some of these are really popular, world-class, in their category (R), some are relatively new, but potentially popular (grass), and some are almost moribund old classics, maybe starting to make a come-back (maxima). None of these will ever "take over the world", because they are special-purpose. But they can be expected to grow and will often motiviate use of FreeBSD in classic scientific workstation environments; FreeBSD should strive to be a preferred platform for those who want to run these environments, in particular those who want to easily track the latest releases, run these sorts of things simultaneously, and access the source. * I'm not so sure about framework-centric progamming taking over the world, but other languages besides C (or at least those supported by the gcc backend) are finally(?) becoming somewhat common on Unix systems, perhaps because computers are now so fast that interpretters are attractive. If a language is succesful, of course, over time a lot of other files in the ports tree will become dependent on it. (Even if framework-centric systems dont turn out to be a silver bullet, they likely will continue to grow like everything else.) The "Ports in virtual categories" section of the ports tree currently contains mostly categories for desktops or programming languages. How hard would it be to support 2 levels of "virtual categories", in some cases? Can this already be done? Then one could add a "Java" virtual category and under it create "Eclipse" and "Netbeans" categories (or whatever, just for illustration). Anything in the ports tree that grew to a certain size, in terms of the number of other ports that were directly related to it or dependent on it (or likely to be accessed and installed by someone using it), would be considered for inclusion somewhere in the virtual ports tree, where it could all be viewed as "one big ball of stuff". - bruce From owner-freebsd-java@FreeBSD.ORG Sun Oct 23 19:58:39 2005 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F270F16A41F for ; Sun, 23 Oct 2005 19:58:38 +0000 (GMT) (envelope-from roland.schulz@galileiconsult.de) Received: from galileiconsult.de (box7898.elkhouse.de [213.9.78.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 957D943D45 for ; Sun, 23 Oct 2005 19:58:38 +0000 (GMT) (envelope-from roland.schulz@galileiconsult.de) From: "Roland Schulz" To: Date: Sun, 23 Oct 2005 21:58:24 +0200 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0020_01C5D81C.E37EA960" Thread-Index: AcXYDB7eCc5FS3ZXRDS8sJyHymEwbw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Received: from rschulz by galileiconsult.de with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.52 #0) id 1ETlye-0005Ab-Vg; Sun, 23 Oct 2005 21:58:19 +0200 Message-Id: <20051023195838.957D943D45@mx1.FreeBSD.org> Cc: it@galileiconsult.de Subject: Open-Xchange 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: Sun, 23 Oct 2005 19:58:39 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0020_01C5D81C.E37EA960 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hey, the open-xchange developer say, that the bug I reported as #600 http://www.open-xchange.org/cgi-bin/bugzilla/show_bug.cgi?id=600 is probably not an application error but rather freebsd-java related, because it only occurs on my freebsd machine. Do you think so too? What other information besides those provided in linked bug report do you need? Regards Roland Schulz ------=_NextPart_000_0020_01C5D81C.E37EA960 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJfDCCAwQw ggJtoAMCAQICAw3cmzANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDUwMTIxMjA0MTIxWhcNMDYwMTIxMjA0MTIxWjBqMQ8wDQYDVQQE EwZTY2h1bHoxDzANBgNVBCoTBlJvbGFuZDEWMBQGA1UEAxMNUm9sYW5kIFNjaHVsejEuMCwGCSqG SIb3DQEJARYfcm9sYW5kLnNjaHVsekBnYWxpbGVpY29uc3VsdC5kZTCCASIwDQYJKoZIhvcNAQEB BQADggEPADCCAQoCggEBAMGu2kkXjSHRth/b61EF1iHhvvTjqEasoxyTQK7G9t9qtF2i7m64g5pi YzwYsf/Imy4CFexNJubPA7T1F9Y1K8UqiOu8uLgO4fWRcZm58nsuS5VINoLIQcUzP5TDWJSX9ovO WcMlMONOHdWReX4VBhW9iwzjaFc0/oy47Tl+U12fZD0FbP5Je1pFX10qJGT/scmzddsAT/i6RJ7V EwMAOG7+/AX47y2oAd1AT9HoT/3tN26PHAnEFhzSExK35OijaYAK6k6q4V/4H2yJ/2tcEmxbNq20 SI68IWjSsk77G/pXV1pUoqYvh4xE1VcuWXL7qT1BxL7wLUUPWwNFQKeIEy8CAwEAAaM8MDowKgYD VR0RBCMwIYEfcm9sYW5kLnNjaHVsekBnYWxpbGVpY29uc3VsdC5kZTAMBgNVHRMBAf8EAjAAMA0G CSqGSIb3DQEBBAUAA4GBAI5B9qJAvDcDuBbYHqkV2glT0aVae7gyjEfHJboG9F8uOQnRbQeOCEPa lx+vUEg/Qt6a7/gzKZeqSVWC8QHZ5XMwaQYB9GWrc9A0vsS6RKmdwgK19GVeYfS3/rC/8o7nFHgG u4kXv+veywWbR1uwZ86iCvwUuY9p1gCdRxZJgCKVMIIDLTCCApagAwIBAgIBADANBgkqhkiG9w0B AQQFADCB0TELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2Fw ZSBUb3duMRowGAYDVQQKExFUaGF3dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlmaWNhdGlv biBTZXJ2aWNlcyBEaXZpc2lvbjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENB MSswKQYJKoZIhvcNAQkBFhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTk2MDEwMTAw MDAwMFoXDTIwMTIzMTIzNTk1OVowgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENh cGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNV BAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJz b25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3Rl LmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA1GnX1LCUZFtx6UfYDFG26nKRsIRefS0N j3sS34UldSh0OkIsYyeflXtL734Zhx2G6qPduc6WZBrCFG5ErHzmj+hND3EfQDimAKOHePb5lIZe rerAXnbr2RSjXW56fAylS1V/Bhkpf56aJtVquzgkCGqYx7Hao5iR/Xnb5VrEHLkCAwEAAaMTMBEw DwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQQFAAOBgQDH7JJ+Tvj1lqVnYiqk8E0RYNBvjWBY Yawmu1I1XAjPMPuoSpaKH2JCI4wXD/S6ZJwXrEcp352YXtJsYHFcoqzceePnbgBHH7UNKOgCneSa /RP0ptl8sfjcXyMmCZGAc9AUG95DqYMl8uacLxXK/qarigd1iwzdUYRr5PjRzneigTCCAz8wggKo oAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJu IENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAm BgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhh d3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUw IwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVy c29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8 VXNV+065yplaHmjAdQRwnd/p/6Me7L3N9VvyGna9fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfAr hVqqP3FWy688Cwfn8R+RNiQqE88r1fOCdz0Dviv+uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bR PGEEQB5kGXJgt/sCAwEAAaOBlDCBkTASBgNVHRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2 oDSGMmh0dHA6Ly9jcmwudGhhd3RlLmNvbS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsG A1UdDwQEAwIBBjApBgNVHREEIjAgpB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJ KoZIhvcNAQEFBQADgYEASIzRUIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQ IJNwPP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq72 6jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8xggNQMIIDTAIBATBpMGIxCzAJBgNVBAYTAlpB MSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIDDdybMAkGBSsOAwIaBQCgggG8MBgGCSqGSIb3 DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA1MTAyMzE5NTgyM1owIwYJKoZIhvcN AQkEMRYEFIX+5ueYUFnq9DXJL7d5VJrQnLLoMGcGCSqGSIb3DQEJDzFaMFgwCgYIKoZIhvcNAwcw DgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMAcG BSsOAwIaMAoGCCqGSIb3DQIFMHgGCSsGAQQBgjcQBDFrMGkwYjELMAkGA1UEBhMCWkExJTAjBgNV BAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25h bCBGcmVlbWFpbCBJc3N1aW5nIENBAgMN3JswegYLKoZIhvcNAQkQAgsxa6BpMGIxCzAJBgNVBAYT AlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3 dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIDDdybMA0GCSqGSIb3DQEBAQUABIIBAIxc STKQjGJWfkZtC0u2s28gH7kdfjkmJDVvlHtlJaEHs9/gsZO5edKQ+FaVWK5rgCGRviY+mAakBnn0 5iBkKU++gXcwXuThnGTcc0wrQHWPuUbX5gjmESLZ7oldjQhxxV26SlDZw4BgbS+ylJN49pP4BbX5 gJCdz8LIBWQ/MOFaZpGhHk6/je7tuHkj/LvV8wpxKtT9PN3MXmT0EFhesGeGffe8/9LUUbIG/9E5 yFJZUKzRHHdpfQQngiX0H7slCx7jxZ7+teaAwdkAQtEcQqhj/Yto4PrXq+2kiYYa59wRZObbkq7l HCtQU4hP2pw1NnMoOqAcKsYh3igNaeQ5UQcAAAAAAAA= ------=_NextPart_000_0020_01C5D81C.E37EA960-- From owner-freebsd-java@FreeBSD.ORG Sun Oct 23 22:40:59 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3324216A41F for ; Sun, 23 Oct 2005 22:40:59 +0000 (GMT) (envelope-from frank.b.scholl@web.de) Received: from smtp05.web.de (smtp05.web.de [217.72.192.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF02643D48 for ; Sun, 23 Oct 2005 22:40:58 +0000 (GMT) (envelope-from frank.b.scholl@web.de) Received: from [82.212.47.250] (helo=archimedes.work.spk) by smtp05.web.de with asmtp (TLSv1:DES-CBC3-SHA:168) (WEB.DE 4.105 #317) id 1EToWP-0004DE-00 for freebsd-java@freebsd.org; Mon, 24 Oct 2005 00:40:57 +0200 Date: Mon, 24 Oct 2005 00:44:10 +0200 From: "Frank B. Scholl" To: freebsd-java@freebsd.org Message-Id: <20051024004410.34aa3af6.frank.b.scholl@web.de> X-Mailer: Sylpheed version 2.0.2 (GTK+ 2.6.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: frank.b.scholl@web.de X-Sender: frank.b.scholl@web.de Subject: jdk & WRKDIRPREFIX 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: Sun, 23 Oct 2005 22:40:59 -0000 hello list, i don't know if that is a common problem or inability of myself, but i remarked that it seems not to be possible to build the native bsd java jdk (java/jdk14) when WRKDIRPREFIX is set in make.conf. my builds normally fail with the following error: Exception in thread "main" java.lang.NoClassDefFoundError: MakeDeps another guy on this list had the same error output some time ago, people just adviced him to make clean his build directory. the thread has not been brought to an end, but maybe in this guy's case, it was the same problem. the thread i am referring to is this one: http://lists.freebsd.org/pipermail/freebsd-java/2004-February/001739.html thanks for your answers, if that is known or i am too dumb, then sorry for the noise. frank From owner-freebsd-java@FreeBSD.ORG Sun Oct 23 23:19:42 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADD7C16A41F for ; Sun, 23 Oct 2005 23:19:42 +0000 (GMT) (envelope-from steve.joynt@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 473BB43D46 for ; Sun, 23 Oct 2005 23:19:42 +0000 (GMT) (envelope-from steve.joynt@gmail.com) Received: by xproxy.gmail.com with SMTP id h32so206595wxd for ; Sun, 23 Oct 2005 16:19:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ShcwYKi2dvhjqW2PeinkZk4U0hCALbyyXkTtMP9DCH9RJ2i6vlcVOs5CfcKwJS/Yv9aLoO3eWP7eXPqSEFcH14iRaSQLAwM7hby8nV3TF9YsUi9v83voAnFWNsd0XedzG4EPzps0IDLI8RPTzQgHE0sGFomuyW5VPgl85kcqioY= Received: by 10.70.56.6 with SMTP id e6mr77535wxa; Sun, 23 Oct 2005 16:19:41 -0700 (PDT) Received: by 10.70.55.17 with HTTP; Sun, 23 Oct 2005 16:19:41 -0700 (PDT) Message-ID: <17dbe5f00510231619u1eb684bat@mail.gmail.com> Date: Mon, 24 Oct 2005 09:19:41 +1000 From: Steve Joynt To: freebsd-java@freebsd.org In-Reply-To: <17dbe5f00510231618g5e53edebt@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <426b510c0510230351k718c38ffr43273a31204414e6@mail.gmail.com> <17dbe5f00510231618g5e53edebt@mail.gmail.com> Subject: Re: "An unexpected error" when i run class with constructor creatingitself. (jdk1.5.0-p2) 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: Sun, 23 Oct 2005 23:19:42 -0000 On 24/10/05, Manfred Riem wrote: > This is a completely normal error. You are recursive constructing an obje= ct > in the constructor. This will always generate a StackOverflowError. Since > you are not catching Errors the VM can have a default implementation that > prints out a message (just like it does). I think his point is that in jdk1.4.2-p7 it prints out the StackOverflowError message as expected, but in jdk1.5.0-p2 it core dumps. - steve From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 00:27:18 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A12AE16A41F for ; Mon, 24 Oct 2005 00:27:18 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: from web80801.mail.yahoo.com (web80801.mail.yahoo.com [66.163.170.96]) by mx1.FreeBSD.org (Postfix) with SMTP id 57AFB43D46 for ; Mon, 24 Oct 2005 00:27:18 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: (qmail 86129 invoked by uid 60001); 24 Oct 2005 00:27:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Ps2CdnSYD6PEc4GVsnTgbQNOQba08YvQeqSnVCDE6GehxI8XmlMdwAb/Ao00HieYF7cF03E1prGbDavrOAJb7rFd/2jgMM/B0C5m07WX8plSTqnhpNHukhzFZJgONMe59LqWHWenQEYxtxTYO8NYroYRDItcRUm3XJL0oHj8LLQ= ; Message-ID: <20051024002718.86127.qmail@web80801.mail.yahoo.com> Received: from [68.248.155.172] by web80801.mail.yahoo.com via HTTP; Sun, 23 Oct 2005 17:27:17 PDT Date: Sun, 23 Oct 2005 17:27:17 -0700 (PDT) From: Tanya N kessler To: Victor Vacaretu , freebsd-java@freebsd.org In-Reply-To: <6210433884.20051021170016@vimore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: Re[2]: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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, 24 Oct 2005 00:27:18 -0000 O.K., I did a totally fresh install of FreeBSD 5.4 on AMD64. Updated CVS with the stable verison 5.x. Did a portupgrade of all src and port. Built and installed a kernel w/COMPAT_LINUX32 support. Added linprocfs to my fstab. Built and installed linux-sun-jdk14. Then I go to build native jdk15 and I still get the same error. javac is executable by user, group, and others. I'm not sure how to tell if the VM loads O.K. from linprocfs. All I know is that I just switched to FreeBSD. I like a lot, but I can't seem to get native java work. Will someone please tell me what I am doing wrong... --- Victor Vacaretu wrote: > Umm, I've set it up OK on my server. > > did you try to execute the javac binary ? > is it wide executable ? > does the VM loads ok from the linprocfs ? > > Victor Vacaretu > > > Hello Tanya, > > Friday, October 21, 2005, 4:56:13 PM, you wrote: > > > I tried to install linux-sun-jdk14, it said it's > already > > installed. I go to make jdk15 and I get the error > seen below. > > > Victor Vacaretu wrote: > > > This has been already discussed in the list. > > > Install first the linux-sun-jdk1.4.2 as this will > be the bootstrapper > > jdk1.5 will be compiled with. > > > Victor Vacaretu > > > Hello Tanya, > > > Friday, October 21, 2005, 3:19:53 PM, you wrote: > > >> Hello, > > >> I've been all over the web trying to find help on > installing > >> JDK15 on a FreeBSD 5.4 AMD64 machine. This is my > last stop before I > >> give up. > > >> Fresh install of FreeBSD w/ports updated. > >> LINUX_COMPAT enabled in kernel with linprocfs set > in fstab. > >> Dowloaded all source, binary, and patches into > /usr/ports/distfiles > > >> I need to know the exact steps to take. When I go > >> /usr/ports/java/jdk15 and type "make" this is > what I get: > > > > >> fi > >> execv(): Bad address > >> Error trying to exec > /usr/local/linux-sun-jdk1.4.2/bin/javac. > >> Check if file exists and permissions are set > correctly. > >> gmake[3]: *** [.compile.classlist] Error 1 > >> gmake[3]: Leaving directory > >> `/usr/ports/java/jdk15/work/j2se/make/java/java' > >> gmake[2]: *** [all] Error 1 > >> gmake[2]: Leaving directory > >> `/usr/ports/java/jdk15/work/j2se/make/java' > >> gmake[1]: *** [all] Error 1 > >> gmake[1]: Leaving directory > `/usr/ports/java/jdk15/work/j2se/make' > >> gmake: *** [j2se-build] Error 2 > >> *** Error code 2 > > > > >> I was told by someone that I need to install > linux-sun-jdk14, so > >> I went to do that. It said it was already > installed. I've been > >> searching on the web and everyone says this error > is cause csh can > >> not support such a long javac command. Someone > told me that I need > >> the linux-java-bootstrap, but I don't know what > that is. I also > >> tried to build JDK14 and got the same error > above. Can someone > >> please tell me the exact steps to take when > installing Native JDK15 > >> on a fresh install of FreeBSD 5.4 AMD64. > > > > >> Please help a fellow BSD'er in distress, > > > > >> Tom > >> _______________________________________________ > >> 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" > > > > > > > -- > Best regards, > Victor > mailto:freebsd@vimore.com > > From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 00:50:35 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 257DD16A41F for ; Mon, 24 Oct 2005 00:50:35 +0000 (GMT) (envelope-from freebsd-java@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EA5343D45 for ; Mon, 24 Oct 2005 00:50:34 +0000 (GMT) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ETqXB-0000n5-PN for freebsd-java@freebsd.org; Mon, 24 Oct 2005 02:49:53 +0200 Received: from pcp0010357714pcs.indpnd01.mo.comcast.net ([69.242.190.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Oct 2005 02:49:53 +0200 Received: from mriem by pcp0010357714pcs.indpnd01.mo.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Oct 2005 02:49:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: "Manfred Riem" Date: Sun, 23 Oct 2005 19:49:47 -0600 Lines: 34 Message-ID: References: <426b510c0510230351k718c38ffr43273a31204414e6@mail.gmail.com><17dbe5f00510231618g5e53edebt@mail.gmail.com> <17dbe5f00510231619u1eb684bat@mail.gmail.com> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pcp0010357714pcs.indpnd01.mo.comcast.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Original Sender: news Subject: Re: "An unexpected error" when i run class with constructorcreatingitself. (jdk1.5.0-p2) 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, 24 Oct 2005 00:50:35 -0000 "Steve Joynt" wrote in message news:17dbe5f00510231619u1eb684bat@mail.gmail.com... On 24/10/05, Manfred Riem wrote: > This is a completely normal error. You are recursive constructing an > object > in the constructor. This will always generate a StackOverflowError. Since > you are not catching Errors the VM can have a default implementation that > prints out a message (just like it does). I think his point is that in jdk1.4.2-p7 it prints out the StackOverflowError message as expected, but in jdk1.5.0-p2 it core dumps. - steve _______________________________________________ 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" Hi Steve, Whatever the VM will do on an uncaught error is up to the implementation. So dumping the stack trace when hitting a StackOverflowError is well within the specification of the JVM. That it is not the same as in 1.4.2 is something he didn't address. So I stand by my comments of before ;) Kind regards, Manfred Riem mriem@manorrock.org http://www.manorrock.org/ From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 01:10:09 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1216716A41F; Mon, 24 Oct 2005 01:10:09 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6837443D45; Mon, 24 Oct 2005 01:10:07 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost [127.0.0.1]) by arabica.esil.univ-mrs.fr (8.13.4/8.13.4) with ESMTP id j9O1A6BR029646; Mon, 24 Oct 2005 03:10:06 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.4/8.13.4/Submit) id j9O1A5QE029159; Mon, 24 Oct 2005 03:10:05 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Mon, 24 Oct 2005 03:10:05 +0200 From: Herve Quiroz To: Scot Hetzel Message-ID: <20051024011005.GA99983@arabica.esil.univ-mrs.fr> Mail-Followup-To: Scot Hetzel , freebsd-eclipse@freebsd.org, freebsd-ports@freebsd.org, freebsd-java@freebsd.org References: <200510150015.j9F0ExKr085847@sakura.ninth-nine.com> <20051015053003.GB28137@soaustin.net> <4350CE50.8080704@ebs.gr> <5739E97B-7EDC-4971-9EA5-01A44688A981@softweyr.com> <43522953.6050700@ebs.gr> <1B8112AF-8C0E-4BA0-8D1C-DA6AD529F327@softweyr.com> <20051017153024.GA23494@arabica.esil.univ-mrs.fr> <20051017212748.GD71766@isis.sigpipe.cz> <790a9fff0510171505i4010cc05yc30f67d459d1a0e4@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline In-Reply-To: <790a9fff0510171505i4010cc05yc30f67d459d1a0e4@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-java@freebsd.org, freebsd-ports@freebsd.org, freebsd-eclipse@freebsd.org Subject: symlinks and virtual categories [Was: [SUGGEST] Reform eclipse and eclipse related ports] 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, 24 Oct 2005 01:10:09 -0000 --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Oct 17, 2005 at 05:05:18PM -0500, Scot Hetzel wrote: > > Hey, what about materialized virtual categories? A bunch of > > symlinks, and everyone's happy. Or is that too much for CVS? > > > It would probably be too much for CVS to handle, instead someone could > modify bsd.port.mk to create the virtual category directories and then > symbolicly link the ports into these categories. This is probably getting quite off-topic here but I have just coded this script to implement what you describe. Someone probably already implemented such thing but I had 10 minutes to spare between two simulation runs... Basically you may set PORTSDIR to a specific path (or else the script uses /usr/ports) and run the script. It will create the directories related to virtual categories and symlink ports into them. Herve --Q68bSM7Ycu6FN28Q-- From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 01:14:20 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF73916A41F for ; Mon, 24 Oct 2005 01:14:20 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3677743D45 for ; Mon, 24 Oct 2005 01:14:20 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from [192.168.168.129] (hwh [192.168.168.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id D30EC38CB4D for ; Mon, 24 Oct 2005 08:41:23 +0800 (CST) Message-ID: <435C2DB1.5010106@gddsn.org.cn> Date: Mon, 24 Oct 2005 08:41:21 +0800 From: Huang wen hui User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050812) X-Accept-Language: zh-cn,zh MIME-Version: 1.0 Cc: freebsd-java@freebsd.org References: <20051024002718.86127.qmail@web80801.mail.yahoo.com> In-Reply-To: <20051024002718.86127.qmail@web80801.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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, 24 Oct 2005 01:14:20 -0000 Tanya N kessler wrote: >O.K., I did a totally fresh install of FreeBSD 5.4 on >AMD64. Updated CVS with the stable verison 5.x. Did >a portupgrade of all src and port. Built and >installed a kernel w/COMPAT_LINUX32 support. Added >linprocfs to my fstab. Built and installed >linux-sun-jdk14. Then I go to build native jdk15 and >I still get the same error. javac is executable by >user, group, and others. I'm not sure how to tell if >the VM loads O.K. from linprocfs. All I know is that >I just switched to FreeBSD. I like a lot, but I can't >seem to get native java work. Will someone please >tell me what I am doing wrong... > > > try to use native jdk1.4.2 as bootstrapper. Of cause you need COMPAT_IA32 and lib32 options. I succeeded to install jdk1.5.0-p1 on 5.4R. --hwh From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 07:48:34 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54B7616A41F for ; Mon, 24 Oct 2005 07:48:34 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D02743D46 for ; Mon, 24 Oct 2005 07:48:32 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j9O7mU9V065415; Mon, 24 Oct 2005 10:48:30 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j9O7mhEO075423; Mon, 24 Oct 2005 10:48:43 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <435C91B6.4020608@ebs.gr> Date: Mon, 24 Oct 2005 10:48:06 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051008) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roland Schulz References: <20051023195838.957D943D45@mx1.FreeBSD.org> In-Reply-To: <20051023195838.957D943D45@mx1.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: it@galileiconsult.de, freebsd-java@freebsd.org Subject: Re: Open-Xchange 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, 24 Oct 2005 07:48:34 -0000 Roland Schulz wrote: > Hey, > > the open-xchange developer say, that the bug I reported as #600 > http://www.open-xchange.org/cgi-bin/bugzilla/show_bug.cgi?id=600 > > is probably not an application error but rather freebsd-java related, > because it only occurs on my freebsd machine. > Do you think so too? What other information besides those provided in linked > bug report do you need? From the bug report I don't see anything particular to FreeBSD, FWIW. But then again I have zero experience of open-xchange. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 08:43:24 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB18716A41F for ; Mon, 24 Oct 2005 08:43:24 +0000 (GMT) (envelope-from yuri@irfu.se) Received: from elvira.ekonomikum.uu.se (elvira.ekonomikum.uu.se [130.238.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AE6E43D46 for ; Mon, 24 Oct 2005 08:43:21 +0000 (GMT) (envelope-from yuri@irfu.se) Received: by elvira.ekonomikum.uu.se (Postfix, from userid 204) id 79321201; Mon, 24 Oct 2005 10:43:20 +0200 (MSZ) Received: from elvira.ekonomikum.uu.se(127.0.0.1) by elvira.ekonomikum.uu.se via virus-scan id s26700; Mon, 24 Oct 05 10:43:11 +0200 Received: from hq.irfu.se (hq.irfu.se [130.238.30.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elvira.ekonomikum.uu.se (Postfix) with ESMTP id 9269E194 for ; Mon, 24 Oct 2005 10:43:11 +0200 (MSZ) Received: from ice.irfu.se (ice.irfu.se [130.238.30.157]) (authenticated bits=0) by hq.irfu.se (8.13.3/8.13.3) with ESMTP id j9O8hAF1062430 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Mon, 24 Oct 2005 10:43:11 +0200 (CEST) (envelope-from yuri@irfu.se) From: Yuri Khotyaintsev Organization: Swedish Institute of Space Physics To: freebsd-java@freebsd.org Date: Mon, 24 Oct 2005 10:43:09 +0200 User-Agent: KMail/1.8.2 References: <20051024004410.34aa3af6.frank.b.scholl@web.de> In-Reply-To: <20051024004410.34aa3af6.frank.b.scholl@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200510241043.10010.yuri@irfu.se> X-Spam-Status: No, score=-1.4 required=7.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on hq.irfu.se Subject: Re: jdk & WRKDIRPREFIX 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, 24 Oct 2005 08:43:25 -0000 On Monday 24 October 2005 00.44, Frank B. Scholl wrote: > hello list, > > i don't know if that is a common problem or inability of myself, but i > remarked that it seems not to be possible to build the native bsd java jdk > (java/jdk14) when WRKDIRPREFIX is set in make.conf. my builds normally fa= il > with the following error: > > Exception in thread "main" java.lang.NoClassDefFoundError: MakeDeps I have recently build both java/jdk14 and java/jdk15 on several machines wi= th=20 WRKDIRPREFIX and all worked as expected. It must be something on your side.= I=20 can only suggest to remove everything under WRKDIRPREFIX and restart the=20 build. =2D-=20 Yuri Khotyaintsev Institutet f=F6r rymdfysik (IRF), Uppsala From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 08:50:45 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D249916A41F for ; Mon, 24 Oct 2005 08:50:45 +0000 (GMT) (envelope-from roland.schulz@galileiconsult.de) Received: from galileiconsult.de (box7898.elkhouse.de [213.9.78.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20A8143D6E for ; Mon, 24 Oct 2005 08:50:42 +0000 (GMT) (envelope-from roland.schulz@galileiconsult.de) From: "Roland Schulz" To: Date: Mon, 24 Oct 2005 10:50:30 +0200 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <435C91B6.4020608@ebs.gr> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0117_01C5D888.C006CC30" Thread-Index: AcXYb1pt6K1OEQbLTHKeGn5HmDDySQABqGLw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Received: from rschulz by galileiconsult.de with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.52 #0) id 1ETy1p-0007eO-S5; Mon, 24 Oct 2005 10:50:24 +0200 Message-Id: <20051024085042.20A8143D6E@mx1.FreeBSD.org> Cc: it@galileiconsult.de, freebsd-java@freebsd.org Subject: RE: Open-Xchange 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, 24 Oct 2005 08:50:45 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0117_01C5D888.C006CC30 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit > > the open-xchange developer say, that the bug I reported as #600 > > http://www.open-xchange.org/cgi-bin/bugzilla/show_bug.cgi?id=600 > > > > is probably not an application error but rather freebsd-java related, > > because it only occurs on my freebsd machine. > > Do you think so too? What other information besides those provided in > linked > > bug report do you need? > > From the bug report I don't see anything particular to FreeBSD, FWIW. > But then again I have zero experience of open-xchange. In the last comment the ox developer says: Fact is that our test machines are running with pooling and it seems that only FreeBSD is affected - some Debian users brought this up too, but specially for Debian a cron job was the culprit and there is a solution. The initial problem is the "Query was canceled" error message. According to a thread on a similar problem http://archives.postgresql.org/pgsql-bugs/2003-04/msg00040.php this must be caused by a SIGINT and it is supposed to be FreeBSD specific. Regards Roland Schulz ------=_NextPart_000_0117_01C5D888.C006CC30 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJfDCCAwQw ggJtoAMCAQICAw3cmzANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDUwMTIxMjA0MTIxWhcNMDYwMTIxMjA0MTIxWjBqMQ8wDQYDVQQE EwZTY2h1bHoxDzANBgNVBCoTBlJvbGFuZDEWMBQGA1UEAxMNUm9sYW5kIFNjaHVsejEuMCwGCSqG SIb3DQEJARYfcm9sYW5kLnNjaHVsekBnYWxpbGVpY29uc3VsdC5kZTCCASIwDQYJKoZIhvcNAQEB BQADggEPADCCAQoCggEBAMGu2kkXjSHRth/b61EF1iHhvvTjqEasoxyTQK7G9t9qtF2i7m64g5pi YzwYsf/Imy4CFexNJubPA7T1F9Y1K8UqiOu8uLgO4fWRcZm58nsuS5VINoLIQcUzP5TDWJSX9ovO WcMlMONOHdWReX4VBhW9iwzjaFc0/oy47Tl+U12fZD0FbP5Je1pFX10qJGT/scmzddsAT/i6RJ7V EwMAOG7+/AX47y2oAd1AT9HoT/3tN26PHAnEFhzSExK35OijaYAK6k6q4V/4H2yJ/2tcEmxbNq20 SI68IWjSsk77G/pXV1pUoqYvh4xE1VcuWXL7qT1BxL7wLUUPWwNFQKeIEy8CAwEAAaM8MDowKgYD VR0RBCMwIYEfcm9sYW5kLnNjaHVsekBnYWxpbGVpY29uc3VsdC5kZTAMBgNVHRMBAf8EAjAAMA0G CSqGSIb3DQEBBAUAA4GBAI5B9qJAvDcDuBbYHqkV2glT0aVae7gyjEfHJboG9F8uOQnRbQeOCEPa lx+vUEg/Qt6a7/gzKZeqSVWC8QHZ5XMwaQYB9GWrc9A0vsS6RKmdwgK19GVeYfS3/rC/8o7nFHgG u4kXv+veywWbR1uwZ86iCvwUuY9p1gCdRxZJgCKVMIIDLTCCApagAwIBAgIBADANBgkqhkiG9w0B AQQFADCB0TELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2Fw ZSBUb3duMRowGAYDVQQKExFUaGF3dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlmaWNhdGlv biBTZXJ2aWNlcyBEaXZpc2lvbjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENB MSswKQYJKoZIhvcNAQkBFhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTk2MDEwMTAw MDAwMFoXDTIwMTIzMTIzNTk1OVowgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENh cGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNV BAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJz b25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3Rl LmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA1GnX1LCUZFtx6UfYDFG26nKRsIRefS0N j3sS34UldSh0OkIsYyeflXtL734Zhx2G6qPduc6WZBrCFG5ErHzmj+hND3EfQDimAKOHePb5lIZe rerAXnbr2RSjXW56fAylS1V/Bhkpf56aJtVquzgkCGqYx7Hao5iR/Xnb5VrEHLkCAwEAAaMTMBEw DwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQQFAAOBgQDH7JJ+Tvj1lqVnYiqk8E0RYNBvjWBY Yawmu1I1XAjPMPuoSpaKH2JCI4wXD/S6ZJwXrEcp352YXtJsYHFcoqzceePnbgBHH7UNKOgCneSa /RP0ptl8sfjcXyMmCZGAc9AUG95DqYMl8uacLxXK/qarigd1iwzdUYRr5PjRzneigTCCAz8wggKo oAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJu IENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAm BgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhh d3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUw IwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVy c29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8 VXNV+065yplaHmjAdQRwnd/p/6Me7L3N9VvyGna9fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfAr hVqqP3FWy688Cwfn8R+RNiQqE88r1fOCdz0Dviv+uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bR PGEEQB5kGXJgt/sCAwEAAaOBlDCBkTASBgNVHRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2 oDSGMmh0dHA6Ly9jcmwudGhhd3RlLmNvbS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsG A1UdDwQEAwIBBjApBgNVHREEIjAgpB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJ KoZIhvcNAQEFBQADgYEASIzRUIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQ IJNwPP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq72 6jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8xggNQMIIDTAIBATBpMGIxCzAJBgNVBAYTAlpB MSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIDDdybMAkGBSsOAwIaBQCgggG8MBgGCSqGSIb3 DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA1MTAyNDA4NTAyOVowIwYJKoZIhvcN AQkEMRYEFCV1RlGRMJukOt5z5v0QmHgIzV2BMGcGCSqGSIb3DQEJDzFaMFgwCgYIKoZIhvcNAwcw DgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMAcG BSsOAwIaMAoGCCqGSIb3DQIFMHgGCSsGAQQBgjcQBDFrMGkwYjELMAkGA1UEBhMCWkExJTAjBgNV BAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25h bCBGcmVlbWFpbCBJc3N1aW5nIENBAgMN3JswegYLKoZIhvcNAQkQAgsxa6BpMGIxCzAJBgNVBAYT AlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3 dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIDDdybMA0GCSqGSIb3DQEBAQUABIIBALWQ Ax3bEDgirUf4z75EGO+yv/QwP8yypRipiPMoXxsPT8WG8Djh/aLl0I0LCOCtre+IhJEAnK95zEge N39+e+fCU/69WYKZyWPNXs3GSYxqzmrTgfDLdBzRodK+KMy8GSvWASmzsQqrPNbwlAlfZ96TTvuV 3x/Za5UAB5t85FBGRCKNBVaZi9xgk7zF1s4lurVYQKwGm7yxqJxfzKUCHAo18an12znkaItRsZCH Lkn1aJBFTMYgM8gg3MCWTJrakv9/KJ+UycVno7dJ8Lk/1sNHYcukDF/fycdKLvW/qQqAKGIrDX82 tz3gk9X3oqoRHlXFPm9U0l9OVurqvY3yKvAAAAAAAAA= ------=_NextPart_000_0117_01C5D888.C006CC30-- From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 08:51:14 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4901F16A420 for ; Mon, 24 Oct 2005 08:51:14 +0000 (GMT) (envelope-from yuri@irfu.se) Received: from colibri.its.uu.se (colibri.its.UU.SE [130.238.4.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99EE843D55 for ; Mon, 24 Oct 2005 08:51:13 +0000 (GMT) (envelope-from yuri@irfu.se) Received: by colibri.its.uu.se (Postfix, from userid 211) id 0E421319; Mon, 24 Oct 2005 10:51:11 +0200 (DFT) Received: from colibri.its.uu.se(127.0.0.1) by colibri.its.uu.se via virus-scan id s14354; Mon, 24 Oct 05 10:50:57 +0200 Received: from hq.irfu.se (hq.irfu.se [130.238.30.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by colibri.its.uu.se (Postfix) with ESMTP id 6644E308; Mon, 24 Oct 2005 10:50:56 +0200 (DFT) Received: from ice.irfu.se (ice.irfu.se [130.238.30.157]) (authenticated bits=0) by hq.irfu.se (8.13.3/8.13.3) with ESMTP id j9O8otsJ071192 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 24 Oct 2005 10:50:55 +0200 (CEST) (envelope-from yuri@irfu.se) From: Yuri Khotyaintsev Organization: Swedish Institute of Space Physics To: freebsd-java@freebsd.org Date: Mon, 24 Oct 2005 10:50:54 +0200 User-Agent: KMail/1.8.2 References: <20051024002718.86127.qmail@web80801.mail.yahoo.com> <435C2DB1.5010106@gddsn.org.cn> In-Reply-To: <435C2DB1.5010106@gddsn.org.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200510241050.54831.yuri@irfu.se> X-Spam-Status: No, score=-1.4 required=7.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on hq.irfu.se Cc: Huang wen hui Subject: Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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, 24 Oct 2005 08:51:14 -0000 On Monday 24 October 2005 02.41, Huang wen hui wrote: > Tanya N kessler wrote: > >O.K., I did a totally fresh install of FreeBSD 5.4 on > >AMD64. Updated CVS with the stable verison 5.x. Did > >a portupgrade of all src and port. Built and > >installed a kernel w/COMPAT_LINUX32 support. Added > >linprocfs to my fstab. Built and installed > >linux-sun-jdk14. Then I go to build native jdk15 and > >I still get the same error. javac is executable by > >user, group, and others. I'm not sure how to tell if > >the VM loads O.K. from linprocfs. All I know is that > >I just switched to FreeBSD. I like a lot, but I can't > >seem to get native java work. Will someone please > >tell me what I am doing wrong... > > try to use native jdk1.4.2 as bootstrapper. Of cause you need > COMPAT_IA32 and lib32 options. I succeeded to install jdk1.5.0-p1 on 5.4R. As far as I remember, jdk14/i386 will not work on amd64. One should use lin= ux=20 jdk. Is linprocfs mounted? [root@hq][/home/yuri]# mount|grep linux linprocfs on /usr/compat/linux/proc (linprocfs, local) Can you run /usr/local/linux-sun-jdk1.4.2/bin/java -version ? =2D-=20 Yuri Khotyaintsev Institutet f=F6r rymdfysik (IRF), Uppsala From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 09:05:03 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A6AD16A420 for ; Mon, 24 Oct 2005 09:05:03 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (host2.dynacom.ondsl.gr [62.103.35.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47A5543D48 for ; Mon, 24 Oct 2005 09:05:01 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id j9O90CSv020072; Mon, 24 Oct 2005 12:00:12 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id j9O90COg020068; Mon, 24 Oct 2005 12:00:12 +0300 Date: Mon, 24 Oct 2005 12:00:12 +0300 (EEST) From: Achilleus Mantzios To: Panagiotis Astithas In-Reply-To: <435C91B6.4020608@ebs.gr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: Roland Schulz , it@galileiconsult.de, freebsd-java@freebsd.org Subject: Re: Open-Xchange 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, 24 Oct 2005 09:05:03 -0000 O Panagiotis Astithas Ýãñáøå óôéò Oct 24, 2005 : > Roland Schulz wrote: > > Hey, > > > > the open-xchange developer say, that the bug I reported as #600 > > http://www.open-xchange.org/cgi-bin/bugzilla/show_bug.cgi?id=600 > > > > is probably not an application error but rather freebsd-java related, > > because it only occurs on my freebsd machine. > > Do you think so too? What other information besides those provided in linked > > bug report do you need? > > From the bug report I don't see anything particular to FreeBSD, FWIW. > But then again I have zero experience of open-xchange. Roland, you say somewhere that you use: java: 1.4.2 jdbc: 7.4, 215 postgres: 7.3.9_3 no restart (sure!) This is not correct (jdbc: 7.4, postgres: 7.3.9_3) . Always try to use jdbc versions that talk the same protocol to the backend. Upgrading to latest 7.4 pgsql also, would be a great idea (since 8.* is out for quite some time). So, upgrade to the lastest 7.4 (you dont want no migration surprises), and install the jdbc of the same version. (namely 7.4.9). Somewhere in your pgsql logs it says: Oct 3 03:06:41 box7898 postgres[6102]: [1] FATAL: unsupported frontend protocol This not right. Who talks to the backend in such a way? i'd say fix the postgresql issues first. Java/postgresql/pgsql jdbc have quite a good reputation in the FreeBSD world, so least expect to find any problems in FreeBSD alone. What FreeBSD version are you running? > > Cheers, > > Panagiotis > _______________________________________________ > 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" > -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 09:58:09 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25AAE16A41F for ; Mon, 24 Oct 2005 09:58:09 +0000 (GMT) (envelope-from frank.b.scholl@web.de) Received: from smtp07.web.de (smtp07.web.de [217.72.192.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDEB743D48 for ; Mon, 24 Oct 2005 09:58:08 +0000 (GMT) (envelope-from frank.b.scholl@web.de) Received: from [82.212.47.250] (helo=archimedes.work.spk) by smtp07.web.de with asmtp (TLSv1:DES-CBC3-SHA:168) (WEB.DE 4.105 #317) id 1ETz5j-0006uk-00 for freebsd-java@freebsd.org; Mon, 24 Oct 2005 11:58:07 +0200 Date: Mon, 24 Oct 2005 12:01:20 +0200 From: "Frank B. Scholl" To: freebsd-java@freebsd.org Message-Id: <20051024120120.4ea17bb3.frank.b.scholl@web.de> In-Reply-To: <20051024105205.N77691@watcher.saargate.de> References: <20051024004410.34aa3af6.frank.b.scholl@web.de> <20051024105205.N77691@watcher.saargate.de> X-Mailer: Sylpheed version 2.0.2 (GTK+ 2.6.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: frank.b.scholl@web.de X-Sender: frank.b.scholl@web.de Subject: Re: jdk & WRKDIRPREFIX 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, 24 Oct 2005 09:58:09 -0000 hello! > what value did you use for WRKDIRPREFIX? For some reason (which is unknown > to me), the JDK fails to build in a directory with the sticky bit set > (e.g. /tmp). Maybe this helps. ok, that could have been a reason, because i created & used /usr/tmp, which has permissions as /tmp. let me see if that does the trick. thanks for that hint. regards, frank From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 10:02:11 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 893E616A41F for ; Mon, 24 Oct 2005 10:02:11 +0000 (GMT) (envelope-from frank.b.scholl@web.de) Received: from smtp08.web.de (smtp08.web.de [217.72.192.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 298D343D4C for ; Mon, 24 Oct 2005 10:02:11 +0000 (GMT) (envelope-from frank.b.scholl@web.de) Received: from [82.212.47.250] (helo=archimedes.work.spk) by smtp08.web.de with asmtp (TLSv1:DES-CBC3-SHA:168) (WEB.DE 4.105 #317) id 1ETz9d-0007h6-00 for freebsd-java@freebsd.org; Mon, 24 Oct 2005 12:02:09 +0200 Date: Mon, 24 Oct 2005 12:05:23 +0200 From: "Frank B. Scholl" To: freebsd-java@freebsd.org Message-Id: <20051024120523.510bf3bf.frank.b.scholl@web.de> In-Reply-To: <200510241043.10010.yuri@irfu.se> References: <20051024004410.34aa3af6.frank.b.scholl@web.de> <200510241043.10010.yuri@irfu.se> X-Mailer: Sylpheed version 2.0.2 (GTK+ 2.6.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: frank.b.scholl@web.de X-Sender: frank.b.scholl@web.de Subject: Re: jdk & WRKDIRPREFIX 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, 24 Oct 2005 10:02:11 -0000 hi yuri, > I have recently build both java/jdk14 and java/jdk15 on several machines with > WRKDIRPREFIX and all worked as expected. It must be something on your side. I > can only suggest to remove everything under WRKDIRPREFIX and restart the > build. that i did, of course, but it seems it's more the sort of problem that dominik gave as a hint in his answer to my mail. thanks for your answer anyways. regards, frank From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 10:40:09 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDB9716A41F for ; Mon, 24 Oct 2005 10:40:09 +0000 (GMT) (envelope-from xelah@sphinx.mythic-beasts.com) Received: from wumpus.mythic-beasts.com (wumpus.mythic-beasts.com [212.69.37.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 608CB43D45 for ; Mon, 24 Oct 2005 10:40:09 +0000 (GMT) (envelope-from xelah@sphinx.mythic-beasts.com) Received: from sphinx.mythic-beasts.com ([212.69.37.6]) by wumpus.mythic-beasts.com with esmtp (Exim 4.44) id 1ETzkL-0003nQ-T1; Mon, 24 Oct 2005 11:40:05 +0100 Received: from xelah (helo=localhost) by sphinx.mythic-beasts.com with local-esmtp (Exim 4.51) id 1ETzkL-00026y-7G; Mon, 24 Oct 2005 11:40:05 +0100 Date: Mon, 24 Oct 2005 11:40:05 +0100 (BST) From: Alex Hayward X-X-Sender: xelah@sphinx.mythic-beasts.com To: Tanya N kessler In-Reply-To: <20051024002718.86127.qmail@web80801.mail.yahoo.com> Message-ID: References: <20051024002718.86127.qmail@web80801.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Alex Hayward Cc: Victor Vacaretu , freebsd-java@freebsd.org Subject: Re: Re[2]: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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, 24 Oct 2005 10:40:09 -0000 On Sun, 23 Oct 2005, Tanya N kessler wrote: > O.K., I did a totally fresh install of FreeBSD 5.4 on > AMD64. Updated CVS with the stable verison 5.x. Did > a portupgrade of all src and port. Built and > installed a kernel w/COMPAT_LINUX32 support. Added > linprocfs to my fstab. Built and installed > linux-sun-jdk14. Then I go to build native jdk15 and > I still get the same error. javac is executable by > user, group, and others. I'm not sure how to tell if > the VM loads O.K. from linprocfs. All I know is that > I just switched to FreeBSD. I like a lot, but I can't > seem to get native java work. Will someone please > tell me what I am doing wrong... [snip] > > >> fi > > >> execv(): Bad address > > >> Error trying to exec > > /usr/local/linux-sun-jdk1.4.2/bin/javac. > > >> Check if file exists and permissions are set > > correctly. I believe this is something's way of saying 'that command's far too long, I'm not running that!'. Above the error you'll find an enormous command displayed. cd in to the right directory (probably /usr/ports/java/jdk15/work/j2se/make/java/nio, but it'll be displayed somewhere by gmake) and run this command by hand in your shell. Then go back to the port and run 'make' again. From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 10:57:32 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B7EF16A41F for ; Mon, 24 Oct 2005 10:57:32 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89A6543D48 for ; Mon, 24 Oct 2005 10:57:30 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j9OAvS9V065968; Mon, 24 Oct 2005 13:57:28 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j9OAvgeN078067; Mon, 24 Oct 2005 13:57:42 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <435CBE01.9020705@ebs.gr> Date: Mon, 24 Oct 2005 13:57:05 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051008) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roland Schulz References: <200510240850.j9O8ol9V065594@fly.ebs.gr> In-Reply-To: <200510240850.j9O8ol9V065594@fly.ebs.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: it@galileiconsult.de, freebsd-java@freebsd.org Subject: Re: Open-Xchange 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, 24 Oct 2005 10:57:32 -0000 Roland Schulz wrote: >>>the open-xchange developer say, that the bug I reported as #600 >>>http://www.open-xchange.org/cgi-bin/bugzilla/show_bug.cgi?id=600 >>> >>>is probably not an application error but rather freebsd-java related, >>>because it only occurs on my freebsd machine. >>>Do you think so too? What other information besides those provided in >> >>linked >> >>>bug report do you need? >> >> From the bug report I don't see anything particular to FreeBSD, FWIW. >>But then again I have zero experience of open-xchange. > > > In the last comment the ox developer says: > Fact is that our test machines are running with pooling and it seems that > only FreeBSD is affected - some Debian users brought this up too, but > specially for Debian a cron job was the culprit and there is a solution. > > The initial problem is the "Query was canceled" error message. According to > a thread on a similar problem > http://archives.postgresql.org/pgsql-bugs/2003-04/msg00040.php > this must be caused by a SIGINT and it is supposed to be FreeBSD specific. > > Regards > Roland Schulz Their argument is rather weak: "it works for us, we don't use FreeBSD, so it is FreeBSD's fault". The thing is they don't know what is triggering this behavior, nor do we, so more scrutiny is necessary. The thread on PostgreSQL that you mention is hardly pertinent to the issue at hand, since it concerns rather old versions of the system and the DBMS. I'm interested because I use Java on FreeBSD with PostgreSQL, but I have never encountered the issues you have described. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 11:02:11 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 678C716A41F for ; Mon, 24 Oct 2005 11:02:11 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57E2643D5C for ; Mon, 24 Oct 2005 11:02:10 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9OB2A9o062005 for ; Mon, 24 Oct 2005 11:02:10 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9OB29tf061999 for freebsd-java@freebsd.org; Mon, 24 Oct 2005 11:02:09 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 24 Oct 2005 11:02:09 GMT Message-Id: <200510241102.j9OB29tf061999@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 24 Oct 2005 11:02:11 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/05/13] ports/38018 java www/jakarta-tomcat4: make passing of JVM f [2002/05/13] ports/38020 java www/jakarta-tomcat4: stop tomcat via java o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes o [2004/12/06] ports/74760 java java/javavmwrapper messes up amavisd-new o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if f [2005/06/13] java/82183 java Cannot install Java 1.5, lots of missing o [2005/09/29] java/86700 java SIGSEGV in native jdk15 7 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME o [2004/08/11] java/70292 java jdk14 compile problem f [2004/11/24] ports/74344 java [proposal] tomcat41ctl: support for passi o [2004/12/16] ports/75143 java There is no way to specify jvm parameters o [2005/10/01] java/86804 java [PATCH] Install a desktop icon for the ja o [2005/10/17] java/87552 java Enable multi-job builds for CPP files in 6 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 12:28:39 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 817A116A41F for ; Mon, 24 Oct 2005 12:28:39 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA53043D49 for ; Mon, 24 Oct 2005 12:28:38 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from [192.168.1.5] (unknown [218.20.228.243]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id F26C938CB4D for ; Mon, 24 Oct 2005 20:28:34 +0800 (CST) Message-ID: <435CD371.1030708@gddsn.org.cn> Date: Mon, 24 Oct 2005 20:28:33 +0800 From: Huang wen hui User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051012) X-Accept-Language: zh-cn,zh MIME-Version: 1.0 Cc: freebsd-java@freebsd.org References: <20051024002718.86127.qmail@web80801.mail.yahoo.com> <435C2DB1.5010106@gddsn.org.cn> In-Reply-To: <435C2DB1.5010106@gddsn.org.cn> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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, 24 Oct 2005 12:28:39 -0000 Huang wen hui wrote: > Tanya N kessler wrote: > >> O.K., I did a totally fresh install of FreeBSD 5.4 on >> AMD64. Updated CVS with the stable verison 5.x. Did >> a portupgrade of all src and port. Built and >> installed a kernel w/COMPAT_LINUX32 support. Added >> linprocfs to my fstab. Built and installed >> linux-sun-jdk14. Then I go to build native jdk15 and >> I still get the same error. javac is executable by >> user, group, and others. I'm not sure how to tell if >> the VM loads O.K. from linprocfs. All I know is that >> I just switched to FreeBSD. I like a lot, but I can't >> seem to get native java work. Will someone please >> tell me what I am doing wrong... >> >> >> > try to use native jdk1.4.2 as bootstrapper. Of cause you need > COMPAT_IA32 and lib32 options. I succeeded to install jdk1.5.0-p1 on > 5.4R. > > --hwh forgot this: you need to replace /usr/lib32/libpthread by /usr/lib32/libc_r. From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 16:47:13 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0689D16A41F for ; Mon, 24 Oct 2005 16:47:13 +0000 (GMT) (envelope-from jjr@alisa.org) Received: from www.larush.com (www.larush.com [69.41.164.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C87843D45 for ; Mon, 24 Oct 2005 16:47:12 +0000 (GMT) (envelope-from jjr@alisa.org) Received: from [192.168.10.3] (dummy [192.168.0.1]) (authenticated bits=0) by www.larush.com (8.13.3/8.13.3) with ESMTP id j9OGkx9u095718; Mon, 24 Oct 2005 11:47:01 -0500 (CDT) (envelope-from jjr@alisa.org) User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Mon, 24 Oct 2005 10:46:58 -0600 From: John Rushford To: Panagiotis Astithas , Roland Schulz Message-ID: Thread-Topic: Open-Xchange Thread-Index: AcXYuoxXyv6Ac0StEdqLJAARJENYvA== In-Reply-To: <435CBE01.9020705@ebs.gr> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0 (www.larush.com [127.0.0.1]); Mon, 24 Oct 2005 11:47:01 -0500 (CDT) Cc: it@galileiconsult.de, freebsd-java@freebsd.org Subject: Re: Open-Xchange 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, 24 Oct 2005 16:47:13 -0000 I'm using open-xchange on FreeBSD 5.4 and I'm not seeing the exceptions at all. Have no problems with webmail. Using postgresql 8.0.3. Regards John Rushford jjr@alisa.org On 10/24/05 4:57 AM, "Panagiotis Astithas" wrote: > Roland Schulz wrote: >>>> the open-xchange developer say, that the bug I reported as #600 >>>> http://www.open-xchange.org/cgi-bin/bugzilla/show_bug.cgi?id=600 >>>> >>>> is probably not an application error but rather freebsd-java related, >>>> because it only occurs on my freebsd machine. >>>> Do you think so too? What other information besides those provided in >>> >>> linked >>> >>>> bug report do you need? >>> >>> From the bug report I don't see anything particular to FreeBSD, FWIW. >>> But then again I have zero experience of open-xchange. >> >> >> In the last comment the ox developer says: >> Fact is that our test machines are running with pooling and it seems that >> only FreeBSD is affected - some Debian users brought this up too, but >> specially for Debian a cron job was the culprit and there is a solution. >> >> The initial problem is the "Query was canceled" error message. According to >> a thread on a similar problem >> http://archives.postgresql.org/pgsql-bugs/2003-04/msg00040.php >> this must be caused by a SIGINT and it is supposed to be FreeBSD specific. >> >> Regards >> Roland Schulz > > > Their argument is rather weak: "it works for us, we don't use FreeBSD, > so it is FreeBSD's fault". The thing is they don't know what is > triggering this behavior, nor do we, so more scrutiny is necessary. > > The thread on PostgreSQL that you mention is hardly pertinent to the > issue at hand, since it concerns rather old versions of the system and > the DBMS. > > I'm interested because I use Java on FreeBSD with PostgreSQL, but I have > never encountered the issues you have described. > > Cheers, > Panagiotis > _______________________________________________ > 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" > From owner-freebsd-java@FreeBSD.ORG Tue Oct 25 06:09:54 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C92F516A41F; Tue, 25 Oct 2005 06:09:54 +0000 (GMT) (envelope-from vincent@kenic.or.ke) Received: from ole.kenic.or.ke (ole.kenic.or.ke [198.32.67.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E61743D45; Tue, 25 Oct 2005 06:09:45 +0000 (GMT) (envelope-from vincent@kenic.or.ke) Received: from [198.32.67.40] (vincent [198.32.67.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ole.kenic.or.ke (Postfix) with ESMTP id A22F96DC5E; Tue, 25 Oct 2005 09:09:29 +0300 (EAT) From: Vincent Ngundi To: FreeBSD Java Issues In-Reply-To: <1129302221.1195.23.camel@vince> References: <1129302221.1195.23.camel@vince> Content-Type: text/plain Organization: KENIC Message-Id: <1130220564.1154.2.camel@vince> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 25 Oct 2005 09:09:24 +0300 Content-Transfer-Encoding: 7bit X-KENIC-MailScanner-Information: Please contact the ISP for more information X-KENIC-MailScanner: Found to be clean X-KENIC-MailScanner-From: vincent@kenic.or.ke Cc: FrreBSD General Questions Subject: Re: Problem Installing native jdk1.5.0 on FreeBSD 5.3-RELEASE X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vincent@kenic.or.ke List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2005 06:09:54 -0000 All I had to do was to disable Kernel Security in /etc/rc.conf.. -V On Fri, 2005-10-14 at 18:03, Vincent Ngundi wrote: > Objective > --------- > > I'm trying to install native jdk 1.5.0 on a box running FreeBSD > 5.3-RELEASE. > > > Problem > ------- > > When I run "make install clean", I'm getting a message telling me that I > should mount LINPROCFS before starting to build jdk 1.5.0 and that the > commands "kldload linprocfs" and > "mount -t linprocfs linprocfs /compat/linux/proc" should do that. > > ** Major Problem: When I run "kldload linprocfs" (as root), I get the > following error: > > "kldload: can't load linprocfs: Operation not permitted" > > > I have the following files on my box: > > /usr/src/sys/compat/linprocfs > /usr/src/sys/i386/compile/****/modules/usr/src/sys/modules/linprocfs > /usr/src/sys/modules/linprocfs > > > What I have done > ---------------- > > ) I have tried to googled out the error > > ) I have lowered the _kernel_secure_level to 1...even to -1 > > ) I have added the following line into my /etc/fstab file: > > "linprocfs /compat/linux/proc linprocfs rw 0 0" > > I still get the same error when I run "kldload linprocfs". > > Please help!! -- -Vincent From owner-freebsd-java@FreeBSD.ORG Tue Oct 25 12:59:41 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62E0A16A41F for ; Tue, 25 Oct 2005 12:59:41 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: from web80821.mail.yahoo.com (web80821.mail.yahoo.com [66.163.170.112]) by mx1.FreeBSD.org (Postfix) with SMTP id D3BDF43D62 for ; Tue, 25 Oct 2005 12:59:31 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: (qmail 218 invoked by uid 60001); 25 Oct 2005 12:59:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=m5zlUBJp5VHrtSv1iZZ1vd9zRLQjYHtJ9SGXD4mWNQkzlKDy07xLIV8ii6GyZJvnc/gMwCxIb6F4nAouUV7l4oscwQHMIdL/OFSlZY90GvYQv3ZoGo5/AngfKA5xoMwEpEpz3UAgp93ULZ3NJL8EM1VtOYFgaf7zdFO8NKHsQNI= ; Message-ID: <20051025125931.216.qmail@web80821.mail.yahoo.com> Received: from [129.54.8.45] by web80821.mail.yahoo.com via HTTP; Tue, 25 Oct 2005 05:59:31 PDT Date: Tue, 25 Oct 2005 05:59:31 -0700 (PDT) From: Tanya N kessler To: freebsd-java@freebsd.org In-Reply-To: <435CD371.1030708@gddsn.org.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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, 25 Oct 2005 12:59:41 -0000 I've tried just about everything. The linux-sun-jdk14 works. I can javac -version. Linprocfs mounts. I have all the right options in the kernel. I added WITH_LIB32=YES to make.conf. What I'm wondering is, do I have to have current ports (bleeding edge) or is stable ports o.k.? For those who got native jdk15 to work on amd64, are you using stable or current ports? I just saw a post about disabling security in the rc.conf file. I'm going to look into that also... If someone has time maybe could they create a quick and dirty how to on installing native jdk15 on a fresh install of freebsd 5.4 for amd64. I know if ever get this working I'm definitely going to host a how to on this. Huang wen hui wrote:Huang wen hui wrote: > Tanya N kessler wrote: > >> O.K., I did a totally fresh install of FreeBSD 5.4 on >> AMD64. Updated CVS with the stable verison 5.x. Did >> a portupgrade of all src and port. Built and >> installed a kernel w/COMPAT_LINUX32 support. Added >> linprocfs to my fstab. Built and installed >> linux-sun-jdk14. Then I go to build native jdk15 and >> I still get the same error. javac is executable by >> user, group, and others. I'm not sure how to tell if >> the VM loads O.K. from linprocfs. All I know is that >> I just switched to FreeBSD. I like a lot, but I can't >> seem to get native java work. Will someone please >> tell me what I am doing wrong... >> >> >> > try to use native jdk1.4.2 as bootstrapper. Of cause you need > COMPAT_IA32 and lib32 options. I succeeded to install jdk1.5.0-p1 on > 5.4R. > > --hwh forgot this: you need to replace /usr/lib32/libpthread by /usr/lib32/libc_r. _______________________________________________ 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" From owner-freebsd-java@FreeBSD.ORG Tue Oct 25 14:54:48 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B35816A41F for ; Tue, 25 Oct 2005 14:54:48 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: from web80807.mail.yahoo.com (web80807.mail.yahoo.com [66.163.170.102]) by mx1.FreeBSD.org (Postfix) with SMTP id 8B5CF43D46 for ; Tue, 25 Oct 2005 14:54:47 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: (qmail 85594 invoked by uid 60001); 25 Oct 2005 14:54:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=YF6gn9Yk4+3dKTmvb7sQX31s8DDQMUCHllkAWIW7GtcgLfbYQK7HpZbeoeQ5eiy0SjH3oJR6st4AOqrLf8xoMMarKtlaNaxkLSvQmHPMeXxivd2gQV28J3MidNMA+1Dwdif4NZCOl3UJKZ6Eg5OhV4G1ENoWwYnZYtxpIIOBzk0= ; Message-ID: <20051025145437.85589.qmail@web80807.mail.yahoo.com> Received: from [129.54.8.45] by web80807.mail.yahoo.com via HTTP; Tue, 25 Oct 2005 07:54:36 PDT Date: Tue, 25 Oct 2005 07:54:36 -0700 (PDT) From: Tanya N kessler To: freebsd-java@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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, 25 Oct 2005 14:54:48 -0000 Yeah, I tried to execute the command by hand in a script. I just get some other different errors. The thing is, I shouldn't have the first error. If other people can install it, why can't I? In theory this is what I'm trying to do on a fresh install. Of course I'm having some problems with installing the new world, but once I get passed that maybe it will work? If someone sees something that I'm missing, please point it out. Install FreeBSD 5.4 on AMD64. Create /root/current-supfile *default host=cvsup7.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix ports-all tag=. src-all Update ports and source files. # cvsup /root/current-supfile Create package database. # pkgdb -F Upgrade installed ports. # portupgrade -arR Rebuild world and kernel, boot in single user mode. GENERIC kernel will have all correct options for Linux binary support. boot –s # fsck –p # mount –u / # mount –a –t ufs # swapon –a # adjkerntz –i # cd /usr/src # make buildworld # make buildkernel # make installkernel Reboot into single user mode (boot –s) # fsck –p # mount –u / # mount –a –t ufs # swapon –a # cd /etc # mergemaster –p # make installworld # mergemaster # reboot Add to /etc/fstab: linprocfs /usr/compat/linux/proc linprocfs rw 0 0 Add to /etc/make.conf: WITH_LIB32=YES Acquire all related Java source, binaries, and patch files. Make sure they are all executable by user and group, then copy to /usr/ports/distfiles. Navigate to /usr/ports/java/linux-sun-jdk14. # make # make install # make clean # make distclean Test java: # java -version Navigate to /usr/ports/java/jdk15. # make # make install # make clean # make distclean Achilleus Mantzios wrote: Have you tried jdk15 on FreeBSD 6.x?? Also if i were you, i'd ask some "popular" person from java@freebsd to login to your machine and have a close look. Also, what about the actual shell command that caused the execve() error?? -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Tue Oct 25 15:19:50 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 773EA16A41F for ; Tue, 25 Oct 2005 15:19:50 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: from web80801.mail.yahoo.com (web80801.mail.yahoo.com [66.163.170.96]) by mx1.FreeBSD.org (Postfix) with SMTP id 1A3A343D49 for ; Tue, 25 Oct 2005 15:19:50 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: (qmail 29081 invoked by uid 60001); 25 Oct 2005 15:19:50 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=BCm1a4jscArXGk5EeCe5qZzqIOaU7mO41XyEKzodNkoSQSs+ObHNYl0PEXvgJO2w1n46mRfdEK1b4zyvO0Rv94mkR2uIK8sW1NgRCwfyir7OXv7Fg2xLlozOv2HmGf8ScPyxUbBonjQdQQe6hWST0z9ZevH3kFGbojPCIryZSy4= ; Message-ID: <20051025151950.29079.qmail@web80801.mail.yahoo.com> Received: from [129.54.8.45] by web80801.mail.yahoo.com via HTTP; Tue, 25 Oct 2005 08:19:49 PDT Date: Tue, 25 Oct 2005 08:19:49 -0700 (PDT) From: Tanya N kessler To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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, 25 Oct 2005 15:19:50 -0000 Sorry about that, email got jacked up. Yeah, I tried to execute the command by hand in a script. I just get some other different errors. The thing is, I shouldn't have the first error. If other people can install it, why can't I? In theory this is what I'm trying to do on a fresh install. Of course I'm having some problems with installing the new world, but once I get passed that maybe it will work? If someone sees something that I'm missing, please point it out. Install FreeBSD 5.4 on AMD64. 1.Create /root/current-supfile *default host=cvsup7.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix ports-all tag=. src-all 2. Update ports and source files. # cvsup /root/current-supfile 3. Create package database. # pkgdb -F 4. Upgrade installed ports. # portupgrade -arR 5. Rebuild world and kernel, boot in single user mode. GENERIC kernel will have all correct options for Linux binary support. # boot –s # fsck –p # mount –u / # mount –a –t ufs # swapon –a # adjkerntz –i # cd /usr/src # make buildworld # make buildkernel # make installkernel 6. Reboot into single user mode (boot –s) # fsck –p # mount –u / # mount –a –t ufs # swapon –a # cd /etc # mergemaster –p # make installworld # mergemaster # reboot 7. Add to /etc/fstab: linprocfs /usr/compat/linux/proc linprocfs rw 0 0 8. Add to /etc/make.conf: WITH_LIB32=YES 9. Acquire all related Java source, binaries, and patch files. Make sure they are all executable by user and group, then copy to /usr/ports/distfiles. 10. Navigate to /usr/ports/java/linux-sun-jdk14. # make # make install # make clean # make distclean 11. Test java: # java -version 12. Navigate to /usr/ports/java/jdk15. # make # make install Achilleus Mantzios wrote: Have you tried jdk15 on FreeBSD 6.x?? Also if i were you, i'd ask some "popular" person from java@freebsd to login to your machine and have a close look. Also, what about the actual shell command that caused the execve() error?? -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Tue Oct 25 18:15:37 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 095AB16A420 for ; Tue, 25 Oct 2005 18:15:37 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9FF143D46 for ; Tue, 25 Oct 2005 18:15:36 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 207-172-79-46.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([207.172.79.46]) by smtp01.mrf.mail.rcn.net with ESMTP; 25 Oct 2005 14:15:33 -0400 X-IronPort-AV: i="3.97,250,1125892800"; d="scan'208"; a="108934857:sNHT76086594" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17246.30246.518956.318618@jerusalem.litteratus.org> Date: Tue, 25 Oct 2005 14:15:02 -0400 To: java@freebsd.org X-Mailer: VM 7.17 under 21.5 (beta22) "cucumber" (+CVS-20050913) XEmacs Lucid Cc: Subject: native jdk-1.5 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, 25 Oct 2005 18:15:37 -0000 I am informed the native jdk-1.5 does not work under -CURRENT. Is this correct? And if so, what is the most recent native version that does run there? jdk-1.4.2-p7? Robert Huff From owner-freebsd-java@FreeBSD.ORG Tue Oct 25 23:17:04 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DE5C16A41F for ; Tue, 25 Oct 2005 23:17:04 +0000 (GMT) (envelope-from landonf@threerings.net) Received: from mail.earth.threerings.net (mail.earth.threerings.net [64.81.51.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 599CF43D48 for ; Tue, 25 Oct 2005 23:17:03 +0000 (GMT) (envelope-from landonf@threerings.net) Received: from [192.168.50.11] (timor.sea.earth.threerings.net [192.168.50.11]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.earth.threerings.net (Postfix) with ESMTP id C0C20650E for ; Tue, 25 Oct 2005 16:17:02 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v623) To: freebsd-java@freebsd.org Message-Id: Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-11--496316617" From: Landon Fuller Date: Tue, 25 Oct 2005 16:17:02 -0700 Content-Transfer-Encoding: 7bit X-Pgp-Agent: GPGMail 1.0.2 X-Mailer: Apple Mail (2.623) Subject: [PATCH] Sun Bug #4879883: Allocating direct buffers causes OutOfMemoryError 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, 25 Oct 2005 23:17:04 -0000 --Apple-Mail-11--496316617 Content-Type: multipart/mixed; boundary=Apple-Mail-10--496316627 --Apple-Mail-10--496316627 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed From http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4879883 A DESCRIPTION OF THE PROBLEM : Allocating a direct byte buffer may give an OutOfMemoryError, even when plenty of memory is available. Although not used in the test case below, in my application this occurs when reading a socket channel ---- We ran into this bug with jdk1.4.2; A simple reproduction case is included in the referenced Sun bug report. This bug was fixed in 1.5.0 and 1.4.2_05. I've back-ported Sun's changes from the 1.5.0 source. The patch (for 1.4.2-p7) is attached below. Please let me know if you have any questions, -landonf --Apple-Mail-10--496316627 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name="reserveMemory-2.diff" Content-Disposition: attachment; filename=reserveMemory-2.diff Only in reserveMemory: cscope.out diff -ru bsdjdk/j2se/src/share/classes/java/nio/Bits.java reserveMemory/j2se/src/share/classes/java/nio/Bits.java --- j2se/src/share/classes/java/nio/Bits.java Fri May 13 18:04:07 2005 +++ j2se/src/share/classes/java/nio/Bits.java Mon Oct 24 11:41:10 2005 @@ -600,24 +600,39 @@ // A user-settable upper limit on the maximum amount of allocatable // direct buffer memory. This value may be changed during VM // initialization if it is launched with "-XX:MaxDirectMemorySize=". - private static long maxMemory = VM.maxDirectMemory(); - private static long reservedMemory = 0; + private static volatile long maxMemory = VM.maxDirectMemory(); + private static volatile long reservedMemory = 0; private static boolean memoryLimitSet = false; // These methods should be called whenever direct memory is allocated or // freed. They allow the user to control the amount of direct memory // which a process may access. All sizes are specified in bytes. - static synchronized void reserveMemory(long size) { - if (!memoryLimitSet && VM.isBooted()) { - maxMemory = VM.maxDirectMemory(); - memoryLimitSet = true; + static void reserveMemory(long size) { + + synchronized (Bits.class) { + if (!memoryLimitSet && VM.isBooted()) { + maxMemory = VM.maxDirectMemory(); + memoryLimitSet = true; + } + if (size <= maxMemory - reservedMemory) { + reservedMemory += size; + return; + } + } + + System.gc(); + try { + Thread.sleep(100); + } catch (InterruptedException x) { + // Restore interrupt status + Thread.currentThread().interrupt(); } - if (reservedMemory + size > maxMemory) { - System.gc(); + synchronized (Bits.class) { if (reservedMemory + size > maxMemory) - throw new OutOfMemoryError(); + throw new OutOfMemoryError("Direct buffer memory"); + reservedMemory += size; } - reservedMemory += size; + } static synchronized void unreserveMemory(long size) { diff -ru bsdjdk/j2se/src/share/classes/sun/misc/VM.java reserveMemory/j2se/src/share/classes/sun/misc/VM.java --- j2se/src/share/classes/sun/misc/VM.java Fri May 13 18:04:16 2005 +++ j2se/src/share/classes/sun/misc/VM.java Tue Oct 25 15:04:28 2005 @@ -128,9 +128,14 @@ return booted; } - // A user-settable upper limit on the maximum amount of allocatable - // direct buffer memory. This value may be changed during VM - // initialization if "java" is launched with "-XX:MaxDirectMemorySize=". + // A user-settable upper limit on the maximum amount of allocatable direct + // buffer memory. This value may be changed during VM initialization if + // "java" is launched with "-XX:MaxDirectMemorySize=". + // + // The initial value of this field is arbitrary; during JRE initialization + // it will be reset to the value specified on the command line, if any, + // otherwise to Runtime.getRuntime.maxDirectMemory(). + // private static long directMemory = 64 * 1024 * 1024; // If this method is invoked during VM initialization, it initializes the @@ -140,6 +145,7 @@ // // If this method is invoked after the VM is booted, it returns the // maximum amount of allocatable direct buffer memory. + // public static long maxDirectMemory() { if (booted) return directMemory; @@ -148,9 +154,16 @@ String s = (String)p.remove("sun.nio.MaxDirectMemorySize"); System.setProperties(p); - long l = (s != null ? Long.parseLong(s) : -1); - if (l > -1) - directMemory = l; + if (s != null) { + if (s.equals("-1")) { + // -XX:MaxDirectMemorySize not given, take default + directMemory = Runtime.getRuntime().maxMemory(); + } else { + long l = Long.parseLong(s); + if (l > -1) + directMemory = l; + } + } return directMemory; } --Apple-Mail-10--496316627-- --Apple-Mail-11--496316617 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFDXrzulplZCE/15mMRAiW0AJ45tPPjwbB7mGpcMWTxbuRKvisM8QCdG0Em BzchWS4vPPVMb12PRSYaZlw= =2OaH -----END PGP SIGNATURE----- --Apple-Mail-11--496316617-- From owner-freebsd-java@FreeBSD.ORG Wed Oct 26 06:45:47 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC65216A41F for ; Wed, 26 Oct 2005 06:45:47 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (host2.dynacom.ondsl.gr [62.103.35.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id E058443D45 for ; Wed, 26 Oct 2005 06:45:46 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id j9Q6f8Sv031084; Wed, 26 Oct 2005 09:41:08 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id j9Q6f5bT031080; Wed, 26 Oct 2005 09:41:07 +0300 Date: Wed, 26 Oct 2005 09:41:05 +0300 (EEST) From: Achilleus Mantzios To: Tanya N kessler In-Reply-To: <20051025145437.85589.qmail@web80807.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: freebsd-java@freebsd.org Subject: Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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, 26 Oct 2005 06:45:48 -0000 O Tanya N kessler Ýãñáøå óôéò Oct 25, 2005 : > Yeah, I tried to execute the command by hand in a script. I just get some other different errors. The thing is, I shouldn't have the first error. If other people can install it, why can't I? In theory this is what I'm trying to do on a fresh install. Of course I'm having some problems with installing the new world, but once I get passed that maybe it will work? If someone sees something that I'm missing, please point it out. > > > > Install FreeBSD 5.4 on AMD64. > Create /root/current-supfile > > > *default host=cvsup7.freebsd.org > *default base=/usr > *default prefix=/usr > *default release=cvs tag=. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Dope!!!!!!!!!! Do you realize that you are not longer on FreeBSD 5.4 ???? Can you do a "uname -a" right now? For 5.4 you would need smth like: *default release=cvs tag=RELENG_5 (for stable development branch), or *default release=cvs tag=RELENG_5_4 (for the "errata" branch, or merely just *default release=cvs tag=RELENG_5_4_0_RELEASE (for the release itself). > *default delete use-rel-suffix > ports-all tag=. > > src-all > > > > > > > > > > > > > > > > > > > Update ports and source files. > > > # cvsup /root/current-supfile > > > > > > > > > Create package database. > > > # pkgdb -F > > > > > > > Upgrade installed ports. > > > # portupgrade -arR > > > > > > > Rebuild world and kernel, boot in single user mode. GENERIC kernel will have all correct options for Linux binary support. > > > boot –s > > # fsck –p > > # mount –u / > > # mount –a –t ufs > > # swapon –a > > # adjkerntz –i > > # cd /usr/src > > # make buildworld > > # make buildkernel > > # make installkernel > > Reboot into single user mode (boot –s) > > # fsck –p > > # mount –u / > > # mount –a –t ufs > > # swapon –a > > # cd /etc > > # mergemaster –p > > # make installworld > > # mergemaster > > # reboot > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Add to /etc/fstab: > > > linprocfs /usr/compat/linux/proc linprocfs rw 0 0 > > > > > > > Add to /etc/make.conf: > > > WITH_LIB32=YES > > > > > > > Acquire all related Java source, binaries, and patch files. Make sure they are all executable by user and group, then copy to /usr/ports/distfiles. > Navigate to /usr/ports/java/linux-sun-jdk14. > > > # make > > # make install > > # make clean > > # make distclean > > > > > > > > > > > > > > > Test java: > > > # java -version > > > > > > > Navigate to /usr/ports/java/jdk15. > > > # make > > # make install > > # make clean > > # make distclean > > > > > > > > > > > > > > > > > Achilleus Mantzios wrote: > Have you tried jdk15 on FreeBSD 6.x?? > > Also if i were you, i'd ask some "popular" person from java@freebsd > to login to your machine and have a close look. > > Also, what about the actual shell command that caused the execve() error?? > > -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Wed Oct 26 11:48:00 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9827016A41F for ; Wed, 26 Oct 2005 11:48:00 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: from web80806.mail.yahoo.com (web80806.mail.yahoo.com [66.163.170.101]) by mx1.FreeBSD.org (Postfix) with SMTP id 29BFE43D48 for ; Wed, 26 Oct 2005 11:48:00 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: (qmail 77142 invoked by uid 60001); 26 Oct 2005 11:47:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=S+NLXipy5AkAaK/75Drgnxr7yybBt2tNNlh7h5pJu+ptLTsvkHaG3Y1VR6XpUkkMnwDn02FLLp/uj4QhWxAQQHHdR2QOHR/WajcchDcTfaJWnwcXqHZEeY48Zinnxe0WAChZTOZKiMiCRlkI9Lk0gYU7jcwibfsrJjFIKPPONwg= ; Message-ID: <20051026114759.77140.qmail@web80806.mail.yahoo.com> Received: from [129.54.8.45] by web80806.mail.yahoo.com via HTTP; Wed, 26 Oct 2005 04:47:59 PDT Date: Wed, 26 Oct 2005 04:47:59 -0700 (PDT) From: Tanya N kessler To: freebsd-java@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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, 26 Oct 2005 11:48:00 -0000 I thought maybe I had to run current ports for jdk to work. I did a fresh install last night and cvsup'd with: *default host=cvsup7.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_5 *default delete use-rel-suffix compress ports-all tag=. src-all I reliezed last night that I have been installing linux_base instead of linux_base-8. I also didn't have: linux_enable="YES" in rc.conf. I tried to build native jdk15 last night, it seemed to stop and hang where it said: Old database: computing closures New database: reading database: includeDB computing closures I think I'm getting closer now, I added: WITH_LIB32=YES to /etc/make.conf and started it before I left for work. I'll see what happens when I get home. Does anyone know if I'm close to getting it installed now? Achilleus Mantzios wrote: Yeah, I tried to execute the command by hand in a script. I just get some other different errors. The thing is, I shouldn't have the first error. If other people can install it, why can't I? In theory this is what I'm trying to do on a fresh install. Of course I'm having some problems with installing the new world, but once I get passed that maybe it will work? If someone sees something that I'm missing, please point it out. Install FreeBSD 5.4 on AMD64. 1.Create /root/current-supfile *default host=cvsup7.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix ports-all tag=. src-all ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Dope!!!!!!!!!! Do you realize that you are not longer on FreeBSD 5.4 ???? Can you do a "uname -a" right now? For 5.4 you would need smth like: *default release=cvs tag=RELENG_5 (for stable development branch), or *default release=cvs tag=RELENG_5_4 (for the "errata" branch, or merely just *default release=cvs tag=RELENG_5_4_0_RELEASE (for the release itself). ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2. Update ports and source files. # cvsup /root/current-supfile 3. Create package database. # pkgdb -F 4. Upgrade installed ports. # portupgrade -arR 5. Rebuild world and kernel, boot in single user mode. GENERIC kernel will have all correct options for Linux binary support. # boot –s # fsck –p # mount –u / # mount –a –t ufs # swapon –a # adjkerntz –i # cd /usr/src # make buildworld # make buildkernel # make installkernel 6. Reboot into single user mode (boot –s) # fsck –p # mount –u / # mount –a –t ufs # swapon –a # cd /etc # mergemaster –p # make installworld # mergemaster # reboot 7. Add to /etc/fstab: linprocfs /usr/compat/linux/proc linprocfs rw 0 0 8. Add to /etc/make.conf: WITH_LIB32=YES 9. Acquire all related Java source, binaries, and patch files. Make sure they are all executable by user and group, then copy to /usr/ports/distfiles. 10. Navigate to /usr/ports/java/linux-sun-jdk14. # make # make install # make clean # make distclean 11. Test java: # java -version 12. Navigate to /usr/ports/java/jdk15. # make # make install Achilleus Mantzios wrote: Have you tried jdk15 on FreeBSD 6.x?? Also if i were you, i'd ask some "popular" person from java@freebsd to login to your machine and have a close look. Also, what about the actual shell command that caused the execve() error?? -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Wed Oct 26 19:10:15 2005 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 646C916A420 for ; Wed, 26 Oct 2005 19:10:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B40D43D4C for ; Wed, 26 Oct 2005 19:10:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9QJAEPY063933 for ; Wed, 26 Oct 2005 19:10:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9QJAEAf063932; Wed, 26 Oct 2005 19:10:14 GMT (envelope-from gnats) Resent-Date: Wed, 26 Oct 2005 19:10:14 GMT Resent-Message-Id: <200510261910.j9QJAEAf063932@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Antonin Bonte Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BEF816A41F for ; Wed, 26 Oct 2005 19:00:55 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 283DE43D46 for ; Wed, 26 Oct 2005 19:00:55 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9QJ0tH3055921 for ; Wed, 26 Oct 2005 19:00:55 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j9QJ0tAv055920; Wed, 26 Oct 2005 19:00:55 GMT (envelope-from nobody) Message-Id: <200510261900.j9QJ0tAv055920@www.freebsd.org> Date: Wed, 26 Oct 2005 19:00:55 GMT From: Antonin Bonte To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: java/88048: Can't set $PORTDIRS then read it via System.getenv() 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, 26 Oct 2005 19:10:15 -0000 >Number: 88048 >Category: java >Synopsis: Can't set $PORTDIRS then read it via System.getenv() >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 26 19:10:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Antonin Bonte >Release: 6.0-RC1 >Organization: ejake.org >Environment: FreeBSD speedball.___.net 6.0-RC1 FreeBSD 6.0-RC1 #0: Wed Oct 19 17:01:46 CEST 2005 root@speedball.___.net:/usr/obj/usr/src/sys/SPEEDBALL i386 >Description: Unable to get an env variable if its name is set to "PORTDIRS" >How-To-Repeat: package codeTest; public class Test { public static void main(String[] args) { System.out.println("PORTSDIR="+System.getenv("PORTSDIR")); System.out.println("PORTDIR="+System.getenv("PORTDIR")); System.out.println("PACKAGES="+System.getenv("PACKAGES")); } } [rabbit speedball] env | egrep "PORTS?DIR|PACKAGES" [rabbit speedball] PORTSDIR=result1 PORTDIR=result2 PACKAGES=result3 java -cp bin codeTest.Test PORTSDIR= PORTDIR=result2 PACKAGES=result3 [rabbit speedball] export PORTSDIR=result1 [rabbit speedball] export PORTDIR=result2 [rabbit speedball] export PACKAGES=result3 [rabbit speedball] env | egrep "PORTS?DIR|PACKAGES" PORTSDIR=result1 PORTDIR=result2 PACKAGES=result3 [rabbit speedball] java -cp bin codeTest.Test PORTSDIR= PORTDIR=result2 PACKAGES=result3 same results using /bin/sh as shell ( was zsh ) >Fix: Change 2 lines in /usr/local/bin/java (javavmwrapper-2.0_5) 429,430c429 < PORTSDIR= < if [ -r /usr/share/mk/bsd.port.mk ]; then --- > if [ -z "${PORTSDIR}" -a -r /usr/share/mk/bsd.port.mk ]; then Now, [rabbit speedball] PORTSDIR=/usr/ports java -cp bin codeTest.Test PORTSDIR=/usr/ports PORTDIR=result2 PACKAGES=result3 [rabbit speedball] PORTSDIR=/usr/dummy java -cp bin codeTest.Test PORTSDIR=/usr/dummy PORTDIR=result2 PACKAGES=result3 >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Wed Oct 26 20:10:13 2005 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1190116A41F; Wed, 26 Oct 2005 20:10:13 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94F5843D5F; Wed, 26 Oct 2005 20:10:10 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9QKAAMg073135; Wed, 26 Oct 2005 20:10:10 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9QKAA4g073131; Wed, 26 Oct 2005 20:10:10 GMT (envelope-from linimon) Date: Wed, 26 Oct 2005 20:10:10 GMT From: Mark Linimon Message-Id: <200510262010.j9QKAA4g073131@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-java@FreeBSD.org, glewis@FreeBSD.org Cc: Subject: Re: ports/88048: java/javavmwrapper: can't set $PORTDIRS then read it via System.getenv() 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, 26 Oct 2005 20:10:13 -0000 Old Synopsis: Can't set $PORTDIRS then read it via System.getenv() New Synopsis: java/javavmwrapper: can't set $PORTDIRS then read it via System.getenv() Responsible-Changed-From-To: freebsd-java->glewis Responsible-Changed-By: linimon Responsible-Changed-When: Wed Oct 26 20:09:19 GMT 2005 Responsible-Changed-Why: Make this a ports PR, change the Synopsis to point to the appropritate port, and reassign. http://www.freebsd.org/cgi/query-pr.cgi?pr=88048 From owner-freebsd-java@FreeBSD.ORG Wed Oct 26 21:00:51 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBDEE16A41F for ; Wed, 26 Oct 2005 21:00:51 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id A91E143D45 for ; Wed, 26 Oct 2005 21:00:47 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j9QL0h9V076019; Thu, 27 Oct 2005 00:00:43 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j9QL0tKW012510; Thu, 27 Oct 2005 00:00:56 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <435FEE77.1000606@ebs.gr> Date: Thu, 27 Oct 2005 00:00:39 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051008) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Landon Fuller References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: [PATCH] Sun Bug #4879883: Allocating direct buffers causes OutOfMemoryError 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, 26 Oct 2005 21:00:51 -0000 Landon Fuller wrote: > From http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4879883 > A DESCRIPTION OF THE PROBLEM : > Allocating a direct byte buffer may give an OutOfMemoryError, even when > plenty of memory is available. Although not used in the test case > below, in my application this occurs when reading a socket channel > > ---- > > We ran into this bug with jdk1.4.2; A simple reproduction case is > included in the referenced Sun bug report. > This bug was fixed in 1.5.0 and 1.4.2_05. > > I've back-ported Sun's changes from the 1.5.0 source. The patch (for > 1.4.2-p7) is attached below. > > Please let me know if you have any questions, > -landonf FYI, it works as advertised here. It fixes the reported bug and doesn't seem to break anything in my testing so far. Thanks, Panagiotis From owner-freebsd-java@FreeBSD.ORG Thu Oct 27 01:33:43 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F29C16A41F for ; Thu, 27 Oct 2005 01:33:43 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: from web80807.mail.yahoo.com (web80807.mail.yahoo.com [66.163.170.102]) by mx1.FreeBSD.org (Postfix) with SMTP id 3EBFC43D45 for ; Thu, 27 Oct 2005 01:33:43 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: (qmail 17942 invoked by uid 60001); 27 Oct 2005 01:33:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zl+fCJ1vgKRWoOFk3Zjw2AIwVir3W7Le95Nu6hCM5oK8Kn1Jfb7yrBfCJahFO/c/k8UCZXgtaTR3BqRUkQF8DvYrcYsqCze3gbmcGccCYahZU1gAqnNV03hldPDoOVjnqQninhHYbEgC+1DWeKP8djVRup9U5YM5T2ZjYd6kCS8= ; Message-ID: <20051027013342.17940.qmail@web80807.mail.yahoo.com> Received: from [68.248.155.172] by web80807.mail.yahoo.com via HTTP; Wed, 26 Oct 2005 18:33:42 PDT Date: Wed, 26 Oct 2005 18:33:42 -0700 (PDT) From: Tanya N kessler To: freebsd-java@freebsd.org In-Reply-To: <20051026114759.77140.qmail@web80806.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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, 27 Oct 2005 01:33:43 -0000 O.K., I am back to square one. I have: COMPAT_IA32 COMPAT_LINUX32 LINPROCFS all in kernel. I have: linprocfs /usr/compat/linux/proc linprocfs rw 0 0 in fstab. I have: linux_enable="YES" in rc.conf. I have: WITH_LIB32 in /etc/make.conf I have: linux-sun-jdk14 installed and javac works so does java -version. I have: necessary files needed to build native jdk15 in /usr/ports/distfiles. When I try to build native jdk15, I get this: execv(): Bad address Error trying to exec /usr/local/linux-sun-jdk1.4.2/bin/javac. Check if file exists and permissions are set correctly. gmake[3]: *** [.compile.classlist] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/java' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 When I try to run the failed command by hand in /usr/ports/java/jdk15/work/j2se/make/java/java I get this: ../../../src/share/classes/java/io/ObjectStreamClass.java:869: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning return cons.newInstance(null); ^ ../../../src/share/classes/java/io/ObjectStreamClass.java:949: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning readObjectNoDataMethod.invoke(obj, null); ^ ../../../src/share/classes/java/io/ObjectStreamClass.java:977: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning return writeReplaceMethod.invoke(obj, null); ^ ../../../src/share/classes/java/io/ObjectStreamClass.java:1006: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning return readResolveMethod.invoke(obj, null); ^ ../../../src/share/classes/sun/misc/ProxyGenerator.java:335: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning hashCodeMethod = Object.class.getMethod("hashCode", null); ^ ../../../src/share/classes/sun/misc/ProxyGenerator.java:338: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning toStringMethod = Object.class.getMethod("toString", null); ^ ../../../src/share/classes/sun/security/jca/ProviderConfig.java:243: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning obj = cons.newInstance(new String[] { argument }); ^ ../../../src/share/classes/javax/xml/transform/TransformerException.java:329: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning null); ^ ../../../src/share/classes/javax/xml/transform/TransformerException.java:334: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning exception = (Throwable) meth.invoke(exception, null); ^ ../../../src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java:1186: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning return (IOException)ctr.newInstance(args); ^ ../../../src/share/classes/com/sun/jmx/mbeanserver/StandardMetaDataImpl.java:637: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning result = meth.invoke(instance,null); ^ ../../../src/share/classes/com/sun/jmx/mbeanserver/MBeanInstantiatorImpl.java:162: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning moi= cons.newInstance(null); ^ Note: * uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 12 warnings From owner-freebsd-java@FreeBSD.ORG Thu Oct 27 05:51:43 2005 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D667016A41F for ; Thu, 27 Oct 2005 05:51:42 +0000 (GMT) (envelope-from yianan@gamebase.com.tw) Received: from os.gamebase.com.tw (os.gamebase.com.tw [219.84.161.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42F4343D46 for ; Thu, 27 Oct 2005 05:51:39 +0000 (GMT) (envelope-from yianan@gamebase.com.tw) Received: from PCHyianan ([220.229.163.2]) by os.gamebase.com.tw (8.13.1/8.13.1) with SMTP id j9R5Tu4e072227 for ; Thu, 27 Oct 2005 13:29:56 +0800 (CST) Message-ID: <000801c5daba$7b561b20$69e218ac@citegroup.corp> From: "YiaNan" To: Date: Thu, 27 Oct 2005 13:51:31 +0800 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: about JVM error 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, 27 Oct 2005 05:51:43 -0000 Resin 2.1.16 (built Tue Feb 15 11:12:27 PST 2005) Copyright(c) 1998-2003 Caucho Technology. All rights reserved. Starting Resin on Wed, 26 Oct 2005 19:22:31 +0800 (CST) [2005-10-26 19:22:32.477] initializing application = http://nol.gamebase.com.tw/ 2005-10-26 19:22:32:null hds is up 2005-10-26 19:22:32:null /home/conf/config.conf [2005-10-26 19:22:32.571] initializing application = http://wow.gamebase.com.tw/ 2005-10-26 19:22:32:null hds is up 2005-10-26 19:22:32:null /home/conf/config.conf [2005-10-26 19:22:32.614] initializing application = http://www.wowbase.com.tw/ 2005-10-26 19:22:32:null hds is up 2005-10-26 19:22:32:null /home/conf/config.conf [2005-10-26 19:22:32.636] initializing application http://localhost/ srun listening to 127.0.0.1:6802 java.lang.OutOfMemoryError java.lang.OutOfMemoryError java.lang.OutOfMemoryError java.lang.OutOfMemoryError java.lang.OutOfMemoryError java.lang.OutOfMemoryError Unexpected Signal : 11 occurred at PC=3D0x28372994 Function=3Dallocate_permanent__C13instanceKlassR11KlassHandleiP6Thread+0x= 30 Library=3D/usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so Current Java thread: at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.lang.ClassLoader.defineClass(ClassLoader.java:448) at = com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:654)= at = com.caucho.util.DynamicClassLoader.findClass(DynamicClassLoader.java:573)= - locked <0x3dce4300> (a com.caucho.util.SimpleClassLoader) at = com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:518)= - locked <0x3dce4300> (a com.caucho.util.SimpleClassLoader) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) - locked <0x3dce4300> (a com.caucho.util.SimpleClassLoader) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:219) at com.caucho.util.CauchoSystem.loadClass(CauchoSystem.java:395) at com.caucho.jsp.JspManager.preloadIsValid(JspManager.java:210) at com.caucho.jsp.JspManager.createPage(JspManager.java:147) at com.caucho.jsp.PageManager.getPage(PageManager.java:351) - locked <0x3dce3ff8> (a com.caucho.jsp.PageManager$Entry) at com.caucho.jsp.PageManager.getPage(PageManager.java:196) at com.caucho.jsp.QServlet.getPage(QServlet.java:220) at = com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:129)= at = com.caucho.server.http.Invocation.service(Invocation.java:315) at = com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:346= ) at = com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:= 274) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:534) Dynamic libraries: 0x8048000 /usr/local/jdk1.4.2/bin/java 0x2806d000 /usr/lib/libc_r.so.4 0x2812a000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so 0x28677000 /usr/lib/libstdc++.so.3 0x286be000 /usr/lib/libm.so.2 0x286db000 = /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so 0x286e9000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so 0x28704000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so 0x28725000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so 0x710d2000 /usr/local/jdk1.4.2/jre/lib/i386/libnet.so 0x2804e000 /usr/libexec/ld-elf.so.1 Heap at VM Abort: Heap def new generation total 184320K, used 47K [0x2c4c0000, 0x38cc0000, = 0x38cc0000) eden space 163840K, 0% used [0x2c4c0000, 0x2c4cbff0, 0x364c0000) from space 20480K, 0% used [0x378c0000, 0x378c0000, 0x38cc0000) to space 20480K, 0% used [0x364c0000, 0x364c0000, 0x378c0000) tenured generation total 581632K, used 82131K [0x38cc0000, = 0x5c4c0000, 0x6c4c0000) the space 581632K, 14% used [0x38cc0000, 0x3dcf4ea8, 0x3dcf5000, = 0x5c4c0000) compacting perm gen total 65536K, used 65535K [0x6c4c0000, 0x704c0000, = 0x704c0000) the space 65536K, 99% used [0x6c4c0000, 0x704bff60, 0x704c0000, = 0x704c0000) Local Time =3D Wed Oct 26 23:08:19 2005 Elapsed Time =3D 14207 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002F1 # Please report this error to # freebsd-java@FreeBSD.org mailing list # # Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_22_sep_2004_20_08 = mixed mode) # # An error report file has been saved as hs_err_pid16940.log. # Please refer to the file for further information. # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D plz teach me how to do,thanks a lot.. From owner-freebsd-java@FreeBSD.ORG Thu Oct 27 07:26:38 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9C5A16A41F for ; Thu, 27 Oct 2005 07:26:38 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6DC643D45 for ; Thu, 27 Oct 2005 07:26:37 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j9R7QZ9V077885; Thu, 27 Oct 2005 10:26:35 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j9R7QhJT022365; Thu, 27 Oct 2005 10:26:48 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <43608123.4070901@ebs.gr> Date: Thu, 27 Oct 2005 10:26:27 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051008) X-Accept-Language: en-us, en MIME-Version: 1.0 To: YiaNan References: <000801c5daba$7b561b20$69e218ac@citegroup.corp> In-Reply-To: <000801c5daba$7b561b20$69e218ac@citegroup.corp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: about JVM error 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, 27 Oct 2005 07:26:39 -0000 YiaNan wrote: > Resin 2.1.16 (built Tue Feb 15 11:12:27 PST 2005) > Copyright(c) 1998-2003 Caucho Technology. All rights reserved. > > Starting Resin on Wed, 26 Oct 2005 19:22:31 +0800 (CST) > [2005-10-26 19:22:32.477] initializing application http://nol.gamebase.com.tw/ > 2005-10-26 19:22:32:null hds is up > 2005-10-26 19:22:32:null /home/conf/config.conf > [2005-10-26 19:22:32.571] initializing application http://wow.gamebase.com.tw/ > 2005-10-26 19:22:32:null hds is up > 2005-10-26 19:22:32:null /home/conf/config.conf > [2005-10-26 19:22:32.614] initializing application http://www.wowbase.com.tw/ > 2005-10-26 19:22:32:null hds is up > 2005-10-26 19:22:32:null /home/conf/config.conf > [2005-10-26 19:22:32.636] initializing application http://localhost/ > srun listening to 127.0.0.1:6802 > java.lang.OutOfMemoryError > java.lang.OutOfMemoryError > java.lang.OutOfMemoryError > java.lang.OutOfMemoryError > java.lang.OutOfMemoryError > java.lang.OutOfMemoryError > > Unexpected Signal : 11 occurred at PC=0x28372994 > Function=allocate_permanent__C13instanceKlassR11KlassHandleiP6Thread+0x30 > Library=/usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so > > Current Java thread: > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:537) > at java.lang.ClassLoader.defineClass(ClassLoader.java:448) > at com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:654) > at com.caucho.util.DynamicClassLoader.findClass(DynamicClassLoader.java:573) > - locked <0x3dce4300> (a com.caucho.util.SimpleClassLoader) > at com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:518) > - locked <0x3dce4300> (a com.caucho.util.SimpleClassLoader) > at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > - locked <0x3dce4300> (a com.caucho.util.SimpleClassLoader) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:219) > at com.caucho.util.CauchoSystem.loadClass(CauchoSystem.java:395) > at com.caucho.jsp.JspManager.preloadIsValid(JspManager.java:210) > at com.caucho.jsp.JspManager.createPage(JspManager.java:147) > at com.caucho.jsp.PageManager.getPage(PageManager.java:351) > - locked <0x3dce3ff8> (a com.caucho.jsp.PageManager$Entry) > at com.caucho.jsp.PageManager.getPage(PageManager.java:196) > at com.caucho.jsp.QServlet.getPage(QServlet.java:220) > at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:129) > at com.caucho.server.http.Invocation.service(Invocation.java:315) > at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:346) > at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274) > at com.caucho.server.TcpConnection.run(TcpConnection.java:139) > at java.lang.Thread.run(Thread.java:534) > > Dynamic libraries: > 0x8048000 /usr/local/jdk1.4.2/bin/java > 0x2806d000 /usr/lib/libc_r.so.4 > 0x2812a000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so > 0x28677000 /usr/lib/libstdc++.so.3 > 0x286be000 /usr/lib/libm.so.2 > 0x286db000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so > 0x286e9000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so > 0x28704000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so > 0x28725000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so > 0x710d2000 /usr/local/jdk1.4.2/jre/lib/i386/libnet.so > 0x2804e000 /usr/libexec/ld-elf.so.1 > > Heap at VM Abort: > Heap > def new generation total 184320K, used 47K [0x2c4c0000, 0x38cc0000, 0x38cc0000) > eden space 163840K, 0% used [0x2c4c0000, 0x2c4cbff0, 0x364c0000) > from space 20480K, 0% used [0x378c0000, 0x378c0000, 0x38cc0000) > to space 20480K, 0% used [0x364c0000, 0x364c0000, 0x378c0000) > tenured generation total 581632K, used 82131K [0x38cc0000, 0x5c4c0000, 0x6c4c0000) > the space 581632K, 14% used [0x38cc0000, 0x3dcf4ea8, 0x3dcf5000, 0x5c4c0000) > compacting perm gen total 65536K, used 65535K [0x6c4c0000, 0x704c0000, 0x704c0000) > the space 65536K, 99% used [0x6c4c0000, 0x704bff60, 0x704c0000, 0x704c0000) > > Local Time = Wed Oct 26 23:08:19 2005 > Elapsed Time = 14207 > # > # HotSpot Virtual Machine Error : 11 > # Error ID : 4F530E43505002F1 > # Please report this error to > # freebsd-java@FreeBSD.org mailing list > # > # Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_22_sep_2004_20_08 mixed mode) > # > # An error report file has been saved as hs_err_pid16940.log. > # Please refer to the file for further information. > # > ================================================================== > plz teach me how to do,thanks a lot.. You are running out of memory, as you can see from the messages displayed by Resin. I'd suggest to start the jvm with as much heap size as you can give it (say, 80% of your physical memory) and use the -server option, too. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Thu Oct 27 10:59:51 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7A1216A41F for ; Thu, 27 Oct 2005 10:59:51 +0000 (GMT) (envelope-from xelah@sphinx.mythic-beasts.com) Received: from wumpus.mythic-beasts.com (wumpus.mythic-beasts.com [212.69.37.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A1B343D45 for ; Thu, 27 Oct 2005 10:59:51 +0000 (GMT) (envelope-from xelah@sphinx.mythic-beasts.com) Received: from sphinx.mythic-beasts.com ([212.69.37.6]) by wumpus.mythic-beasts.com with esmtp (Exim 4.44) id 1EV5U5-0003Ft-Rn; Thu, 27 Oct 2005 11:59:49 +0100 Received: from xelah (helo=localhost) by sphinx.mythic-beasts.com with local-esmtp (Exim 4.51) id 1EV5U5-0001rG-OD; Thu, 27 Oct 2005 11:59:49 +0100 Date: Thu, 27 Oct 2005 11:59:49 +0100 (BST) From: Alex Hayward X-X-Sender: xelah@sphinx.mythic-beasts.com To: Tanya N kessler In-Reply-To: <20051027013342.17940.qmail@web80807.mail.yahoo.com> Message-ID: References: <20051027013342.17940.qmail@web80807.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Alex Hayward Cc: freebsd-java@freebsd.org Subject: Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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, 27 Oct 2005 10:59:52 -0000 On Wed, 26 Oct 2005, Tanya N kessler wrote: > When I try to run the failed command by hand in > /usr/ports/java/jdk15/work/j2se/make/java/java I get > this: [snip compiler warnings] That command completed - but with some warnings. You should be able to go back to the port and run make again now. IIRC I got something similar when I compiled the JDK, though I don't remember having to run a command by hand in that particular directory. Oh, and I had to turn SMP off to get it to compile. The Linux javac went in to an infinite loop part way through otherwise. I had to reboot to do it, too - doing it with the writable sysctl (rather than the tunable one - I can't remember which is which now) caused the machine to crash a little while later. From owner-freebsd-java@FreeBSD.ORG Thu Oct 27 14:02:11 2005 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D2F116A41F; Thu, 27 Oct 2005 14:02:11 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8144243D45; Thu, 27 Oct 2005 14:02:10 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.3/8.13.3/NinthNine) with ESMTP id j9RE27Iw040963; Thu, 27 Oct 2005 23:02:07 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Thu, 27 Oct 2005 23:02:07 +0900 From: Norikatsu Shigemura To: Alexey Zelkin Message-Id: <20051027230207.d077fb37.nork@FreeBSD.org> X-Mailer: Sylpheed version 2.1.4 (GTK+ 2.6.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (sakura.ninth-nine.com [219.127.74.121]); Thu, 27 Oct 2005 23:02:07 +0900 (JST) Cc: ume@FreeBSD.org, Norikatsu Shigemura , freebsd-java@FreeBSD.org Subject: Default CLASSPATH order 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, 27 Oct 2005 14:02:11 -0000 Hi Alexey. I have a problem about jce_policy 1.4 which I committed as security/jce_policy14. I contacted following error. - - - - - - - - java.lang.SecurityException: Unsupported keysize or algorithm parameters at javax.crypto.Cipher.init(DashoA6275) : - - - - - - - - I saw that I miss install directory, and java_home in http://java.sun.com/products/jce/index-14.html is ${JAVA_HOME}/jre. But I want to override ${JAVA_HOME}/jre/lib/*.jar. So I have 2 solution of this problem. 1. a method like graphics/xv-m17n original jar files will rename to backup files, and install new jar files. I don't like this solution:-(. 2. change CLASSPATH order ${JAVA_HOME}/lib rathar than ${JAVA_HOME}/jre/lib. I think this is good solution. But I don't know where CLASSPATH order is decided. Do you have any idea? From owner-freebsd-java@FreeBSD.ORG Thu Oct 27 19:20:24 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BC7016A420 for ; Thu, 27 Oct 2005 19:20:24 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: from web80801.mail.yahoo.com (web80801.mail.yahoo.com [66.163.170.96]) by mx1.FreeBSD.org (Postfix) with SMTP id DBFB043D8D for ; Thu, 27 Oct 2005 19:20:16 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: (qmail 30813 invoked by uid 60001); 27 Oct 2005 19:20:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ewG0BgYf6sVzBBXsVCQxKsEWM/QEwzlPMfyy/fmuU5Z3vQcjmf7vtKi5PnEf0hqbXvRMBM24K6vH+NDz+wlhfvNCuYBaISJw4QP5yeLplgGQ7lF6IDZ+Vj+Vz5Cc4SHA4muPTnk/dahd78y6aB8VZi11e+kjvOphjsbi87qUoLI= ; Message-ID: <20051027192011.30810.qmail@web80801.mail.yahoo.com> Received: from [68.248.155.172] by web80801.mail.yahoo.com via HTTP; Thu, 27 Oct 2005 12:20:10 PDT Date: Thu, 27 Oct 2005 12:20:10 -0700 (PDT) From: Tanya N kessler To: freebsd-java@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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, 27 Oct 2005 19:20:24 -0000 --- Alex Hayward wrote: > On Wed, 26 Oct 2005, Tanya N kessler wrote: > > > When I try to run the failed command by hand in > > /usr/ports/java/jdk15/work/j2se/make/java/java I > get > > this: > > [snip compiler warnings] > > That command completed - but with some warnings. You > should be able to go > back to the port and run make again now. IIRC I got > something similar when > I compiled the JDK, though I don't remember having > to run a command by > hand in that particular directory. > > Oh, and I had to turn SMP off to get it to compile. > The Linux javac went > in to an infinite loop part way through otherwise. I > had to reboot to do > it, too - doing it with the writable sysctl (rather > than the tunable one - > I can't remember which is which now) caused the > machine to crash a little > while later. > _______________________________________________ > 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" > Holy cup of coffee Batman, Java installed! You know I ran that failed command all long time ago, but I saw those warnings and figured it failed, so I never tried to build it. I just would start over. Thanks for all the help everyone, now time to have some fun! From owner-freebsd-java@FreeBSD.ORG Fri Oct 28 18:56:14 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E404616A41F for ; Fri, 28 Oct 2005 18:56:14 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2FC643D45 for ; Fri, 28 Oct 2005 18:56:14 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 2635DF246E for ; Fri, 28 Oct 2005 11:56:14 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00807-07 for ; Fri, 28 Oct 2005 11:56:12 -0700 (PDT) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 9274EF2437 for ; Fri, 28 Oct 2005 11:56:12 -0700 (PDT) From: Sean McNeil To: java@freebsd.org Content-Type: text/plain Organization: Sean McNeil Consulting, Inc Date: Fri, 28 Oct 2005 11:56:12 -0700 Message-Id: <1130525772.62620.7.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: Subject: zlib issue solutions X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sean@mcneil.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 18:56:15 -0000 There have been two solutions to the problem with zlib and Java presented, but I see no resolution to the problem. The most recent and best solution (IMHO) is to use zlib in the build. The alternative is to privatize the symbols. When will one of these fixes be incorporated into the port? The zlib issue causes problems with anything using gtk from Java manifesting in core dumps and theme visual misbehavior. I'm sure it is not just limited to gtk. To refresh peoples memory, these discussions were: http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004487.html http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004476.html Cheers, Sean From owner-freebsd-java@FreeBSD.ORG Fri Oct 28 19:48:55 2005 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3D2116A41F for ; Fri, 28 Oct 2005 19:48:55 +0000 (GMT) (envelope-from jja@vestnet.dk) Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 654E243D48 for ; Fri, 28 Oct 2005 19:48:55 +0000 (GMT) (envelope-from jja@vestnet.dk) Received: from [127.0.0.1] (0x503e2e5a.ronxx1.adsl-dhcp.tele.dk [80.62.46.90]) by pfepc.post.tele.dk (Postfix) with ESMTP id BC516262839 for ; Fri, 28 Oct 2005 21:48:53 +0200 (CEST) Message-ID: <436280A5.6020805@vestnet.dk> Date: Fri, 28 Oct 2005 21:48:53 +0200 From: Jens Augustenborg User-Agent: Mozilla Thunderbird 1.0.5 (Windows/20050711) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: installing java.... 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, 28 Oct 2005 19:48:55 -0000 Hi, why do you guys write: |/cd /usr/ports/java/jdk14 make install clean/ when it's simply not that easy??? How do I actually use the patch-files - the BUILD-file (from | http://www.eyesbeyond.com ) |is all greek to me! I'm lost aaaaaaaaaaaaarrrrrrrrggggghhhhhhhhhhhhhhhhhhhhhh....... Jens | From owner-freebsd-java@FreeBSD.ORG Sat Oct 29 01:04:26 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E832316A41F for ; Sat, 29 Oct 2005 01:04:26 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53FFD43D53 for ; Sat, 29 Oct 2005 01:04:26 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by mail.droso.net (Postfix) with ESMTP id 5745F2299C for ; Sat, 29 Oct 2005 03:04:25 +0200 (CEST) Received: from koala.ipv6.droso.net (localhost [IPv6:::1]) by mail.droso.net (Postfix) with ESMTP id 9D90C229C6 for ; Sat, 29 Oct 2005 03:04:19 +0200 (CEST) From: linimon@FreeBSD.org To: java@freebsd.org Message-Id: <20051029010419.9D90C229C6@mail.droso.net> Date: Sat, 29 Oct 2005 03:04:19 +0200 (CEST) X-Virus-Scanned: by amavisd 0.1 Cc: Subject: FreeBSD ports that you maintain which are currently marked forbidden 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: Sat, 29 Oct 2005 01:04:27 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we are attempting to notify maintainers of ports that are marked as "forbidden" in their Makefiles. Often, these ports are so marked due to security concerns, such as known exploits. An overview of the port, including errors seen on the build farm, is included below. portname: java/linux-blackdown-jdk13 forbidden because: Vulnerabilities in the browser plugin build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=java&portname=linux-blackdown-jdk13 portname: java/linux-ibm-jdk13 forbidden because: Vulnerabilities in the browser plugin build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=java&portname=linux-ibm-jdk13 If this problem is one that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-java@FreeBSD.ORG Sat Oct 29 02:27:24 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E77916A41F for ; Sat, 29 Oct 2005 02:27:24 +0000 (GMT) (envelope-from trs137@psu.edu) Received: from jefferson.arl.psu.edu (jefferson.arl.psu.edu [146.186.165.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B36D43D46 for ; Sat, 29 Oct 2005 02:27:24 +0000 (GMT) (envelope-from trs137@psu.edu) Received: from [172.28.224.140] (arl1406.arl.psu.edu [172.28.224.140]) by ponyexpress.arl.psu.edu (PMDF V6.0-025 #37504) with ESMTPA id <01LUQTS5Z5P88X2H5Q@ponyexpress.arl.psu.edu> for freebsd-java@freebsd.org; Fri, 28 Oct 2005 22:27:22 -0400 (EDT) Date: Fri, 28 Oct 2005 22:27:22 -0400 From: Ted Stodgell In-reply-to: <436280A5.6020805@vestnet.dk> To: Jens Augustenborg Message-id: <4362DE0A.7090005@psu.edu> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) References: <436280A5.6020805@vestnet.dk> Cc: freebsd-java@freebsd.org Subject: Re: installing java.... 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: Sat, 29 Oct 2005 02:27:24 -0000 Jens Augustenborg wrote: > How do I actually use the patch-files - the BUILD-file (from | > http://www.eyesbeyond.com > ) |is all greek to Ports doesn't automatically get the source and patches because the Sun Community Source License (SCSL) requires human interaction (i.e. you have to scroll thru a EULA and click "ok"). Since the automated nature of ports doesn't satisfy the SCSL, you have to manually fetch the required files. However, once you've acquired those files, ports handles everything (almost) automatically. Per the distinfo, you need 3 files: j2sdk-1_4_2-src-scsl.zip, j2sdk-1_4_2-bin-scsl.zip and bsd-jdk14-patches-7.tar.gz. 1. Point a web browser at http://wwws.sun.com/software/java2/download.html. Agree to Sun's community license agreement and download the following and put it all in /usr/ports/distfiles: j2sdk-1_4_2-bin-scsl.zip j2sdk-1_4_2-src-scsl.zip 2. Download bsd-jdk14-patches-7.tar.gz from eyesbeyond.com and put it in /usr/ports/distfiles too. 3. Now, read the makefile. It has some nice options you might be interested in. Ports makefiles can be pretty cool. If you already have a valid native jdk version 1.4.1 or newer, ports will use that JDK to build your new jdk. Otherwise, ports will depend on a Linux bootstrap jdk to build the native one, which means it will first build linux-sun-jdk14. Take note of linux-sun-jdk14/pkg-message! Assuming you're running a kernel with linux binary compat, all you need to do is add a linprocfs entry to /etc/fstab and kldload linprocfs. I'm not 100% sure, but the make process in ports might even attempt to do this for you automatically...it's been a while. Once linux-sun-jdk14 has served its purpose of building jdk-14, you _may_ choose to pkg_delete it kldunload linprocfs, and re-edit your fstab. In either case, the bootstrap jdk will be used to build the FreeBSD native jdk. It takes a long time, so don't be alarmed if it's still chugging after an hour or so. Best Regards, Ted