From owner-freebsd-java@FreeBSD.ORG Sun May 18 11:10:31 2003 Return-Path: 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 ABDB037B401 for ; Sun, 18 May 2003 11:10:31 -0700 (PDT) Received: from www.kjkoster.org (213-84-106-195.adsl.xs4all.nl [213.84.106.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81F6C43FA3 for ; Sun, 18 May 2003 11:10:30 -0700 (PDT) (envelope-from kjkoster@kjkoster.org) Received: from kjkoster.org (LikeEver [192.168.0.1]) by www.kjkoster.org (8.12.9/8.12.9) with ESMTP id h4IILKRt015970 for ; Sun, 18 May 2003 20:21:21 +0200 (CEST) (envelope-from kjkoster@kjkoster.org) Sender: kjkoster@www.kjkoster.org Message-ID: <3EC7CCBC.CBDCF50@kjkoster.org> Date: Sun, 18 May 2003 20:11:08 +0200 From: Kees Jan Koster X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Jikes bug, can't get stacktrace X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 18:10:32 -0000 Dear All, I am trying to get a stacktrace from Jikes, but for some reason I can't seem to get it. Could you please look at the dialogue below and tell me what I am missing? LikeEver% cat bla.java public class bla extends com.evermind.server.ejb.EntityEJBHome { } LikeEver% cat bla.sh #!/bin/sh for i in ${HOME}/web/orion/*.jar do CLASSPATH=${CLASSPATH}:${i} done jikes=/usr/ports/java/jikes/work/jikes-1.18/src/jikes ${jikes} -classpath /usr/local/jdk1.3.1/jre/lib/rt.jar:${CLASSPATH} bla.java file ${jikes} gdb -core jikes.core -e ${jikes} LikeEver% ./bla.sh Segmentation fault (core dumped) /usr/ports/java/jikes/work/jikes-1.18/src/jikes: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 4.8, statically linked, not stripped GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd". Core was generated by `jikes'. Program terminated with signal 11, Segmentation fault. #0 0x806ed6a in ?? () (gdb) bt #0 0x806ed6a in ?? () #1 0x811cfd8 in ?? () #2 0x80ee02a in ?? () #3 0x80ed141 in ?? () #4 0x80a6b82 in ?? () #5 0x80ecb28 in ?? () #6 0x80ece0a in ?? () #7 0x8127cc6 in ?? () #8 0x80b1089 in ?? () #9 0x80abb22 in ?? () #10 0x80acaa7 in ?? () #11 0x80ac94f in ?? () #12 0x80a5af7 in ?? () #13 0x8123bd4 in ?? () #14 0x809ad50 in ?? () #15 0x809a452 in ?? () #16 0x8096e84 in ?? () #17 0x80fec7d in ?? () #18 0x80fe377 in ?? () #19 0x804813e in ?? () (gdb) ^D LikeEver% _ I linked jikes statically and dynamically, but that makes no difference. Yours, Kees Jan ----------------------------------------------------------------- Kees Jan Koster e-mail: kjkoster "at" kjkoster.org www: http://www.kjkoster.org/ ----------------------------------------------------------------- I always think carefully, before I say something dumb. [Loesje] From owner-freebsd-java@FreeBSD.ORG Sun May 18 14:50:09 2003 Return-Path: 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 D93E537B401 for ; Sun, 18 May 2003 14:50:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45B0A43FD7 for ; Sun, 18 May 2003 14:50:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4ILo8Up022410 for ; Sun, 18 May 2003 14:50:08 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4ILo7td022409; Sun, 18 May 2003 14:50:07 -0700 (PDT) Date: Sun, 18 May 2003 14:50:07 -0700 (PDT) Message-Id: <200305182150.h4ILo7td022409@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Jonathan Chen Subject: Re: java/52302: jdk14 runnaway processes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jonathan Chen List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 21:50:09 -0000 The following reply was made to PR java/52302; it has been noted by GNATS. From: Jonathan Chen To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: java/52302: jdk14 runnaway processes Date: Mon, 19 May 2003 09:43:52 +1200 Here's another backtrace against jakarta-tomcat4.1 for comparison. -- Jonathan Chen Mobile Data Now Tel: +64-9-636-8014 35K Maurice Rd Fax: +64-9-636-8534 Penrose, Auckland New Zealand ----------------------------------------------------------------------------- heimdal-c,9:34am> ps -U www PID TT STAT TIME COMMAND 17610 p5 S 0:00.03 _su -m (csh) 17623 p5 R 2:36.06 /usr/local/jdk1.4.1/bin/java_g -Djava.endorsed.dirs=/ 17651 p5 R+ 0:00.00 ps -U www 17645 p6 S 0:00.04 _su -m (csh) 17650 p6 S+ 0:01.56 /usr/libexec/elf/gdb /usr/local/jdk1.4.1/bin/java_g c heimdal-c,9:34am> gcore -s 17623 heimdal-c,9:34am> gdb /usr/local/jdk1.4.1/bin/java_g core.17623 GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf Core was generated by `java_g'. Reading symbols from /usr/lib/libc_r.so.4...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/client/libjvm_g.so... done. Reading symbols from /usr/lib/libstdc++.so.3...done. Reading symbols from /usr/lib/libm.so.2...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/native_threads/libhpi_g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libverify_g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libjava_g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libzip_g.so...done. Reading symbols from /usr/local/jdk1.4.1/jre/lib/i386/libnet_g.so...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x280c1584 in _get_curthread () from /usr/lib/libc_r.so.4 (gdb) bt #0 0x280c1584 in _get_curthread () from /usr/lib/libc_r.so.4 #1 0xbfbfffac in ?? () #2 0x280f6fcd in _thread_leave_cancellation_point () from /usr/lib/libc_r.so.4 #3 0x280f7327 in _thread_leave_cancellation_point () from /usr/lib/libc_r.so.4 #4 0x280f77d5 in free () from /usr/lib/libc_r.so.4 #5 0x280b4873 in fork () from /usr/lib/libc_r.so.4 #6 0x29f93b2e in Java_java_lang_UNIXProcess_forkAndExec (env=0x83af8b8, process=0x8cb9698, cmdarray=0x8cb9694, envp=0x0, path=0x8cb968c, stdin_fd=0x8cb9688, stdout_fd=0x8cb9684, stderr_fd=0x8cb9680) at /usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/java/obj_g/UNIXProcess_md.c:335 #7 0x2baef4bc in ?? () #8 0x2bae7eff in ?? () #9 0x2bae519d in ?? () #10 0x28531054 in JavaCalls::call_helper (result=0x8cb9a20, m=0x8cb982c, args=0x8cb98bc, __the_thread__=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:387 #11 0x2875599c in os::os_exception_wrapper ( f=0x28530bac , value=0x8cb9a20, method=0x8cb982c, args=0x8cb98bc, thread=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1828 #12 0x28530b91 in JavaCalls::call (result=0x8cb9a20, method={ = { _handle = 0x86b8878}, }, args=0x8cb98bc, __the_thread__=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:315 #13 0x2854a3c5 in jni_invoke_nonstatic (env=0x83af8b8, result=0x8cb9a20, receiver=0x8509120, call_type=JNI_NONVIRTUAL, methodID=0x87d3c98, args=0x8cb9a04, __the_thread__=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:760 #14 0x2854c153 in jni_NewObjectV (env=0x83af8b8, clazz=0x850911c, methodID=0x87d3c98, args=0x8cb9ad4 "P\233Ë\b") at /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:801 #15 0x29f9e638 in JNU_NewObjectByName (env=0x83af8b8, class_name=0x29fa6dfc "java/lang/UNIXProcess", constructor_sig=0x29fa6dc0 "([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V") at ../../../src/share/native/common/jni_util.c:369 #16 0x29f98a9a in Java_java_lang_Runtime_execInternal (env=0x83af8b8, this=0x8cb9b54, cmdarray=0x8cb9b50, envp=0x0, path=0x8cb9b48) at ../../../src/solaris/native/java/lang/Runtime_md.c:28 #17 0x2baef4bc in ?? () #18 0x2bae7f2a in ?? () #19 0x2bae519d in ?? () #20 0x28531054 in JavaCalls::call_helper (result=0x8cb9eb8, m=0x8cb9cf0, args=0x8cb9e40, __the_thread__=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:387 #21 0x2875599c in os::os_exception_wrapper ( f=0x28530bac , value=0x8cb9eb8, method=0x8cb9cf0, args=0x8cb9e40, thread=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1828 #22 0x28530b91 in JavaCalls::call (result=0x8cb9eb8, method={ = { _handle = 0x86b885c}, }, args=0x8cb9e40, __the_thread__=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:315 #23 0x2877fd8f in Reflection::invoke (klass={ = { = { _handle = 0x86b884c}, }, }, reflected_method={ = {_handle = 0x86b8850}, }, receiver={_handle = 0x86b8840}, override=0, ptypes={ = { _handle = 0x86b8848}, }, rtype=T_OBJECT, args={ = {_handle = 0x86b8844}, }, is_method_invoke=1, __the_thread__=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/reflection.cpp:811 #24 0x28785650 in Reflection::invoke_method (method_mirror=0x2e527488, receiver={_handle = 0x86b8840}, args={ = { _handle = 0x86b8844}, }, __the_thread__=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/reflection.cpp:1381 #25 0x2864b053 in JVM_InvokeMethod (env=0x83af8b8, method=0x8cba114, obj=0x8cba110, args0=0x8cba10c) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jvm.cpp:3318 #26 0x29f956e8 in Java_sun_reflect_NativeMethodAccessorImpl_invoke0 ( env=0x83af8b8, unused=0x8cba104, m=0x8cba114, obj=0x8cba110, args=0x8cba10c) at ../../../src/share/native/sun/reflect/NativeAccessors.c:15 #27 0x2baef4bc in ?? () #28 0x2bae7f2a in ?? () #29 0x2bc5877e in ?? () #30 0x2bc584ae in ?? () #31 0x2bae7f2a in ?? () #32 0x2bae7f2a in ?? () #33 0x2bae7f2a in ?? () #34 0x2bae7eff in ?? () #35 0x2bae7eff in ?? () #36 0x2bae82b1 in ?? () #37 0x2bae7e53 in ?? () #38 0x2bae7e53 in ?? () #39 0x2bae7e53 in ?? () #40 0x2bae7e53 in ?? () #41 0x2bae7e53 in ?? () #42 0x2bae7e53 in ?? () #43 0x2bae7e53 in ?? () #44 0x2bae7e53 in ?? () #45 0x2bae8159 in ?? () #46 0x2bae7e53 in ?? () #47 0x2bae7e53 in ?? () #48 0x2bae8159 in ?? () #49 0x2bae7e53 in ?? () #50 0x2bae8159 in ?? () #51 0x2bae8159 in ?? () #52 0x2bae8159 in ?? () #53 0x2bae7e53 in ?? () #54 0x2bae8159 in ?? () #55 0x2bae7e53 in ?? () #56 0x2bae8159 in ?? () #57 0x2bae8159 in ?? () #58 0x2bae8159 in ?? () #59 0x2bae8159 in ?? () #60 0x2bae8159 in ?? () #61 0x2bae8159 in ?? () #62 0x2bae7e53 in ?? () #63 0x2bae8159 in ?? () #64 0x2bae8159 in ?? () #65 0x2bae8159 in ?? () #66 0x2bae7e53 in ?? () #67 0x2bae8159 in ?? () #68 0x2bae8159 in ?? () #69 0x2bae8159 in ?? () #70 0x2bae7e53 in ?? () #71 0x2bae8159 in ?? () #72 0x2bae8159 in ?? () #73 0x2bae8159 in ?? () #74 0x2bae519d in ?? () #75 0x28531054 in JavaCalls::call_helper (result=0x8cbaec8, m=0x8cbad68, args=0x8cbae0c, __the_thread__=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:387 #76 0x2875599c in os::os_exception_wrapper ( f=0x28530bac , value=0x8cbaec8, method=0x8cbad68, args=0x8cbae0c, thread=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1828 #77 0x28530b91 in JavaCalls::call (result=0x8cbaec8, method={ = { _handle = 0x86b8838}, }, args=0x8cbae0c, __the_thread__=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:315 #78 0x285302ed in JavaCalls::call_virtual (result=0x8cbaec8, spec_klass={ = {_handle = 0x86b8828}, }, name={ = {_handle = 0x29f021c8}, }, signature={ = {_handle = 0x29f0224c}, }, args=0x8cbae0c, __the_thread__=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:211 #79 0x28530385 in JavaCalls::call_virtual (result=0x8cbaec8, receiver={ _handle = 0x86b8824}, spec_klass={ = { _handle = 0x86b8828}, }, name={ = { _handle = 0x29f021c8}, }, signature={ = { _handle = 0x29f0224c}, }, __the_thread__=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/javaCalls.cpp:217 #80 0x2862222d in thread_entry (thread=0x83af818, __the_thread__=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jvm.cpp:1810 #81 0x287dd305 in JavaThread::thread_main_inner (this=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/thread.cpp:1321 #82 0x287dd1c1 in JavaThread::run (this=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/thread.cpp:1305 #83 0x28752808 in _start (data=0x83af818) at /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:557 #84 0x280840a8 in _thread_start () from /usr/lib/libc_r.so.4 #85 0x0 in ?? () (gdb) heimdal-c,9:35am> From owner-freebsd-java@FreeBSD.ORG Mon May 19 05:18:25 2003 Return-Path: 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 13FA237B404 for ; Mon, 19 May 2003 05:18:25 -0700 (PDT) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCAA243F75 for ; Mon, 19 May 2003 05:18:23 -0700 (PDT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1]) h4JCJvnx039364; Mon, 19 May 2003 14:19:57 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost)h4JCJu2j039361; Mon, 19 May 2003 14:19:57 +0200 (CEST) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Mon, 19 May 2003 14:19:56 +0200 (CEST) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: Greg Lewis In-Reply-To: <20030516211852.GA1747@misty.eyesbeyond.com> Message-ID: <20030519141536.A39325@puget.esil.univ-mrs.fr> References: <20030516093007.W98105@puget.esil.univ-mrs.fr> <20030516211852.GA1747@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org Subject: Re: java/jdk13 does not autodetect itself (fwd) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 12:18:25 -0000 Thanks for your help. I will assume it wortks with IBM also until someone tells me the opposite. Expect the patch in the next few days. Herve On Fri, 16 May 2003, Greg Lewis wrote: > On Fri, May 16, 2003 at 09:33:30AM +0200, Herve Quiroz wrote: > > I am currently working on this patch and I have one question: > > > > Can we build the native JDK 1.3 using IBM or Blackdown linux JDK ? > > Yes for Blackdown. Not sure for IBM. I can try and test that one a > little later on tonight. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org > > _______________________________________________ > 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 Mon May 19 06:31:39 2003 Return-Path: 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 754C937B401 for ; Mon, 19 May 2003 06:31:39 -0700 (PDT) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2192443F93 for ; Mon, 19 May 2003 06:31:38 -0700 (PDT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1]) h4JDXCnx073685 for ; Mon, 19 May 2003 15:33:13 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost)h4JDXBVq073682 for ; Mon, 19 May 2003 15:33:12 +0200 (CEST) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Mon, 19 May 2003 15:33:11 +0200 (CEST) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: freebsd-java@FreeBSD.ORG In-Reply-To: <20030515212719.GA18091@misty.eyesbeyond.com> Message-ID: <20030519151246.I68227@puget.esil.univ-mrs.fr> References: <20030514.125107.74756915.haro@kgt.co.jp> <200305150858.53470.ernst.dehaan@nl.wanadoo.com> <20030515212719.GA18091@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: bsd.java.mk 2.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 13:31:39 -0000 Hi, Here are my ideas for the next major version of bsd.java.mk... First there are two variable called NO_BUILD_DEPENDS and NO_RUN_DEPENDS. I propose we only use one: USE_JAVA= [run | build | both] USE_JAVA was previously used to specify the JDK version number the port depends on. But as it has been said, it does not allow enough flexibility nor it does not allow to specify a particular JDK to use. So what about having three other variables ? USE_JAVA_VENDOR= [sun | ibm | blackdown]... USE_JAVA_VERSION= [1.1[+] | 1.2[+] | 1.3[+] | 1.4[+]] USE_JAVA_OS= [linux | native] Each of which may be empty or undefined if the choice is not important. USE_JAVA_VENDOR may contain a list of vendors. Then if the porter wants a specific JDK, he may use the following: USE_JAVA_PORT Where he specifies the directory of the JDK to use (e.g. java/jdk13) [Optional: USE_JAVA_PORT could also contain several ports...] Internally, the bsd.java.mk file manages the dependencies by taking user preferences into account: USE_JAVA_PORT contains a list of JDK ports to use ordered by preference. USE_JAVA_1_{1|2|3|4}_PORTS contains a list of JDK ports to use when a particular version is required, again ordered by preference. Then bsd.java.mk build a list of the JDK specified by the port. Amongst these ports, it chooses preferably one that is part of the user choices. And amongst these resulting ports, it chooses preferably a port that is already installed. IMHO it should lessen considerably the complexity and maintenance of bsd.java.mk as the maintainer needs only to have a generic Makefile and store JDK ports with variables. What are your opinions ? Regards, Herve From owner-freebsd-java@FreeBSD.ORG Mon May 19 11:01:28 2003 Return-Path: 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 713FC37B401 for ; Mon, 19 May 2003 11:01:28 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 083B743F75 for ; Mon, 19 May 2003 11:01:28 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4JI1RUp064345 for ; Mon, 19 May 2003 11:01:27 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4JI1R7R064340 for java@freebsd.org; Mon, 19 May 2003 11:01:27 -0700 (PDT) Date: Mon, 19 May 2003 11:01:27 -0700 (PDT) Message-Id: <200305191801.h4JI1R7R064340@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 18:01:28 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/02/25] java/35320 java linux-jdk-1.4 JVM fails when running Tomc 1 problem total. Non-critical problems From owner-freebsd-java@FreeBSD.ORG Mon May 19 15:15:49 2003 Return-Path: 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 3483037B401 for ; Mon, 19 May 2003 15:15:49 -0700 (PDT) Received: from smtp.web.de (smtp02.web.de [217.72.192.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6627143FBF for ; Mon, 19 May 2003 15:15:48 -0700 (PDT) (envelope-from g.w.k@web.de) Received: from [217.232.179.208] (helo=[217.232.179.208]) by smtp.web.de with asmtp (WEB.DE 4.98 #232) id 19Hsuz-0003gU-00; Tue, 20 May 2003 00:15:42 +0200 From: "Georg-W. Koltermann" To: Lutz Bichler In-Reply-To: <200305171035.35849.Lutz.Bichler@unibw-muenchen.de> References: <200305171035.35849.Lutz.Bichler@unibw-muenchen.de> Content-Type: text/plain Organization: Message-Id: <1053382610.606.6.camel@bat.localnet> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 20 May 2003 00:16:50 +0200 Content-Transfer-Encoding: 7bit Sender: g.w.k@web.de cc: freebsd-java@freebsd.org Subject: Re: NullPointerException in Together/jdk1.4.1-p3 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 22:15:49 -0000 Together is known not to work with JDK 1.4.x. Togethersoft stated that the next version would work with 1.4. However, that statement was made before they were acquired by Borland :-) -- Regards, Georg. Am Sa, 2003-05-17 um 10.35 schrieb Lutz Bichler: > Hi, > > i try to use Together with jdk-1.4.1-p3 and a NullPointerException whenever i > try to open the "PrintOptions" dialog. The appearing trace is appended. Any > idea what i can do about this, except from digging into the jdk code? > > Lutz > > > ______________________________________________________________________ > > _______________________________________________ > 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" -- Georg-W. Koltermann From owner-freebsd-java@FreeBSD.ORG Mon May 19 18:35:11 2003 Return-Path: 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 4BB4837B401 for ; Mon, 19 May 2003 18:35:11 -0700 (PDT) Received: from web40601.mail.yahoo.com (web40601.mail.yahoo.com [66.218.78.138]) by mx1.FreeBSD.org (Postfix) with SMTP id DA6C143FAF for ; Mon, 19 May 2003 18:35:10 -0700 (PDT) (envelope-from jmadynski@yahoo.com) Message-ID: <20030520013510.19064.qmail@web40601.mail.yahoo.com> Received: from [64.168.20.70] by web40601.mail.yahoo.com via HTTP; Mon, 19 May 2003 18:35:10 PDT Date: Mon, 19 May 2003 18:35:10 -0700 (PDT) From: James Hoffa To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: possible bug with starvation X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 01:35:11 -0000 Hello-- 1. Thank you for all of your hard work on the FreeBSD java project. It is really great work. 2. I think I may have found a bug, but I am not sure. please see below. It may just be a consequence of the 4.8 threading model and is hopefully fixed in 5.X Details: My codebase uses Apache Ant to build. This works fine on WinXP, Win2K, Solaris, and Linux. Just check out of cvs, modify build.properties to reflect the environment and go. One of the Ant tasks consists of signing a jar. I compiled the 1.4 jvm for FreeBSD and tried to build my codebase. When I run the equivalent of make world (dist-all) from a bash prompt, it takes a long time to build everything on this K62-350, but finishes successfully. I set up a cron job to build the code a few times a day. Somehow, everything stops in the jarsigner task and the cpu goes idle. It is not a password/keystore prompt issue -- the job finishes OK when run from the command line. If I check back in a few hours, the same cron job is still running, waiting for jarsigner to finish. As soon as I type a command as simple as "ls" , the cpu maxes out with jarsigner and the cron job actually finishes. It is as if I awoke the sleeping/starving thread. below are some more details about my setup. If you need any additional information, I am happy to oblige. this bug is not critical to me, just trying to contribute a bit to the project. $ ant -version Apache Ant version 1.5.2 compiled on February 28 2003 $ java -version java version "1.4.1-p3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p3-root_15_may_2003_02_10) $ uname -a FreeBSD althea.thinlizard.com 4.8-STABLE FreeBSD 4.8-STABLE #0: Sat May 3 17:39:26 PDT 2003 root@althea.thinlizard.com:/usr/obj/usr/src/sys/ALTHEA i386 From owner-freebsd-java@FreeBSD.ORG Tue May 20 01:00:39 2003 Return-Path: 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 55D6637B40D for ; Tue, 20 May 2003 01:00:38 -0700 (PDT) Received: from gatesrv.RZ.UniBw-Muenchen.de (gatesrv.RZ.UniBW-Muenchen.de [137.193.11.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F89143F85 for ; Tue, 20 May 2003 01:00:37 -0700 (PDT) (envelope-from lutz@medusa.informatik.unibw-muenchen.de) Received: from medusa.informatik.unibw-muenchen.de (medusa.Informatik.UniBw-Muenchen.de [137.193.60.34])h4K7vhgQ024114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 May 2003 09:57:43 +0200 (MEST) Received: from lutz by medusa.informatik.unibw-muenchen.de with local (Exim 4.20) id 19I1zR-000Hqm-HP; Tue, 20 May 2003 09:56:53 +0200 From: Lutz Bichler Organization: University of the Federal Armed Forces Munich To: "Georg-W. Koltermann" Date: Tue, 20 May 2003 09:56:53 +0200 User-Agent: KMail/1.5.1 References: <200305171035.35849.Lutz.Bichler@unibw-muenchen.de> <1053382610.606.6.camel@bat.localnet> In-Reply-To: <1053382610.606.6.camel@bat.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200305200956.53509.Lutz.Bichler@unibw-muenchen.de> Sender: Lutz Bichler cc: freebsd-java@freebsd.org Subject: Re: NullPointerException in Together/jdk1.4.1-p3 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 08:00:39 -0000 On Tuesday 20 May 2003 00:16, Georg-W. Koltermann wrote: > Together is known not to work with JDK 1.4.x. Togethersoft stated that > the next version would work with 1.4. > > However, that statement was made before they were acquired by Borland > > :-) > > -- > Regards, > Georg. Using jdk1.4.1 on Linux or Windows it works ok. So it seems to be a bug in = the=20 BSD=B4s jdk1.4.1-p3 . Cheers Lutz From owner-freebsd-java@FreeBSD.ORG Tue May 20 01:26:13 2003 Return-Path: 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 5463537B401 for ; Tue, 20 May 2003 01:26:11 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48AC043F3F for ; Tue, 20 May 2003 01:26:08 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h4KAY67O051402 for ; Tue, 20 May 2003 10:34:07 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h4K8XLXq047189; Tue, 20 May 2003 11:33:21 +0300 (EEST) (envelope-from ml) Date: Tue, 20 May 2003 11:33:21 +0300 From: Alexey Zelkin To: java@freebsd.org Message-ID: <20030520113321.A47164@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.7-STABLE i386 Subject: i am back ... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 08:26:13 -0000 hi, Guys, I am coming back to Java business after some delay caused by many reasons. As I see from archive there're quite a few reports for jdk14 port. I'll go thru archives and review all of them soon. If you feels that problem is very important -- please point my attention to a problem or forward bugreport to me personally. From owner-freebsd-java@FreeBSD.ORG Tue May 20 01:56:42 2003 Return-Path: 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 3AFED37B401 for ; Tue, 20 May 2003 01:56:42 -0700 (PDT) Received: from mail.takas.lt (mail-src.takas.lt [212.59.31.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9931143F85 for ; Tue, 20 May 2003 01:56:39 -0700 (PDT) (envelope-from stakys@punktas.lt) Received: from ss ([81.7.108.108]) by mail.takas.lt with Microsoft SMTPSVC(5.0.2195.5329); Tue, 20 May 2003 11:56:38 +0300 Message-ID: <0a3501c31ead$df1ea990$0400a8c0@ss> From: "stakys" To: Date: Tue, 20 May 2003 11:57:41 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 20 May 2003 08:56:38.0107 (UTC) FILETIME=[B927BAB0:01C31EAD] Subject: mod_jk2 errors X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 08:56:42 -0000 Hi, i configured everything like says the how-to in the http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto, but when i start apache i see theese in my httpd-error.log: tail -f /var/log/httpd-error.log [Mon May 19 16:24:20 2003] [notice] uriEnv.setAttribute() the worker directive is deprecated. Use 'group' instead. [Mon May 19 16:24:20 2003] [notice] uriEnv.setAttribute() the worker directive is deprecated. Use 'group' instead. [Mon May 19 16:24:20 2003] [notice] uriEnv.setAttribute() the worker directive is deprecated. Use 'group' instead. [Mon May 19 16:24:20 2003] [notice] uriEnv.setAttribute() the worker directive is deprecated. Use 'group' instead. [Mon May 19 16:24:21 2003] [notice] Apache/2.0.45 (Unix) PHP/4.3.1 mod_jk2/2.0.3-dev configured -- resuming normal operations [Mon May 19 16:24:21 2003] [notice] jk2_init() Found child 12342 in scoreboard slot 0 [Mon May 19 16:24:21 2003] [notice] workerEnv.init() ok /usr/local/conf/workers2.properties [Mon May 19 16:24:21 2003] [error] mod_jk child init 1 0 [Mon May 19 16:24:21 2003] [notice] jk2_init() Found child 12343 in scoreboard slot 1 [Mon May 19 16:24:21 2003] [notice] workerEnv.init() ok /usr/local/conf/workers2.properties And when i try to access to the pages http://192.168.0.2 or 127.0.0.1 i get to the page like this: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, stakys@punktas.lt and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ---------------------------------------------------------------------------- ---- Apache/2.0.45 (Unix) PHP/4.3.1 mod_jk2/2.0.3-dev Server at 192.168.0.2 Port 80 And i can see theese messages in my error log: [Mon May 19 16:28:23 2003] [notice] shm.createSlot() Create 1 0x28671000 0x28673000 [Mon May 19 16:28:23 2003] [notice] workerEnv.init() create slot epStat.0 [Mon May 19 16:28:23 2003] [error] channelSocket.open() connect failed 127.0.0.1:8009 61 Connection refused [Mon May 19 16:28:23 2003] [error] ajp13.connect() failed ajp13:localhost:8009 [Mon May 19 16:28:23 2003] [error] ajp13.service() failed to connect endpoint errno=61 Connection refused [Mon May 19 16:28:23 2003] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 1 [Mon May 19 16:28:23 2003] [notice] ajp13.done() close endpoint ajp13:localhost:8009 error_state 1 [Mon May 19 16:28:23 2003] [error] mod_jk.handler() Error connecting to tomcat 120000 Hmmz whats wrong with this ? How to solve theese errors? From owner-freebsd-java@FreeBSD.ORG Tue May 20 10:44:07 2003 Return-Path: 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 4289237B401 for ; Tue, 20 May 2003 10:44:07 -0700 (PDT) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 698EF43FA3 for ; Tue, 20 May 2003 10:44:06 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 19IB9h-0000xF-05 for freebsd-java@freebsd.org; Tue, 20 May 2003 11:44:05 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 19IB9Z-0000sn-05; Tue, 20 May 2003 11:43:58 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h4KHmpMP028628; Tue, 20 May 2003 11:48:52 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h4KHmnwE028627; Tue, 20 May 2003 11:48:49 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 20 May 2003 11:48:48 -0600 From: Greg Lewis To: Herve Quiroz Message-ID: <20030520174848.GA28600@misty.eyesbeyond.com> References: <20030516093007.W98105@puget.esil.univ-mrs.fr> <20030516211852.GA1747@misty.eyesbeyond.com> <20030519141536.A39325@puget.esil.univ-mrs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030519141536.A39325@puget.esil.univ-mrs.fr> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.5 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.54 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) cc: freebsd-java@freebsd.org Subject: Re: java/jdk13 does not autodetect itself (fwd) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 17:44:07 -0000 Hi Herve, On Mon, May 19, 2003 at 02:19:56PM +0200, Herve Quiroz wrote: > I will assume it wortks with IBM also until someone tells me the opposite. FWIW I just built using the IBM JDK as the bootstrap without any problems, so we are safe in assuming it can be used as the bootstrap. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Tue May 20 11:09:34 2003 Return-Path: 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 D5B7637B404 for ; Tue, 20 May 2003 11:09:34 -0700 (PDT) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id D045A43F85 for ; Tue, 20 May 2003 11:09:33 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 19IBYL-0006Ia-02 for freebsd-java@freebsd.org; Tue, 20 May 2003 12:09:33 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 19IBYF-0006F8-02; Tue, 20 May 2003 12:09:28 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h4KIEOMP028729; Tue, 20 May 2003 12:14:24 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h4KIEMrQ028728; Tue, 20 May 2003 12:14:22 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 20 May 2003 12:14:21 -0600 From: Greg Lewis To: Herve Quiroz Message-ID: <20030520181421.GB28600@misty.eyesbeyond.com> References: <20030514.125107.74756915.haro@kgt.co.jp> <200305150858.53470.ernst.dehaan@nl.wanadoo.com> <20030515212719.GA18091@misty.eyesbeyond.com> <20030519151246.I68227@puget.esil.univ-mrs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030519151246.I68227@puget.esil.univ-mrs.fr> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.9 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.54 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) cc: freebsd-java@freebsd.org Subject: Re: bsd.java.mk 2.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 18:09:35 -0000 Hi Herve, On Mon, May 19, 2003 at 03:33:11PM +0200, Herve Quiroz wrote: > Here are my ideas for the next major version of bsd.java.mk... > > First there are two variable called NO_BUILD_DEPENDS and NO_RUN_DEPENDS. I > propose we only use one: USE_JAVA= [run | build | both] I'm not sure we need "both" since if you need a JDK to build a port then presumably that port contains some Java code that needs to run. As an alternative suggestion I would propose: USE_JAVA = [ jre | jdk ] Where "jre" indicates that we just need a RUN_DEPENDS which can be satisfied by a JRE (or JDK). The "jdk" value would indicate a BUILD_DEPENDS on a JDK with a RUN_DEPENDS on a JRE (or JDK). This may need extending to cope with ports that need a JDK at run time (any examples?). We're obviously breaking backward compatibility here, but I think thats pretty much unavoidable to get the features we want. > USE_JAVA was previously used to specify the JDK version number the port > depends on. But as it has been said, it does not allow enough flexibility > nor it does not allow to specify a particular JDK to use. So what about > having three other variables ? > > USE_JAVA_VENDOR= [sun | ibm | blackdown]... > USE_JAVA_VERSION= [1.1[+] | 1.2[+] | 1.3[+] | 1.4[+]] > USE_JAVA_OS= [linux | native] Hmmm, I can't see a way to do something like USE_JAVA_VERSION = 1.1 - 1.3 which is something I'd like the next version to be able to cope with. There also doesn't seem to be a way to prefer one version over the other, which is another thing I'd like to see. For example, a port may build and work with 1.2, but may provide more functionality if built and run with 1.3. In that case, how do I specify 1.2+ but with a preference for using 1.3 if its available? > Each of which may be empty or undefined if the choice is not important. > USE_JAVA_VENDOR may contain a list of vendors. Space separated? Are they in order of preference? If so maybe we can do the same with USE_JAVA_VERSION and USE_JAVA_OS to satisfy my preference example above, e.g. USE_JAVA_VERSION = 1.3 1.2 This would also satisfy the need for a range or list of versions. Also, if I prefer the native version over the Linux version I could do USE_JAVA_OS = native linux > Then if the porter wants a specific JDK, he may use the following: > > USE_JAVA_PORT > > Where he specifies the directory of the JDK to use (e.g. java/jdk13) > > [Optional: USE_JAVA_PORT could also contain several ports...] We could do the same as above, space separate in order of preference? > Internally, the bsd.java.mk file manages the dependencies by taking user > preferences into account: > > USE_JAVA_PORT contains a list of JDK ports to use ordered by preference. Ok, that ties in well with the above. > USE_JAVA_1_{1|2|3|4}_PORTS contains a list of JDK ports to use when a > particular version is required, again ordered by preference. > > Then bsd.java.mk build a list of the JDK specified by the port. Amongst > these ports, it chooses preferably one that is part of the user choices. > And amongst these resulting ports, it chooses preferably a port that is > already installed. > > IMHO it should lessen considerably the complexity and maintenance of > bsd.java.mk as the maintainer needs only to have a generic Makefile and > store JDK ports with variables. > > What are your opinions ? I would also suggest that USE_JAVA_{VENDOR,VERSION,OS,PORT} become simply JAVA_{VENDOR,VERSION,OS,PORT} as that is more in line with the other language makefiles (e.g. bsd.python.mk). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Tue May 20 12:45:43 2003 Return-Path: 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 D74B237B407 for ; Tue, 20 May 2003 12:45:43 -0700 (PDT) Received: from mail.takas.lt (mail-src.takas.lt [212.59.31.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6AEC43FA3 for ; Tue, 20 May 2003 12:45:42 -0700 (PDT) (envelope-from stakys@punktas.lt) Received: from ss ([81.7.108.108]) by mail.takas.lt with Microsoft SMTPSVC(5.0.2195.5329); Tue, 20 May 2003 22:45:41 +0300 Message-ID: <0ebb01c31f08$8cff0af0$0400a8c0@ss> From: "stakys" To: Date: Tue, 20 May 2003 22:46:47 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 20 May 2003 19:45:41.0380 (UTC) FILETIME=[65279C40:01C31F08] Subject: How-To X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 19:45:44 -0000 Is there any good how-to for freebsd to configure apache2 and tomcat41 to work through mod_jk2? (or apache13 and and mod_jk) From owner-freebsd-java@FreeBSD.ORG Tue May 20 13:32:00 2003 Return-Path: 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 D0E6137B401 for ; Tue, 20 May 2003 13:32:00 -0700 (PDT) Received: from web21208.mail.yahoo.com (web21208.mail.yahoo.com [216.136.175.166]) by mx1.FreeBSD.org (Postfix) with SMTP id A2B9243F93 for ; Tue, 20 May 2003 13:31:59 -0700 (PDT) (envelope-from idroxid01@yahoo.fr) Message-ID: <20030520203159.35525.qmail@web21208.mail.yahoo.com> Received: from [213.36.1.105] by web21208.mail.yahoo.com via HTTP; Tue, 20 May 2003 22:31:59 CEST Date: Tue, 20 May 2003 22:31:59 +0200 (CEST) From: =?iso-8859-1?q?francis=20Bacque?= To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: jdk14 build fails X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 20:32:01 -0000 I'm trying to build jdk14 from j2sdk-1_4_1-src-scsl on FreeBSD 5.0 RELEASE I have applied the jdk14.patches from bsd-jdk14-patches-3. After 2 hours, it stops: In the file included from ../../../../src/solaris/hpi/native_threads_md.c:25 /usr/include/sys/resource.h:61: field 'ru_utime' has incomplete type /usr/include/sys/resource.h:62: field 'ru_stime' has incomplete type gmake[5]: ***[/usr/local/src/java/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/threads_md.o] Error 1 I use the blackdown linux jdk: bibou:~$ java -version java version "1.4.1" Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-beta) Java HotSpot(TM) Client VM (build Blackdown-1.4.1-beta, mixed mode) What's wrong? Francis ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com From owner-freebsd-java@FreeBSD.ORG Tue May 20 16:43:25 2003 Return-Path: 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 C4E1C37B401 for ; Tue, 20 May 2003 16:43:25 -0700 (PDT) Received: from mx1.eskimo.com (mx1.eskimo.com [204.122.16.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id E163043F75 for ; Tue, 20 May 2003 16:42:50 -0700 (PDT) (envelope-from joji@eskimo.com) Received: from eskimo.com (joji@eskimo.com [204.122.16.13]) by mx1.eskimo.com (8.9.3/8.8.8) with ESMTP id QAA18002; Tue, 20 May 2003 16:40:38 -0700 Received: (from joji@localhost) by eskimo.com (8.9.1a/8.9.1) id QAA25497; Tue, 20 May 2003 16:40:38 -0700 (PDT) Date: Tue, 20 May 2003 16:40:38 -0700 From: Joseph Olatt To: stakys Message-ID: <20030520164037.A24604@eskimo.eskimo.com> References: <0ebb01c31f08$8cff0af0$0400a8c0@ss> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <0ebb01c31f08$8cff0af0$0400a8c0@ss>; from stakys@punktas.lt on Tue, May 20, 2003 at 10:46:47PM +0300 cc: freebsd-java@freebsd.org Subject: Re: How-To X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 23:43:26 -0000 I've used mod_jk (not mod_jk2) with Apache 2.0.45 and Tomcat 4.1.24 following the instructions that come with Tomcat itself. They can be found under your tomcat directory at: /webapps/tomcat-docs/jk2/jk/aphowto.html /webapps/tomcat-docs/jk2/jk/workershowto.html I also used those instructions to build mod_jk.so from the sources for Tomcat-connectors for 4.1.24. Hope this helps. On Tue, May 20, 2003 at 10:46:47PM +0300, stakys wrote: > Is there any good how-to for freebsd to configure apache2 and tomcat41 to > work through mod_jk2? (or apache13 and and mod_jk) > > _______________________________________________ > 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 Wed May 21 02:30:12 2003 Return-Path: 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 9FBA037B401 for ; Wed, 21 May 2003 02:30:12 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CFD643FDD for ; Wed, 21 May 2003 02:30:08 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h4LBcF7O064313; Wed, 21 May 2003 11:38:16 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h4L9bEjE054305; Wed, 21 May 2003 12:37:14 +0300 (EEST) (envelope-from ml) Date: Wed, 21 May 2003 12:37:14 +0300 From: Alexey Zelkin To: francis Bacque Message-ID: <20030521123714.A54291@phantom.cris.net> References: <20030520203159.35525.qmail@web21208.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030520203159.35525.qmail@web21208.mail.yahoo.com>; from idroxid01@yahoo.fr on Tue, May 20, 2003 at 10:31:59PM +0200 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: freebsd-java@freebsd.org Subject: Re: jdk14 build fails X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 09:30:13 -0000 Use /usr/ports/java/jdk14 instead. There were few patches released after patchset3 and currently these patches are available only thru ports/java/jdk14. On Tue, May 20, 2003 at 10:31:59PM +0200, francis Bacque wrote: > I'm trying to build jdk14 from j2sdk-1_4_1-src-scsl on > FreeBSD 5.0 > RELEASE > I have applied the jdk14.patches from > bsd-jdk14-patches-3. After 2 hours, it > stops: > In the file included from > ../../../../src/solaris/hpi/native_threads_md.c:25 > /usr/include/sys/resource.h:61: field 'ru_utime' has > incomplete type > /usr/include/sys/resource.h:62: field 'ru_stime' has > incomplete type > > gmake[5]: > ***[/usr/local/src/java/control/build/bsd-i586/tmp/java/hpi/native_threads/obj/threads_md.o] > Error 1 > > I use the blackdown linux jdk: > > bibou:~$ java -version > > java version "1.4.1" > Java(TM) 2 Runtime Environment, Standard Edition > (build Blackdown-1.4.1-beta) > Java HotSpot(TM) Client VM (build > Blackdown-1.4.1-beta, mixed mode) > > What's wrong? > > Francis > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en francais ! > Yahoo! Mail : http://fr.mail.yahoo.com > _______________________________________________ > 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 Wed May 21 06:03:08 2003 Return-Path: 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 4BD9B37B401 for ; Wed, 21 May 2003 06:03:08 -0700 (PDT) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D0C843FAF for ; Wed, 21 May 2003 06:03:06 -0700 (PDT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1]) h4LD4xnx018901; Wed, 21 May 2003 15:04:59 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost)h4LD4wL9018898; Wed, 21 May 2003 15:04:58 +0200 (CEST) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Wed, 21 May 2003 15:04:57 +0200 (CEST) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: Greg Lewis In-Reply-To: <20030520181421.GB28600@misty.eyesbeyond.com> Message-ID: <20030521145031.Q14339@puget.esil.univ-mrs.fr> References: <20030514.125107.74756915.haro@kgt.co.jp> <20030515212719.GA18091@misty.eyesbeyond.com> <20030520181421.GB28600@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org Subject: Re: bsd.java.mk 2.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 13:03:08 -0000 Greg, On Tue, 20 May 2003, Greg Lewis wrote: > > First there are two variable called NO_BUILD_DEPENDS and NO_RUN_DEPENDS. I > > propose we only use one: USE_JAVA= [run | build | both] > > I'm not sure we need "both" since if you need a JDK to build a port then > presumably that port contains some Java code that needs to run. As an > alternative suggestion I would propose: > > USE_JAVA = [ jre | jdk ] > > Where "jre" indicates that we just need a RUN_DEPENDS which can be satisfied > by a JRE (or JDK). The "jdk" value would indicate a BUILD_DEPENDS on a > JDK with a RUN_DEPENDS on a JRE (or JDK). > > This may need extending to cope with ports that need a JDK at run time > (any examples?). devel/jakarta-ant ? > We're obviously breaking backward compatibility here, but I think thats > pretty much unavoidable to get the features we want. I agree... What is the policy regarding such major changes in ports ? I mean it will make a lot of ports deprecated and broken. So we should provide bsd.java.mk 2.0 together with all Java ports patches IMHO. > USE_JAVA_VERSION = 1.1 - 1.3 > > which is something I'd like the next version to be able to cope with. > > There also doesn't seem to be a way to prefer one version over the other, > which is another thing I'd like to see. For example, a port may build > and work with 1.2, but may provide more functionality if built and run > with 1.3. In that case, how do I specify 1.2+ but with a preference for > using 1.3 if its available? > > > Each of which may be empty or undefined if the choice is not important. > > USE_JAVA_VENDOR may contain a list of vendors. > > Space separated? Are they in order of preference? If so maybe we can > do the same with USE_JAVA_VERSION and USE_JAVA_OS to satisfy my > > preference example above, e.g. > > USE_JAVA_VERSION = 1.3 1.2 I think we've got something here: use space separated preferences (in the right order) for all JDK/JRE properties. So no more "+" (e.g. "1.3+") but instead an explicit list of versions... > I would also suggest that USE_JAVA_{VENDOR,VERSION,OS,PORT} become simply > JAVA_{VENDOR,VERSION,OS,PORT} as that is more in line with the other > language makefiles (e.g. bsd.python.mk). You're right. Looks like we're progressing with bsd.java.mk... Any feedback from other Java porters ? Regards, Herve From owner-freebsd-java@FreeBSD.ORG Wed May 21 08:28:38 2003 Return-Path: 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 5F8DF37B401 for ; Wed, 21 May 2003 08:28:38 -0700 (PDT) Received: from kweetal.tue.nl (kweetal.tue.nl [131.155.3.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53C3743F93 for ; Wed, 21 May 2003 08:28:37 -0700 (PDT) (envelope-from rene@dyn107-dh.nbw.tue.nl) Received: from 127.0.0.1 (localhost [127.0.0.1]) by localhost.tue.nl (Postfix) with SMTP id 9B6BD13B7D9 for ; Wed, 21 May 2003 17:28:36 +0200 (CEST) Received: from atmosphere.local (dyn-099205.nbw.tue.nl [131.155.99.205]) by kweetal.tue.nl (Postfix) with ESMTP id 6DBCE13B74C for ; Wed, 21 May 2003 17:28:36 +0200 (CEST) Received: from dyn107-dh.nbw.tue.nl (atmosphere.local [127.0.0.1]) by atmosphere.local (8.12.6p2/8.12.6) with ESMTP id h4LFSkTr016553 for ; Wed, 21 May 2003 17:28:46 +0200 (CEST) (envelope-from rene@dyn107-dh.nbw.tue.nl) Received: (from rene@localhost) by dyn107-dh.nbw.tue.nl (8.12.6p2/8.12.6/Submit) id h4LFSk1J016552 for freebsd-java@freebsd.org; Wed, 21 May 2003 17:28:46 +0200 (CEST) Date: Wed, 21 May 2003 17:28:46 +0200 From: Rene Ladan To: freebsd-java@freebsd.org Message-ID: <20030521152846.GA16534@dyn107-dh.nbw.tue.nl> Mail-Followup-To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: String.replaceAll ' to \' X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 15:28:38 -0000 Hi, does anybody know how to convert a string with String.replaceAll, replacing all ' with \' occurences? or should I just use a loop? Thanks, Rene From owner-freebsd-java@FreeBSD.ORG Wed May 21 10:02:28 2003 Return-Path: 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 35A3B37B42A for ; Wed, 21 May 2003 10:02:28 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0C1443FA3 for ; Wed, 21 May 2003 10:02:26 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.20) id 19IWyu-00052G-Fq for freebsd-java@freebsd.org; Wed, 21 May 2003 19:02:24 +0200 Date: Wed, 21 May 2003 19:02:24 +0200 From: Sheldon Hearn To: freebsd-java@freebsd.org Message-ID: <20030521170224.GO3823@starjuice.net> Mail-Followup-To: freebsd-java@freebsd.org References: <20030521152846.GA16534@dyn107-dh.nbw.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030521152846.GA16534@dyn107-dh.nbw.tue.nl> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn Subject: Re: String.replaceAll ' to \' X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 17:02:28 -0000 On (2003/05/21 17:28), Rene Ladan wrote: > does anybody know how to convert a string with String.replaceAll, > replacing all ' with \' occurences? > > or should I just use a loop? String input = "What's the story's story?"; String output = input.replaceAll("'", "\\\\'"); I used the following class to test this: public class TestReplaceAll { public static void main(String[] args) { String input = ""; String regex = ""; String replacement = ""; try { input = args[0]; regex = args[1]; replacement = args[2]; } catch (ArrayIndexOutOfBoundsException e) { System.out.println( "usage: java TestReplaceAll input regex replace"); System.exit(1); } String output = input.replaceAll(regex, replacement); System.out.println(output); System.exit(output.equals(input) ? 1 : 0); } } I'd imagine this has more to do with The Java Language spec's take on literal string specification than it has to do with the specifics of String.replaceAll(). Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Thu May 22 23:36:44 2003 Return-Path: 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 4023037B401 for ; Thu, 22 May 2003 23:36:44 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52E5A43FA3 for ; Thu, 22 May 2003 23:36:43 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from nc.rr.com (rdu57-232-105.nc.rr.com [66.57.232.105]) h4N6ZAZo017342 for ; Fri, 23 May 2003 02:35:10 -0400 (EDT) Sender: mmercer@ms-smtp-03.southeast.rr.com Message-ID: <3ECDC179.F5DF0F44@nc.rr.com> Date: Fri, 23 May 2003 02:36:41 -0400 From: Michael E Mercer X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: "'FreeBSD Java mailing list'" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: FYI - "JBuilder8 Personal" installation X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mmercer@nc.rr.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 06:36:44 -0000 Hello peoples, After fighting with the installation of JBuilder8, I finally got the linux installer (InstallAnywhere) to work using linux-sun-jdk1.3.1. I changed jdk.config to point to native jdk1.4.1 and it started up and it compiled and ran (in debug mode) the default project. JDKs from ports that failed. jdk1.4.1 jdk1.3.1 linux-blackdown-jdk1.4.1 linux-ibm-jdk1.4.0 linux-sun-jdk1.4.1 later Michael Mercer From owner-freebsd-java@FreeBSD.ORG Fri May 23 00:33:36 2003 Return-Path: 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 91B6237B404 for ; Fri, 23 May 2003 00:33:36 -0700 (PDT) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3608A43FBD for ; Fri, 23 May 2003 00:33:35 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 19J73V-0004iz-03 for freebsd-java@freebsd.org; Fri, 23 May 2003 01:33:34 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 19J723-0003ub-03; Fri, 23 May 2003 01:33:08 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h4N7W4MP061741; Fri, 23 May 2003 01:35:03 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h4N7TIB7061730; Fri, 23 May 2003 01:29:18 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 23 May 2003 01:28:54 -0600 From: Greg Lewis To: Herve Quiroz Message-ID: <20030523072854.GA61661@misty.eyesbeyond.com> References: <20030514.125107.74756915.haro@kgt.co.jp> <20030515212719.GA18091@misty.eyesbeyond.com> <20030520181421.GB28600@misty.eyesbeyond.com> <20030521145031.Q14339@puget.esil.univ-mrs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030521145031.Q14339@puget.esil.univ-mrs.fr> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.9 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.54 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) cc: freebsd-java@FreeBSD.org Subject: Re: bsd.java.mk 2.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 07:33:36 -0000 Hi Herve, On Wed, May 21, 2003 at 03:04:57PM +0200, Herve Quiroz wrote: > On Tue, 20 May 2003, Greg Lewis wrote: > > > First there are two variable called NO_BUILD_DEPENDS and NO_RUN_DEPENDS. I > > > propose we only use one: USE_JAVA= [run | build | both] > > > > I'm not sure we need "both" since if you need a JDK to build a port then > > presumably that port contains some Java code that needs to run. As an > > alternative suggestion I would propose: > > > > USE_JAVA = [ jre | jdk ] > > > > Where "jre" indicates that we just need a RUN_DEPENDS which can be satisfied > > by a JRE (or JDK). The "jdk" value would indicate a BUILD_DEPENDS on a > > JDK with a RUN_DEPENDS on a JRE (or JDK). > > > > This may need extending to cope with ports that need a JDK at run time > > (any examples?). > > devel/jakarta-ant ? Good call. How about: USE_JAVA = [ BUILD-RUN ] Where BUILD and RUN may take the values jdk or jre. I think this should be clear, but the BUILD portion adds a build depends and the RUN portion adds a run depends. The most common case will be jdk-jre, meaning the port requires the JDK to build but only the jre to run. This kinda feels a little clunky, so as an alternative maybe: USE_JAVA = yes JAVA_BUILD = jdk JAVA_RUN = jre Comments? > > We're obviously breaking backward compatibility here, but I think thats > > pretty much unavoidable to get the features we want. > > I agree... What is the policy regarding such major changes in ports ? I > mean it will make a lot of ports deprecated and broken. So we should > provide bsd.java.mk 2.0 together with all Java ports patches IMHO. The policy is that we do a sweep and fix the ports when we switch over to the new bsd.java.mk. Actually, the policy is we do the sweep before hand and verify all work with the new bsd.java.mk and then just commit the changes when we commit the new bsd.java.mk. > > USE_JAVA_VERSION = 1.1 - 1.3 > > > > which is something I'd like the next version to be able to cope with. > > > > There also doesn't seem to be a way to prefer one version over the other, > > which is another thing I'd like to see. For example, a port may build > > and work with 1.2, but may provide more functionality if built and run > > with 1.3. In that case, how do I specify 1.2+ but with a preference for > > using 1.3 if its available? > > > > > Each of which may be empty or undefined if the choice is not important. > > > USE_JAVA_VENDOR may contain a list of vendors. > > > > Space separated? Are they in order of preference? If so maybe we can > > do the same with USE_JAVA_VERSION and USE_JAVA_OS to satisfy my > > > > preference example above, e.g. > > > > USE_JAVA_VERSION = 1.3 1.2 > > I think we've got something here: use space separated preferences (in the > right order) for all JDK/JRE properties. So no more "+" (e.g. "1.3+") but > instead an explicit list of versions... I like the space separation :). However, I think the "+" sign is still useful as a short hand for 1.x 1.y ... 1.current. It also means we don't have to do a sweep when a new Java version comes out and add (for example) 1.5 to the list. I think for maximum flexibility and to preserve the usefulness of the "+" we should allow both a "+" and a space separated list. If the version is written with a "+" it must be the only version, i.e. you can't have "1.1 1.3+" as a list. > > I would also suggest that USE_JAVA_{VENDOR,VERSION,OS,PORT} become simply > > JAVA_{VENDOR,VERSION,OS,PORT} as that is more in line with the other > > language makefiles (e.g. bsd.python.mk). > > You're right. > > Looks like we're progressing with bsd.java.mk... Any feedback from other > Java porters ? Yes, please jump in if you have an idea to add to the melting pot. Now is the time! -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Fri May 23 00:51:35 2003 Return-Path: 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 62FEB37B401 for ; Fri, 23 May 2003 00:51:35 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4881643FBF for ; Fri, 23 May 2003 00:51:32 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h4NA057O010263; Fri, 23 May 2003 10:00:06 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h4N7waAG068692; Fri, 23 May 2003 10:58:36 +0300 (EEST) (envelope-from ml) Date: Fri, 23 May 2003 10:58:36 +0300 From: Alexey Zelkin To: Michael E Mercer Message-ID: <20030523105836.A68677@phantom.cris.net> References: <3ECDC179.F5DF0F44@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3ECDC179.F5DF0F44@nc.rr.com>; from mmercer@nc.rr.com on Fri, May 23, 2003 at 02:36:41AM -0400 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: 'FreeBSD Java mailing list' Subject: Re: FYI - "JBuilder8 Personal" installation X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 07:51:35 -0000 Can you please provide more details. How exactly it was failed ? ps: I am interesting about native jdk1.4.1 porblems. On Fri, May 23, 2003 at 02:36:41AM -0400, Michael E Mercer wrote: > Hello peoples, > > After fighting with the installation of JBuilder8, I finally got the linux > installer (InstallAnywhere) > to work using linux-sun-jdk1.3.1. > > I changed jdk.config to point to native jdk1.4.1 and it started up and it > compiled and ran (in debug mode) > the default project. > > JDKs from ports that failed. > jdk1.4.1 > jdk1.3.1 > linux-blackdown-jdk1.4.1 > linux-ibm-jdk1.4.0 > linux-sun-jdk1.4.1 > > later > Michael Mercer > > _______________________________________________ > 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 Fri May 23 05:29:21 2003 Return-Path: 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 7322037B401 for ; Fri, 23 May 2003 05:29:21 -0700 (PDT) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id E706143F3F for ; Fri, 23 May 2003 05:29:19 -0700 (PDT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1]) h4NCVWnx000192; Fri, 23 May 2003 14:31:32 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost)h4NCVUbL000186; Fri, 23 May 2003 14:31:31 +0200 (CEST) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Fri, 23 May 2003 14:31:29 +0200 (CEST) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: Greg Lewis In-Reply-To: <20030523072854.GA61661@misty.eyesbeyond.com> Message-ID: <20030523140852.H81713@puget.esil.univ-mrs.fr> References: <20030514.125107.74756915.haro@kgt.co.jp> <20030520181421.GB28600@misty.eyesbeyond.com> <20030523072854.GA61661@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@FreeBSD.org Subject: Re: bsd.java.mk 2.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 12:29:21 -0000 Hi Greg, On Fri, 23 May 2003, Greg Lewis wrote: > > > This may need extending to cope with ports that need a JDK at run time > > > (any examples?). > > > > devel/jakarta-ant ? > > Good call. How about: > > USE_JAVA = [ BUILD-RUN ] > > Where BUILD and RUN may take the values jdk or jre. I think this should > be clear, but the BUILD portion adds a build depends and the RUN portion > adds a run depends. The most common case will be jdk-jre, meaning the > port requires the JDK to build but only the jre to run. > > This kinda feels a little clunky, so as an alternative maybe: > > USE_JAVA = yes > JAVA_BUILD = jdk > JAVA_RUN = jre > > Comments? At first, I would have said I prefer the second. But I don't know really. Maybe with an example I can figure what you mean exactly. Tell me f I understand correctly: For most of the ports (libs): USE_JAVA= BUILD=jdk RUN=jre Which means build dependency for the chosen JDK and run dependency for the chosen JRE For devel/jakarta-ant: USE_JAVA= RUN=JDK Which means it builds without anything (JDK related I mean) as ant is "install only" and need a JDK to run. > > > We're obviously breaking backward compatibility here, but I think thats > > > pretty much unavoidable to get the features we want. > > > > I agree... What is the policy regarding such major changes in ports ? I > > mean it will make a lot of ports deprecated and broken. So we should > > provide bsd.java.mk 2.0 together with all Java ports patches IMHO. > > The policy is that we do a sweep and fix the ports when we switch over > to the new bsd.java.mk. Actually, the policy is we do the sweep before > hand and verify all work with the new bsd.java.mk and then just commit > the changes when we commit the new bsd.java.mk. That's ok. A lot of work at once but Java ports are not updated too often anyway. > > I think we've got something here: use space separated preferences (in the > > right order) for all JDK/JRE properties. So no more "+" (e.g. "1.3+") but > > instead an explicit list of versions... > > I like the space separation :). However, I think the "+" sign is still > useful as a short hand for 1.x 1.y ... 1.current. It also means we don't > have to do a sweep when a new Java version comes out and add (for example) > 1.5 to the list. I think for maximum flexibility and to preserve the > usefulness of the "+" we should allow both a "+" and a space separated > list. If the version is written with a "+" it must be the only version, > i.e. you can't have "1.1 1.3+" as a list. That's a good point. The "+" is still greatly needed. And may be overriden by the bsd.java.mk: .if ${USE_JAVA_VERSION} == "1.3+" USE_JAVA_VERSION= 1.3 1.2 1.1 .endif So we need to update only bsd.java.mk when a new version of Java comes out. BTW, I know this is a bit off-topic but I would like to emphasize the fact that all those JDK/JRE port dependency handling would greatly benefit from XML. Because specifying a set of possible JDK using XPath would really be simple. Then again, it would break the Make stuff and, as Jan Grant told us, XML is not (yet?) seen as a viable alternative to the current scheme. But just my cents on the subject: With a java-ports.xml referencing all JDK ports, aproximatively the same way Ernst described it in his PR. Then in the port's Makefile you specify: USE_JAVA= run="//jdk[@version > 1.3 and @vendor == 'sun']" Then bsd.java.mk performs XSLT ro produce a nice, clean Makefile (but that's a bit too "hardcoded" IMHO). Or else, it could just get the name of the right JDK by using some command-line XPath query tool. BTW, I am currently working on such a tool with limited lib dependencies. Et voila ! Note: the java-ports.xml could benefit from XInclude so each JDK porter just need to provide an XML file to describe the JDK he maintains. Note(2): Again this is just off-topic, "free-style" thoughts on the subject. And this should probably stay as-is. :) > > Looks like we're progressing with bsd.java.mk... Any feedback from other > > Java porters ? > > Yes, please jump in if you have an idea to add to the melting pot. Now > is the time! Ernst told me he hasn't had time to read from this mailing list these last days. Still I would like to hear his opinions on the topic. Mostly because he is the maintainer of bsd.java.mk and also because he is the maintainer of a number of Java ports. Regards, Herve From owner-freebsd-java@FreeBSD.ORG Fri May 23 06:54:19 2003 Return-Path: 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 D740437B401 for ; Fri, 23 May 2003 06:54:19 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69C5D43F93 for ; Fri, 23 May 2003 06:54:06 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from nc.rr.com (rdu57-232-105.nc.rr.com [66.57.232.105]) h4NDmlsb008306; Fri, 23 May 2003 09:48:49 -0400 (EDT) Sender: mmercer@ms-smtp-01.southeast.rr.com Message-ID: <3ECE27F6.762AE6C6@nc.rr.com> Date: Fri, 23 May 2003 09:53:58 -0400 From: Michael E Mercer X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Alexey Zelkin References: <3ECDC179.F5DF0F44@nc.rr.com> <20030523105836.A68677@phantom.cris.net> Content-Type: multipart/mixed; boundary="------------4CED568E943EC792D10B779D" cc: 'FreeBSD Java mailing list' Subject: Re: FYI - "JBuilder8 Personal" installation X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mmercer@nc.rr.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 13:54:20 -0000 This is a multi-part message in MIME format. --------------4CED568E943EC792D10B779D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Alexey, attached is the output from running the installer. Not sure if it'll be much help though. First I set the environment variable JAVA_HOME to /usr/local/jdk1.4.1 Then I execute this command: env LAX_DEBUG=1 ./per_install.bin LAX_VM ${JAVA_HOME}/bin/java lax.nl.current.vm=${JAVA_HOME}/bin/java Let me know if you need more info.... ps: Only when using linux-sun-jdk1.3.1 did the installer ask me where to install JBuilder. All others skipped that step. later Michael Alexey Zelkin wrote: > Can you please provide more details. How exactly it was failed ? > > ps: I am interesting about native jdk1.4.1 porblems. > > On Fri, May 23, 2003 at 02:36:41AM -0400, Michael E Mercer wrote: > > Hello peoples, > > > > After fighting with the installation of JBuilder8, I finally got the linux > > installer (InstallAnywhere) > > to work using linux-sun-jdk1.3.1. > > > > I changed jdk.config to point to native jdk1.4.1 and it started up and it > > compiled and ran (in debug mode) > > the default project. > > > > JDKs from ports that failed. > > jdk1.4.1 > > jdk1.3.1 > > linux-blackdown-jdk1.4.1 > > linux-ibm-jdk1.4.0 > > linux-sun-jdk1.4.1 > > > > later > > Michael Mercer > > > > _______________________________________________ > > 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" --------------4CED568E943EC792D10B779D Content-Type: text/plain; charset=us-ascii; name="jdk1.4.1.ouput" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk1.4.1.ouput" env LAX_DEBUG=1 ./per_install.bin LAX_VM ${JAVA_HOME}/bin/java lax.nl.current.vm=${JAVA_HOME}/bin/java Preparing to install... Checking for POSIX df. Found POSIX df. True location of the self extractor: /home/darin/jb8_linux/per_install.bin Creating installer data directory: /tmp/install.dir.10932 Creating installer data directory: /tmp/install.dir.10932/InstallerData Gathering free-space information... Space needed to complete the self-extraction: 507348 blocks Available space: 1790772 blocks Available blocks: 1790772 Needed blocks: 507348 (block = 512 bytes) Computed number of blocks to extract: 1905 Extracting the JRE from the installer archive... Extracting JRE from ./per_install.bin to /tmp/install.dir.10932/Linux/resource/jre_padded ... Extracting done, exit code = 0 Extracting JRE from /tmp/install.dir.10932/Linux/resource/jre_padded to /tmp/install.dir.10932/Linux/resource/vm.tar.Z ... Extracting done, exit code = 0 Unpacking the JRE... Unpacking the JRE... gzip is /usr/bin/gzip GZIP done. TAR done. Extracting the installation resources from the installer archive... Extracting install.zip from ./per_install.bin to /tmp/install.dir.10932/InstallerData/installer.zip ... Extracting done, exit code = 0 Configuring the installer for this system's environment... ========= Analyzing UNIX Environment ================================= Setting UNIX (freebsd) flavor specifics. Importing UNIX environment into LAX properties. Checking for POSIX awk. ========= Analyzing LAX ============================================== LAX found............................ OK. LAX properties read.................. OK. ========= Finding VM ================================================= Valid VM types.......................... J2 Absolute LAX_VM path.................... /tmp/install.dir.10932/Linux/resource/jre/bin/java Expanded Valid VM types................. JRE_J2 JDK_J2 * Using VM:.........(LAX_VM)............ /usr/local/jdk1.4.1/bin/java Current VM is NOT a HotSpot VM ========= Virtual Machine Options ==================================== LAX properties incorporated............. OK. classpath............................... "/tmp/install.dir.10932/InstallerData:/tmp/install.dir.10932/InstallerData/installer.zip" main class.............................. "com.zerog.ia.installer.Main" .lax file path.......................... "/tmp/install.dir.10932/temp.lax" user directory.......................... "/tmp/install.dir.10932" stdout to............................... "console" sterr to................................ "console" install directory....................... "" JIT..................................... none option (verify)......................... off option (verbosity)...................... none option (garbage collection extent)...... none option (garbage collection thread)...... none option (native stack max size).......... none option (java stack max size)............ none option (java heap max size)............. 335544320 option (java heap initial size)......... 33554432 option (lax.nl.java.option.additional).. none ========= Display settings =========================================== X display............................... local UI mode................................. gui Launching installer... ========= VM Command Line ============================================ CLASSPATH=/tmp/install.dir.10932/InstallerData:/tmp/install.dir.10932/InstallerData/installer.zip "/usr/local/jdk1.4.1/bin/java" -Djava.compiler=NONE -Xmx335544320 -Xms33554432 com.zerog.lax.LAX "/tmp/install.dir.10932/temp.lax" "/tmp/env.properties.10932" "lax.nl.current.vm=/usr/local/jdk1.4.1/bin/java" ========= Executing JAVA ============================================= LAX Version = 5.0 propertiesFileName = null seaFilename = per_install Default properties location = /home/darin/jb8_linux/ Unix Default UIMode is: GUI UI Mode set to __________________________________________________________________________ __________________________________________________________________________ InstallAnywhere 5.0.6 Enterprise __________________________________________________________________________ Fri May 23 13:46:50 GMT 2003 Free memory = 30989 kB Total memory = 32576 kB 1Command Line Args: 0: lax.nl.current.vm=/usr/local/jdk1.4.1/bin/java java.class.path: /tmp/install.dir.10932/InstallerData /tmp/install.dir.10932/InstallerData/installer.zip ZGUtil.CLASS_PATH: /tmp/install.dir.10932/InstallerData /tmp/install.dir.10932/InstallerData/installer.zip sun.boot.class.path: /usr/local/jdk1.4.1/jre/lib/rt.jar /usr/local/jdk1.4.1/jre/lib/i18n.jar /usr/local/jdk1.4.1/jre/lib/sunrsasign.jar /usr/local/jdk1.4.1/jre/lib/jsse.jar /usr/local/jdk1.4.1/jre/lib/jce.jar /usr/local/jdk1.4.1/jre/lib/charsets.jar /usr/local/jdk1.4.1/jre/classes java.ext.dirs: /usr/local/jdk1.4.1/jre/lib/ext java.version == 1.4.1-p3 (Java 2+) java.vm.name == Java HotSpot(TM) Client VM java.vm.vendor == Sun Microsystems Inc. java.vm.version == 1.4.1-p3-mmercer_13_may_2003_19_57 java.vm.specification.name == Java Virtual Machine Specification java.vm.specification.vendor == Sun Microsystems Inc. java.vm.specification.version == 1.0 java.specification.name == Java Platform API Specification java.specification.vendor == Sun Microsystems Inc. java.specification.version == 1.4 java.vendor == Sun Microsystems Inc. java.vendor.url == http://java.sun.com/ java.class.version == 48.0 java.compiler == null java.home == /usr/local/jdk1.4.1/jre java.io.tmpdir == /var/tmp/ os.name == FreeBSD os.arch == i386 os.version == 4.8-STABLE path.separator == : file.separator == / file.encoding == ISO8859-1 user.name == darin user.home == /home/darin user.dir == /tmp/install.dir.10932 user.language == en user.region == null __________________________________________________________________________ May 23, 2003 1:46:51 PM java.util.prefs.FileSystemPreferences$5 run INFO: Created user preferences directory. Installer: InstallAnywhere 5.0.6 Enterprise Build 1671 __________________________________________________________________________ System's temporary directory = /tmp Unable to write UUID state: /tmp/persistent_state (Permission denied) RepositoryManager: Trying fallback repository location... ExternalPropertyLoader: unable to invoke: Installer.setInstallLabelsAsCommaSeparatedString(String) java.lang.NoSuchMethodException: com.zerog.ia.installer.Installer.setInstallLabelsAsCommaSeparatedString(java.lang.String) at java.lang.Class.getMethod0(Class.java:1756) at java.lang.Class.getMethod(Class.java:963) at com.zerog.ia.installer.util.ExternalPropertyLoader.a(Unknown Source) at com.zerog.ia.installer.Main.n(Unknown Source) at com.zerog.ia.installer.Main.d(Unknown Source) at com.zerog.ia.installer.Main.c(Unknown Source) at com.zerog.ia.installer.Main.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.zerog.lax.LAX.launch(Unknown Source) at com.zerog.lax.LAX.main(Unknown Source) OS type : unix OS type : unix Entering resetJDKPath... resetJDKPath: oldJDKPath => /home/darin/JBuilder8/jdk1.4 JAVA_HOME2 set to: /home/darin/JBuilder8/jdk1.4 Leaving resetJDKPath... CheckJDKPath: JAVA_HOME2 => /home/darin/JBuilder8/jdk1.4 FindJVM: Checking the JVM... OS type : unix Entering findJVM... findJVM: testing evironment findJVM: JVM 1.4.1-p3 IS_JDK_OK set to: true findJVM: JVM is ok findJVM: JVM is NOT ok FindJVM: JDK ok ? => true ZGUtil: Data zip found in: /tmp/install.dir.10932/InstallerData/installer.zip RepositoryManager: Local repository location is: /UninstallPersonal/.com.zerog.registry.xml CDS: Free Disk Space in bytes == 21074298880 CDS: Required Disk Space in bytes == 139997367 installUnixJRE: the source VM tar: /tmp/install.dir.10932/Linux/resource/vm.tar exists = true installUnixJRE: the source VMRoot: /tmp/install.dir.10932/Linux/resource/jre exists = true installUnixJRE: the dest VMRoot: /home/darin/JBuilder8/jdk1.4 exists = true # # INSTALLING VM: /home/darin/JBuilder8/jdk1.4 # installUnixJRE: Using new TAR technique... Destination path for tar extraction (sans 'jre') = /home/darin/JBuilder8/ia_jre_extraction_dir_8957.tmp installUnixJRE: install shell script: #!/bin/sh echo "InstallUnixJRE Script begun..." cd '/home/darin/JBuilder8/ia_jre_extraction_dir_8957.tmp' tar xvf '/tmp/install.dir.10932/Linux/resource/vm.tar' mv -f '/home/darin/JBuilder8/ia_jre_extraction_dir_8957.tmp/jre/'* '/home/darin/JBuilder8/jdk1.4' echo "...InstallUnixJRE Script complete." ##### SCRIPT END ############ InstallUnixJRE: unable to delete JRE extraction directory InstallUnixJRE: unable to delete temporary extraction directory OS type : unix fileName is /home/darin/jb8_linux/license.html dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/license.html aborted ! fileName is /home/darin/jb8_linux/setup_linux.html dirName is osName is Linux fileName is /home/darin/jb8_linux/setup_linux_alt.html dirName is osName is Linux fileName is /home/darin/jb8_linux/setup_mac.html dirName is osName is Mac fileName is /home/darin/jb8_linux/setup_solaris.html dirName is osName is Solaris fileName is /home/darin/jb8_linux/setup_solaris_alt.html dirName is osName is Solaris fileName is /home/darin/jb8_linux/setup_windows.html dirName is osName is Windows fileName is /home/darin/jb8_linux/setup_windows_alt.html dirName is osName is Windows fileName is /home/darin/jb8_linux/register_jb.html dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/register_jb.html aborted ! fileName is /home/darin/jb8_linux/release_notes.html dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/release_notes.html aborted ! fileName is /home/darin/jb8_linux/deploy.html dirName is /redist osName is Error: directory /redist does not exist. Copy of /home/darin/jb8_linux/deploy.html aborted ! fileName is /home/darin/jb8_linux/whatsnew.html dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/whatsnew.html aborted ! fileName is /home/darin/jb8_linux/privacy.html dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/privacy.html aborted ! fileName is /home/darin/jb8_linux/copyrights.html dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/copyrights.html aborted ! fileName is /home/darin/jb8_linux/phone.list dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/phone.list aborted ! fileName is /home/darin/jb8_linux/country.list dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/country.list aborted ! fileName is /home/darin/jb8_linux/us.list dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/us.list aborted ! fileName is /home/darin/jb8_linux/ca.list dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/ca.list aborted ! fileName is /home/darin/jb8_linux/std.slip dirName is /defaults osName is Error: directory /defaults does not exist. Copy of /home/darin/jb8_linux/std.slip aborted ! CustomAction: adding to registry Retrying Installables deferred in pass 0 Deferral retries done because: There were no deferrals in the last pass. java.io.FileNotFoundException: /UninstallPersonal/uninstaller.jar (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:176) at java.io.FileOutputStream.(FileOutputStream.java:131) at com.zerog.ia.installer.actions.InstallUninstaller.c(Unknown Source) at com.zerog.ia.installer.actions.InstallUninstaller.installSelf(Unknown Source) at com.zerog.ia.installer.Action.install(Unknown Source) at com.zerog.ia.installer.Installer.installUninstaller(Unknown Source) at com.zerog.ia.installer.Installer.installSelf(Unknown Source) at com.zerog.ia.installer.Installer.install(Unknown Source) at com.zerog.ia.installer.actions.InstallProgressAction.g(Unknown Source) at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source) java.io.FileNotFoundException: /UninstallPersonal/UninstallPersonal (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:176) at java.io.FileOutputStream.(FileOutputStream.java:70) at ZeroGp7.a(Unknown Source) at com.zerog.ia.installer.actions.MakeExecutable.h(Unknown Source) at com.zerog.ia.installer.actions.MakeExecutable.c(Unknown Source) at com.zerog.ia.installer.actions.MakeExecutable.installSelf(Unknown Source) at com.zerog.ia.installer.actions.InstallUninstaller.c(Unknown Source) at com.zerog.ia.installer.actions.InstallUninstaller.installSelf(Unknown Source) at com.zerog.ia.installer.Action.install(Unknown Source) at com.zerog.ia.installer.Installer.installUninstaller(Unknown Source) at com.zerog.ia.installer.Installer.installSelf(Unknown Source) at com.zerog.ia.installer.Installer.install(Unknown Source) at com.zerog.ia.installer.actions.InstallProgressAction.g(Unknown Source) at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source) RepositoryManager: lock acquired on: /home/darin/.com.zerog.registry.lock RepositoryManager: repository successfully written to stable storage RepositoryManager: error creating lock file (/UninstallPersonal/.com.zerog.registry.lock): java.io.FileNotFoundException: /UninstallPersonal/.com.zerog.registry.lock (No such file or directory) RepositoryManager: Unable to create /UninstallPersonal RepositoryManager: unable to store repository /UninstallPersonal/.com.zerog.registry.xml (No such file or directory) java.io.FileNotFoundException: /UninstallPersonal/.com.zerog.registry.xml (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:176) at java.io.FileOutputStream.(FileOutputStream.java:131) at ZeroGay.a(Unknown Source) at ZeroGay.a(Unknown Source) at ZeroGay.a(Unknown Source) at ZeroGaw.b(Unknown Source) at com.zerog.ia.installer.Installer.installSelf(Unknown Source) at com.zerog.ia.installer.Installer.install(Unknown Source) at com.zerog.ia.installer.actions.InstallProgressAction.g(Unknown Source) at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source) java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1071) at ZeroGmg.e(Unknown Source) at ZeroGmg.c(Unknown Source) at ZeroGay.b(Unknown Source) at ZeroGay.a(Unknown Source) at ZeroGay.a(Unknown Source) at ZeroGaw.b(Unknown Source) at com.zerog.ia.installer.Installer.installSelf(Unknown Source) at com.zerog.ia.installer.Installer.install(Unknown Source) at com.zerog.ia.installer.actions.InstallProgressAction.g(Unknown Source) at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source) Setting $INSTALL_SUCCESS$ to NONFATAL_ERROR cleanUp() calling cleanUpUNIX() ========= JAVA Finished ============================================== Removing tmp install dir: "/tmp/install.dir.10932" --------------4CED568E943EC792D10B779D-- From owner-freebsd-java@FreeBSD.ORG Fri May 23 06:58:40 2003 Return-Path: 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 73F2B37B401 for ; Fri, 23 May 2003 06:58:40 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB92443F93 for ; Fri, 23 May 2003 06:58:38 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.20) id 19JD3o-000ATQ-0s; Fri, 23 May 2003 15:58:16 +0200 Date: Fri, 23 May 2003 15:58:15 +0200 From: Sheldon Hearn To: Felix von Delius Message-ID: <20030523135815.GE40015@starjuice.net> Mail-Followup-To: Felix von Delius , Alexey Zelkin , freebsd-java@freebsd.org References: <20030414164142.GB19507@helix.felix.lan> <20030415150404.A51311@phantom.cris.net> <20030415164818.GA3783@helix.felix.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030415164818.GA3783@helix.felix.lan> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn cc: Alexey Zelkin cc: freebsd-java@freebsd.org Subject: Re: patch IDEA 3 to work with jdk 1.4.1-p3 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 13:58:40 -0000 On (2003/04/15 18:48), Felix von Delius wrote: > On Tue, Apr 15, 2003 at 03:04:04PM +0300, Alexey Zelkin wrote: > > Please try unpatched IDEA3 with addition of '-Didea.no.jdk.check=true' > > flag to java command line and let me know result. > > It doesn't make any difference: IDEA complains about the wrong JDK > version. FWIW, it works for me. Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Fri May 23 07:04:03 2003 Return-Path: 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 1474937B401 for ; Fri, 23 May 2003 07:04:03 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id D78D543F3F for ; Fri, 23 May 2003 07:04:01 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.20) id 19JD9D-000AUC-J4; Fri, 23 May 2003 16:03:51 +0200 Date: Fri, 23 May 2003 16:03:51 +0200 From: Sheldon Hearn To: Andrew Houghton Message-ID: <20030523140351.GF40015@starjuice.net> Mail-Followup-To: Andrew Houghton , freebsd-java@freebsd.org References: <3EC479A1.5080202@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EC479A1.5080202@acm.org> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn cc: freebsd-java@freebsd.org Subject: Re: IntelliJ IDEA, JDK 1.4.1-p3, 5.0-p7, "Bad file descriptor" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 14:04:03 -0000 On (2003/05/15 22:39), Andrew Houghton wrote: > When I first create a project in the IDE, and the jar files are copied > to the ~/.IntelliJIdea cache directory, I'm getting little dialog boxes > that somethine like "Cannot copy to > /usr/home/aah/.IntelliJIdea/system/jars/: Bad file > descriptor". When I look in the .../system/jars directory, everything > looks fine. > > I'm also seeing this when I try compilations on projects. I see the > compilation proceed and I see errors and warnings -- briefly -- showing > source paths and line numbers. Somewhere in the middle of the > compilation, most (but not all) of those error references go away and > the lines say 'Bad file descriptor'. > > Does anyone else using IDEA see this? Yes. I just got it trying to create my first project, the first time I ran IDEA. Not a great first impression. I deviated a little from the installation instructions, which wanted me to copy the entire JRE into the IDEA home directory. Yeah, right! However, you're saying you get these during compilation? Have you got any symlinks in your source tree? I don't know what the problem is, just trying to find common ground. Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Fri May 23 08:18:02 2003 Return-Path: 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 07DB637B401 for ; Fri, 23 May 2003 08:18:02 -0700 (PDT) Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55A0A43F85 for ; Fri, 23 May 2003 08:18:01 -0700 (PDT) (envelope-from aah@acm.org) Received: (qmail 16455 invoked from network); 23 May 2003 15:18:00 -0000 Received: from unknown (HELO acm.org) (aah@[216.27.178.67]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 23 May 2003 15:18:00 -0000 Message-ID: <3ECE3BA7.5020002@acm.org> Date: Fri, 23 May 2003 08:17:59 -0700 From: Andrew Houghton User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4a) Gecko/20030428 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sheldon Hearn References: <3EC479A1.5080202@acm.org> <20030523140351.GF40015@starjuice.net> In-Reply-To: <20030523140351.GF40015@starjuice.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: IntelliJ IDEA, JDK 1.4.1-p3, 5.0-p7, "Bad file descriptor" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 15:18:02 -0000 Sheldon Hearn wrote: >On (2003/05/15 22:39), Andrew Houghton wrote: > > > >>When I first create a project in the IDE, and the jar files are copied >>to the ~/.IntelliJIdea cache directory, I'm getting little dialog boxes >>that somethine like "Cannot copy to >>/usr/home/aah/.IntelliJIdea/system/jars/: Bad file >>descriptor". When I look in the .../system/jars directory, everything >>looks fine. >> >>I'm also seeing this when I try compilations on projects. I see the >>compilation proceed and I see errors and warnings -- briefly -- showing >>source paths and line numbers. Somewhere in the middle of the >>compilation, most (but not all) of those error references go away and >>the lines say 'Bad file descriptor'. >> >>Does anyone else using IDEA see this? >> >> > >Yes. I just got it trying to create my first project, the first time I >ran IDEA. Not a great first impression. > >I deviated a little from the installation instructions, which wanted me >to copy the entire JRE into the IDEA home directory. Yeah, right! > >However, you're saying you get these during compilation? Have you got >any symlinks in your source tree? > >I don't know what the problem is, just trying to find common ground. > >Ciao, >Sheldon. > > > Well, I've been using IDEA a lot lately at work, on linux boxes, and I have to say I love it. I've had to make fewer changes in the way I think about projects to get traction with it than with most of the other IDEs I've seen (JEdit being a notable exception, but I think that's because JEdit was a thin emacs replacement for me). Anyway -- the problems on my FreeBSD box at home are annoying, to say the least. I get these errors during compilation, too. Maybe you'll have better luck with their log file than I did.. check ~/.IntelliJIdea/system/log/idea.log; when I looked through mine, I couldn't see any exceptions that implied this problem. I'm seeing these errors with both jikes and javac compilers. The next test is to set it up and run it under linux-jdk14; if it works, at least this can be narrowed down to a native JDK problem (I think). I just don't have time this morning, maybe I'll try tomorrow. Oh, and no -- no symlinks for me, disk space is cheap. :) - a. From owner-freebsd-java@FreeBSD.ORG Fri May 23 14:24:20 2003 Return-Path: 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 6757E37B401 for ; Fri, 23 May 2003 14:24:20 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3506543F3F for ; Fri, 23 May 2003 14:24:19 -0700 (PDT) (envelope-from mmercer@nc.rr.com) Received: from nc.rr.com (rdu57-232-105.nc.rr.com [66.57.232.105]) h4NLMiZo003849; Fri, 23 May 2003 17:22:44 -0400 (EDT) Sender: mmercer@ms-smtp-03.southeast.rr.com Message-ID: <3ECE917F.98660A89@nc.rr.com> Date: Fri, 23 May 2003 17:24:15 -0400 From: Michael E Mercer X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Alexey Zelkin References: <3ECDC179.F5DF0F44@nc.rr.com> <20030523105836.A68677@phantom.cris.net> Content-Type: multipart/mixed; boundary="------------2322AA6EA8C5C9C5A387EEB7" cc: 'FreeBSD Java mailing list' Subject: Re: FYI - "JBuilder8 Personal" installation X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mmercer@nc.rr.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 21:24:20 -0000 This is a multi-part message in MIME format. --------------2322AA6EA8C5C9C5A387EEB7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Alexey, Sorry forgot to give System info: >uname -a FreeBSD dual.mmercer.com 4.8-STABLE FreeBSD 4.8-STABLE #0: Wed May 21 13:51:22 EDT 2003 i386 > java -version java version "1.4.1-p3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p3-mmercer_13_may_2003_19_57) Java HotSpot(TM) Client VM (build 1.4.1-p3-mmercer_13_may_2003_19_57, mixed mode) later... attached is the output from running the installer. Not sure if it'll be much help though. First I set the environment variable JAVA_HOME to /usr/local/jdk1.4.1 Then I execute this command: env LAX_DEBUG=1 ./per_install.bin LAX_VM ${JAVA_HOME}/bin/java lax.nl.current.vm=${JAVA_HOME}/bin/java Let me know if you need more info.... ps: Only when using linux-sun-jdk1.3.1 did the installer ask me where to install JBuilder. All others skipped that step. later Michael Alexey Zelkin wrote: > Can you please provide more details. How exactly it was failed ? > > ps: I am interesting about native jdk1.4.1 porblems. > > On Fri, May 23, 2003 at 02:36:41AM -0400, Michael E Mercer wrote: > > Hello peoples, > > > > After fighting with the installation of JBuilder8, I finally got the linux > > installer (InstallAnywhere) > > to work using linux-sun-jdk1.3.1. > > > > I changed jdk.config to point to native jdk1.4.1 and it started up and it > > compiled and ran (in debug mode) > > the default project. > > > > JDKs from ports that failed. > > jdk1.4.1 > > jdk1.3.1 > > linux-blackdown-jdk1.4.1 > > linux-ibm-jdk1.4.0 > > linux-sun-jdk1.4.1 > > > > later > > Michael Mercer > > > > _______________________________________________ > > 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" --------------2322AA6EA8C5C9C5A387EEB7 Content-Type: text/plain; charset=us-ascii; name="jdk1.4.1.ouput" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk1.4.1.ouput" env LAX_DEBUG=1 ./per_install.bin LAX_VM ${JAVA_HOME}/bin/java lax.nl.current.vm=${JAVA_HOME}/bin/java Preparing to install... Checking for POSIX df. Found POSIX df. True location of the self extractor: /home/darin/jb8_linux/per_install.bin Creating installer data directory: /tmp/install.dir.10932 Creating installer data directory: /tmp/install.dir.10932/InstallerData Gathering free-space information... Space needed to complete the self-extraction: 507348 blocks Available space: 1790772 blocks Available blocks: 1790772 Needed blocks: 507348 (block = 512 bytes) Computed number of blocks to extract: 1905 Extracting the JRE from the installer archive... Extracting JRE from ./per_install.bin to /tmp/install.dir.10932/Linux/resource/jre_padded ... Extracting done, exit code = 0 Extracting JRE from /tmp/install.dir.10932/Linux/resource/jre_padded to /tmp/install.dir.10932/Linux/resource/vm.tar.Z ... Extracting done, exit code = 0 Unpacking the JRE... Unpacking the JRE... gzip is /usr/bin/gzip GZIP done. TAR done. Extracting the installation resources from the installer archive... Extracting install.zip from ./per_install.bin to /tmp/install.dir.10932/InstallerData/installer.zip ... Extracting done, exit code = 0 Configuring the installer for this system's environment... ========= Analyzing UNIX Environment ================================= Setting UNIX (freebsd) flavor specifics. Importing UNIX environment into LAX properties. Checking for POSIX awk. ========= Analyzing LAX ============================================== LAX found............................ OK. LAX properties read.................. OK. ========= Finding VM ================================================= Valid VM types.......................... J2 Absolute LAX_VM path.................... /tmp/install.dir.10932/Linux/resource/jre/bin/java Expanded Valid VM types................. JRE_J2 JDK_J2 * Using VM:.........(LAX_VM)............ /usr/local/jdk1.4.1/bin/java Current VM is NOT a HotSpot VM ========= Virtual Machine Options ==================================== LAX properties incorporated............. OK. classpath............................... "/tmp/install.dir.10932/InstallerData:/tmp/install.dir.10932/InstallerData/installer.zip" main class.............................. "com.zerog.ia.installer.Main" .lax file path.......................... "/tmp/install.dir.10932/temp.lax" user directory.......................... "/tmp/install.dir.10932" stdout to............................... "console" sterr to................................ "console" install directory....................... "" JIT..................................... none option (verify)......................... off option (verbosity)...................... none option (garbage collection extent)...... none option (garbage collection thread)...... none option (native stack max size).......... none option (java stack max size)............ none option (java heap max size)............. 335544320 option (java heap initial size)......... 33554432 option (lax.nl.java.option.additional).. none ========= Display settings =========================================== X display............................... local UI mode................................. gui Launching installer... ========= VM Command Line ============================================ CLASSPATH=/tmp/install.dir.10932/InstallerData:/tmp/install.dir.10932/InstallerData/installer.zip "/usr/local/jdk1.4.1/bin/java" -Djava.compiler=NONE -Xmx335544320 -Xms33554432 com.zerog.lax.LAX "/tmp/install.dir.10932/temp.lax" "/tmp/env.properties.10932" "lax.nl.current.vm=/usr/local/jdk1.4.1/bin/java" ========= Executing JAVA ============================================= LAX Version = 5.0 propertiesFileName = null seaFilename = per_install Default properties location = /home/darin/jb8_linux/ Unix Default UIMode is: GUI UI Mode set to __________________________________________________________________________ __________________________________________________________________________ InstallAnywhere 5.0.6 Enterprise __________________________________________________________________________ Fri May 23 13:46:50 GMT 2003 Free memory = 30989 kB Total memory = 32576 kB 1Command Line Args: 0: lax.nl.current.vm=/usr/local/jdk1.4.1/bin/java java.class.path: /tmp/install.dir.10932/InstallerData /tmp/install.dir.10932/InstallerData/installer.zip ZGUtil.CLASS_PATH: /tmp/install.dir.10932/InstallerData /tmp/install.dir.10932/InstallerData/installer.zip sun.boot.class.path: /usr/local/jdk1.4.1/jre/lib/rt.jar /usr/local/jdk1.4.1/jre/lib/i18n.jar /usr/local/jdk1.4.1/jre/lib/sunrsasign.jar /usr/local/jdk1.4.1/jre/lib/jsse.jar /usr/local/jdk1.4.1/jre/lib/jce.jar /usr/local/jdk1.4.1/jre/lib/charsets.jar /usr/local/jdk1.4.1/jre/classes java.ext.dirs: /usr/local/jdk1.4.1/jre/lib/ext java.version == 1.4.1-p3 (Java 2+) java.vm.name == Java HotSpot(TM) Client VM java.vm.vendor == Sun Microsystems Inc. java.vm.version == 1.4.1-p3-mmercer_13_may_2003_19_57 java.vm.specification.name == Java Virtual Machine Specification java.vm.specification.vendor == Sun Microsystems Inc. java.vm.specification.version == 1.0 java.specification.name == Java Platform API Specification java.specification.vendor == Sun Microsystems Inc. java.specification.version == 1.4 java.vendor == Sun Microsystems Inc. java.vendor.url == http://java.sun.com/ java.class.version == 48.0 java.compiler == null java.home == /usr/local/jdk1.4.1/jre java.io.tmpdir == /var/tmp/ os.name == FreeBSD os.arch == i386 os.version == 4.8-STABLE path.separator == : file.separator == / file.encoding == ISO8859-1 user.name == darin user.home == /home/darin user.dir == /tmp/install.dir.10932 user.language == en user.region == null __________________________________________________________________________ May 23, 2003 1:46:51 PM java.util.prefs.FileSystemPreferences$5 run INFO: Created user preferences directory. Installer: InstallAnywhere 5.0.6 Enterprise Build 1671 __________________________________________________________________________ System's temporary directory = /tmp Unable to write UUID state: /tmp/persistent_state (Permission denied) RepositoryManager: Trying fallback repository location... ExternalPropertyLoader: unable to invoke: Installer.setInstallLabelsAsCommaSeparatedString(String) java.lang.NoSuchMethodException: com.zerog.ia.installer.Installer.setInstallLabelsAsCommaSeparatedString(java.lang.String) at java.lang.Class.getMethod0(Class.java:1756) at java.lang.Class.getMethod(Class.java:963) at com.zerog.ia.installer.util.ExternalPropertyLoader.a(Unknown Source) at com.zerog.ia.installer.Main.n(Unknown Source) at com.zerog.ia.installer.Main.d(Unknown Source) at com.zerog.ia.installer.Main.c(Unknown Source) at com.zerog.ia.installer.Main.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.zerog.lax.LAX.launch(Unknown Source) at com.zerog.lax.LAX.main(Unknown Source) OS type : unix OS type : unix Entering resetJDKPath... resetJDKPath: oldJDKPath => /home/darin/JBuilder8/jdk1.4 JAVA_HOME2 set to: /home/darin/JBuilder8/jdk1.4 Leaving resetJDKPath... CheckJDKPath: JAVA_HOME2 => /home/darin/JBuilder8/jdk1.4 FindJVM: Checking the JVM... OS type : unix Entering findJVM... findJVM: testing evironment findJVM: JVM 1.4.1-p3 IS_JDK_OK set to: true findJVM: JVM is ok findJVM: JVM is NOT ok FindJVM: JDK ok ? => true ZGUtil: Data zip found in: /tmp/install.dir.10932/InstallerData/installer.zip RepositoryManager: Local repository location is: /UninstallPersonal/.com.zerog.registry.xml CDS: Free Disk Space in bytes == 21074298880 CDS: Required Disk Space in bytes == 139997367 installUnixJRE: the source VM tar: /tmp/install.dir.10932/Linux/resource/vm.tar exists = true installUnixJRE: the source VMRoot: /tmp/install.dir.10932/Linux/resource/jre exists = true installUnixJRE: the dest VMRoot: /home/darin/JBuilder8/jdk1.4 exists = true # # INSTALLING VM: /home/darin/JBuilder8/jdk1.4 # installUnixJRE: Using new TAR technique... Destination path for tar extraction (sans 'jre') = /home/darin/JBuilder8/ia_jre_extraction_dir_8957.tmp installUnixJRE: install shell script: #!/bin/sh echo "InstallUnixJRE Script begun..." cd '/home/darin/JBuilder8/ia_jre_extraction_dir_8957.tmp' tar xvf '/tmp/install.dir.10932/Linux/resource/vm.tar' mv -f '/home/darin/JBuilder8/ia_jre_extraction_dir_8957.tmp/jre/'* '/home/darin/JBuilder8/jdk1.4' echo "...InstallUnixJRE Script complete." ##### SCRIPT END ############ InstallUnixJRE: unable to delete JRE extraction directory InstallUnixJRE: unable to delete temporary extraction directory OS type : unix fileName is /home/darin/jb8_linux/license.html dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/license.html aborted ! fileName is /home/darin/jb8_linux/setup_linux.html dirName is osName is Linux fileName is /home/darin/jb8_linux/setup_linux_alt.html dirName is osName is Linux fileName is /home/darin/jb8_linux/setup_mac.html dirName is osName is Mac fileName is /home/darin/jb8_linux/setup_solaris.html dirName is osName is Solaris fileName is /home/darin/jb8_linux/setup_solaris_alt.html dirName is osName is Solaris fileName is /home/darin/jb8_linux/setup_windows.html dirName is osName is Windows fileName is /home/darin/jb8_linux/setup_windows_alt.html dirName is osName is Windows fileName is /home/darin/jb8_linux/register_jb.html dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/register_jb.html aborted ! fileName is /home/darin/jb8_linux/release_notes.html dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/release_notes.html aborted ! fileName is /home/darin/jb8_linux/deploy.html dirName is /redist osName is Error: directory /redist does not exist. Copy of /home/darin/jb8_linux/deploy.html aborted ! fileName is /home/darin/jb8_linux/whatsnew.html dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/whatsnew.html aborted ! fileName is /home/darin/jb8_linux/privacy.html dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/privacy.html aborted ! fileName is /home/darin/jb8_linux/copyrights.html dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/copyrights.html aborted ! fileName is /home/darin/jb8_linux/phone.list dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/phone.list aborted ! fileName is /home/darin/jb8_linux/country.list dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/country.list aborted ! fileName is /home/darin/jb8_linux/us.list dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/us.list aborted ! fileName is /home/darin/jb8_linux/ca.list dirName is osName is Error: directory does not exist. Copy of /home/darin/jb8_linux/ca.list aborted ! fileName is /home/darin/jb8_linux/std.slip dirName is /defaults osName is Error: directory /defaults does not exist. Copy of /home/darin/jb8_linux/std.slip aborted ! CustomAction: adding to registry Retrying Installables deferred in pass 0 Deferral retries done because: There were no deferrals in the last pass. java.io.FileNotFoundException: /UninstallPersonal/uninstaller.jar (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:176) at java.io.FileOutputStream.(FileOutputStream.java:131) at com.zerog.ia.installer.actions.InstallUninstaller.c(Unknown Source) at com.zerog.ia.installer.actions.InstallUninstaller.installSelf(Unknown Source) at com.zerog.ia.installer.Action.install(Unknown Source) at com.zerog.ia.installer.Installer.installUninstaller(Unknown Source) at com.zerog.ia.installer.Installer.installSelf(Unknown Source) at com.zerog.ia.installer.Installer.install(Unknown Source) at com.zerog.ia.installer.actions.InstallProgressAction.g(Unknown Source) at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source) java.io.FileNotFoundException: /UninstallPersonal/UninstallPersonal (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:176) at java.io.FileOutputStream.(FileOutputStream.java:70) at ZeroGp7.a(Unknown Source) at com.zerog.ia.installer.actions.MakeExecutable.h(Unknown Source) at com.zerog.ia.installer.actions.MakeExecutable.c(Unknown Source) at com.zerog.ia.installer.actions.MakeExecutable.installSelf(Unknown Source) at com.zerog.ia.installer.actions.InstallUninstaller.c(Unknown Source) at com.zerog.ia.installer.actions.InstallUninstaller.installSelf(Unknown Source) at com.zerog.ia.installer.Action.install(Unknown Source) at com.zerog.ia.installer.Installer.installUninstaller(Unknown Source) at com.zerog.ia.installer.Installer.installSelf(Unknown Source) at com.zerog.ia.installer.Installer.install(Unknown Source) at com.zerog.ia.installer.actions.InstallProgressAction.g(Unknown Source) at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source) RepositoryManager: lock acquired on: /home/darin/.com.zerog.registry.lock RepositoryManager: repository successfully written to stable storage RepositoryManager: error creating lock file (/UninstallPersonal/.com.zerog.registry.lock): java.io.FileNotFoundException: /UninstallPersonal/.com.zerog.registry.lock (No such file or directory) RepositoryManager: Unable to create /UninstallPersonal RepositoryManager: unable to store repository /UninstallPersonal/.com.zerog.registry.xml (No such file or directory) java.io.FileNotFoundException: /UninstallPersonal/.com.zerog.registry.xml (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:176) at java.io.FileOutputStream.(FileOutputStream.java:131) at ZeroGay.a(Unknown Source) at ZeroGay.a(Unknown Source) at ZeroGay.a(Unknown Source) at ZeroGaw.b(Unknown Source) at com.zerog.ia.installer.Installer.installSelf(Unknown Source) at com.zerog.ia.installer.Installer.install(Unknown Source) at com.zerog.ia.installer.actions.InstallProgressAction.g(Unknown Source) at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source) java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1071) at ZeroGmg.e(Unknown Source) at ZeroGmg.c(Unknown Source) at ZeroGay.b(Unknown Source) at ZeroGay.a(Unknown Source) at ZeroGay.a(Unknown Source) at ZeroGaw.b(Unknown Source) at com.zerog.ia.installer.Installer.installSelf(Unknown Source) at com.zerog.ia.installer.Installer.install(Unknown Source) at com.zerog.ia.installer.actions.InstallProgressAction.g(Unknown Source) at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source) Setting $INSTALL_SUCCESS$ to NONFATAL_ERROR cleanUp() calling cleanUpUNIX() ========= JAVA Finished ============================================== Removing tmp install dir: "/tmp/install.dir.10932" --------------2322AA6EA8C5C9C5A387EEB7--