From owner-freebsd-java@FreeBSD.ORG Sun May 11 14:50:31 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86B341065671 for ; Sun, 11 May 2008 14:50:31 +0000 (UTC) (envelope-from jwright11@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.225]) by mx1.freebsd.org (Postfix) with ESMTP id 5F1338FC0A for ; Sun, 11 May 2008 14:50:31 +0000 (UTC) (envelope-from jwright11@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3232975rvf.43 for ; Sun, 11 May 2008 07:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=o2lQ0ZNSgdMb+FBGHbvHsaCkZUuk4ek+wsKgx8HxZrg=; b=ksRbT10YvbxVM0lrA9aBPDvsdNF8aWp+ukCTMQQHVrhvQvtXJJPsYmVFiyEdOtQs4xf6bXrdIpDe9q1mkqgIc3JVwN86ceB0lE2zGQ7n4KsQmGRkwrS6wFlOMj4LEQsnDlEnamAo0VWABuh6rC6a/2x6+zX9US+7uoAtZ2fCatE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=EZjCDhXg01Q6LG80nfJ+R5inbFoluacnrIQ60IFv3qoxEOhcG1HOMPWSNUjm83i+W45S7CxeJ8VG54sQ0zbhHogMRFZ+nPWyIL5Gh4aECo2SgxkpeB4NyuGMk2lr1NXsvOSa87I5MD1+e68dS3dDBKg5rmtzKNDvMFZIUYAAZRw= Received: by 10.140.164.6 with SMTP id m6mr3188370rve.210.1210515779793; Sun, 11 May 2008 07:22:59 -0700 (PDT) Received: by 10.141.45.18 with HTTP; Sun, 11 May 2008 07:22:59 -0700 (PDT) Message-ID: Date: Sun, 11 May 2008 15:22:59 +0100 From: "John Wright" To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: java plugin & firefox crash X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2008 14:50:31 -0000 Hello, Java is crashing firefox for me and I'm wondering if someone can please help? Running firefox from Konsole shows this error for the crash: --------------------------------------------------------------------------------------------------------------- Could not read ack from child process Plugin: Java VM process has died. Could not start JavaVM! VM did not start up properly INTERNAL ERROR on Browser End: SendRequest: Read of ack failed: 0 System error?:: Unknown error: 0 --------------------------------------------------------------------------------------------------------------- diablo-jdk-1.5.0.07.01_10 jdk-1.6.0.3p4_1 javavmwrapper-2.3.2 firefox-2.0.0.14,1 jello# uname -a FreeBSD jello.hwresnet.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 jello# java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) Java HotSpot(TM) Server VM (build diablo-1.5.0_07-b01, mixed mode) Any help will definitely be appreciated. Thanks, John -- John N. Wright jwright11@gmail.com From owner-freebsd-java@FreeBSD.ORG Mon May 12 11:07:01 2008 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1272D106566C for ; Mon, 12 May 2008 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F404E8FC19 for ; Mon, 12 May 2008 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4CB70Hf038067 for ; Mon, 12 May 2008 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4CB70kS038063 for freebsd-java@FreeBSD.org; Mon, 12 May 2008 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 May 2008 11:07:00 GMT Message-Id: <200805121107.m4CB70kS038063@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2008 11:07:01 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java java/jdk14 - Unsafe use of getaddrinfo in jvm 1.4.2-p5 o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/110912 java Java krb5 client leaks UDP connections o java/112595 java Java appletviewer frequently hangs (kse_release loop) o ports/113467 java Multiple "missing return value" errors building JDK on o java/114644 java tomcat goes out of PermSpace, jvm crashes o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o java/118956 java eclipse and netbeans break on diablo-jdk15 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o ports/121420 java java/jdk16: Java applet fails to find class under fire o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o java/122513 java native JDKs unbuildable with Linux ones o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump 14 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires o java/97461 java Diablo JDK does not report Update level in a format su o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/115279 java [UPDATE] java/java3d to 1.5.1 o java/115773 java [request] java.nio channel selectors should use kqueue o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/119063 java An unexpected error has been detected by Java Runtime o java/119654 java jdk 1.6: java.awt.SplashScreen#getSplashScreen throws o java/120146 java netbeans 6.0 crash on amd64 o ports/121416 java java/jdk15 can't build if BIN environment variable is 14 problems total. From owner-freebsd-java@FreeBSD.ORG Mon May 12 12:00:05 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16E331065678 for ; Mon, 12 May 2008 12:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D92068FC12 for ; Mon, 12 May 2008 12:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4CC04fj046608 for ; Mon, 12 May 2008 12:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4CC04Lv046607; Mon, 12 May 2008 12:00:04 GMT (envelope-from gnats) Resent-Date: Mon, 12 May 2008 12:00:04 GMT Resent-Message-Id: <200805121200.m4CC04Lv046607@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Reilly Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CCC9106566C for ; Mon, 12 May 2008 11:53:46 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nskntmtas01p.mx.bigpond.com (nskntmtas01p.mx.bigpond.com [61.9.168.137]) by mx1.freebsd.org (Postfix) with ESMTP id 060E88FC16 for ; Mon, 12 May 2008 11:53:45 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nskntotgx01p.mx.bigpond.com ([124.188.162.219]) by nskntmtas01p.mx.bigpond.com with ESMTP id <20080512115340.TGBU12860.nskntmtas01p.mx.bigpond.com@nskntotgx01p.mx.bigpond.com> for ; Mon, 12 May 2008 11:53:40 +0000 Received: from areilly.bpa.nu ([124.188.162.219]) by nskntotgx01p.mx.bigpond.com with ESMTP id <20080512115339.ZFTP14647.nskntotgx01p.mx.bigpond.com@areilly.bpa.nu> for ; Mon, 12 May 2008 11:53:39 +0000 Received: (qmail 3172 invoked by uid 501); 12 May 2008 11:53:39 -0000 Message-Id: <20080512115339.3171.qmail@areilly.bpa.nu> Date: 12 May 2008 11:53:39 -0000 From: Andrew Reilly To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: java/123608: jdk16 port fails to build X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew Reilly List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2008 12:00:05 -0000 >Number: 123608 >Category: java >Synopsis: jdk16 port fails to build >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 12 12:00:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Andrew Reilly >Release: FreeBSD 7.0-STABLE amd64 >Organization: >Environment: System: FreeBSD duncan.reilly.home 7.0-STABLE FreeBSD 7.0-STABLE #11: Sat May 10 16:36:58 EST 2008 root@duncan.reilly.home:/usr/obj/usr/src/sys/DUNCAN amd64 Athlon-X2, 3G RAM >Description: make fails thusly: gmake[5]: Entering directory `/usr/ports/java/jdk16/work/deploy/make/plugin/nscore/unix' /usr/bin/g++ -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses -I../../../../src/plugin/solaris/nscore -I../../../../src/plugin/solaris/nscore/../common -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin/ -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin/CClassHeaders -I../../../../src/plugin/solaris/common -I../../../../src/plugin/share/jpiapi -I../../../../src/plugin/solaris/nscore/../nsstub -I/usr/local/include -I/usr/local/include -I../../../../../j2se/src/solaris/javavm/export -I../../../../../j2se/src/share/javavm/export -I../../../../../j2se/src/share/javavm/include -I../../../../../j2se/src/solaris/javavm/include -D_GNU_SOURCE -DXP_UNIX -DNO_XEMBED_MOZILLA -DPLUGIN_NODOTVERSION=\"160_03\" -DPLUGIN_VERSION=\"1.6.0_03\" -DVERSION=\"1.6.0_03-p4-b00\" -DRELEASE=\"1.6.0_03-p4\" -DARCH=\"amd64\" -DLIBARCH=\"amd64\" -D_ALLBSD_SOURCE -DRAPTOR_API -DNEW_STREAMING_API -DXP_UNIX -D_LP64=1 -c -o /usr/ports/java/jdk16/work/contr ol/build/bsd-amd64/tmp/deploy/plugin/javaplugin_nscp/obj64/remotejni.o ../../../../src/plugin/solaris/nscore/remotejni.cpp /usr/bin/g++ -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses -I../../../../src/plugin/solaris/nscore -I../../../../src/plugin/solaris/nscore/../common -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin/ -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin/CClassHeaders -I../../../../src/plugin/solaris/common -I../../../../src/plugin/share/jpiapi -I../../../../src/plugin/solaris/nscore/../nsstub -I/usr/local/include -I/usr/local/include -I../../../../../j2se/src/solaris/javavm/export -I../../../../../j2se/src/share/javavm/export -I../../../../../j2se/src/share/javavm/include -I../../../../../j2se/src/solaris/javavm/include -D_GNU_SOURCE -DXP_UNIX -DNO_XEMBED_MOZILLA -DPLUGIN_NODOTVERSION=\"160_03\" -DPLUGIN_VERSION=\"1.6.0_03\" -DVERSION=\"1.6.0_03-p4-b00\" -DRELEASE=\"1.6.0_03-p4\" -DARCH=\"amd64\" -DLIBARCH=\"amd64\" -D_ALLBSD_SOURCE -DRAPTOR_API -DNEW_STREAMING_API -DXP_UNIX -D_LP64=1 -c -o /usr/ports/java/jdk16/work/contr ol/build/bsd-amd64/tmp/deploy/plugin/javaplugin_nscp/obj64/util5.o ../../../../src/plugin/solaris/nscore/util5.cpp /usr/bin/g++ -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses -I../../../../src/plugin/solaris/nscore -I../../../../src/plugin/solaris/nscore/../common -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin/ -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin/CClassHeaders -I../../../../src/plugin/solaris/common -I../../../../src/plugin/share/jpiapi -I../../../../src/plugin/solaris/nscore/../nsstub -I/usr/local/include -I/usr/local/include -I../../../../../j2se/src/solaris/javavm/export -I../../../../../j2se/src/share/javavm/export -I../../../../../j2se/src/share/javavm/include -I../../../../../j2se/src/solaris/javavm/include -D_GNU_SOURCE -DXP_UNIX -DNO_XEMBED_MOZILLA -DPLUGIN_NODOTVERSION=\"160_03\" -DPLUGIN_VERSION=\"1.6.0_03\" -DVERSION=\"1.6.0_03-p4-b00\" -DRELEASE=\"1.6.0_03-p4\" -DARCH=\"amd64\" -DLIBARCH=\"amd64\" -D_ALLBSD_SOURCE -DRAPTOR_API -DNEW_STREAMING_API -DXP_UNIX -D_LP64=1 -c -o /usr/ports/java/jdk16/work/contr ol/build/bsd-amd64/tmp/deploy/plugin/javaplugin_nscp/obj64/CJavaConsole.o ../../../../src/plugin/solaris/nscore/CJavaConsole.cpp ../../../../src/plugin/solaris/nscore/CJavaConsole.cpp: In member function 'virtual JDresult CJavaConsole::Internal::QueryInterface(const JDIID&, void**)': ../../../../src/plugin/solaris/nscore/CJavaConsole.cpp:30: warning: invalid access to non-static data member 'CJavaConsole::fAggregated' of NULL object ../../../../src/plugin/solaris/nscore/CJavaConsole.cpp:30: warning: (perhaps the 'offsetof' macro was used incorrectly) ../../../../src/plugin/solaris/nscore/CJavaConsole.cpp: In member function 'virtual JDREFCNT CJavaConsole::Internal::AddRef()': ../../../../src/plugin/solaris/nscore/CJavaConsole.cpp:30: warning: invalid access to non-static data member 'CJavaConsole::fAggregated' of NULL object ../../../../src/plugin/solaris/nscore/CJavaConsole.cpp:30: warning: (perhaps the 'offsetof' macro was used incorrectly) ../../../../src/plugin/solaris/nscore/CJavaConsole.cpp: In member function 'virtual JDREFCNT CJavaConsole::Internal::Release()': ../../../../src/plugin/solaris/nscore/CJavaConsole.cpp:30: warning: invalid access to non-static data member 'CJavaConsole::fAggregated' of NULL object ../../../../src/plugin/solaris/nscore/CJavaConsole.cpp:30: warning: (perhaps the 'offsetof' macro was used incorrectly) ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'void jni_CallVoidMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:881: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'void jni_CallVoidMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:902: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function '_jobject* jni_CallObjectMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1004: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function '_jobject* jni_CallObjectMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1004: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jboolean jni_CallBooleanMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1005: error: 'JNI_EINVAL' was not declared in this scope /usr/bin/g++ -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses -I../../../../src/plugin/solaris/nscore -I../../../../src/plugin/solaris/nscore/../common -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin/ -I/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin/CClassHeaders -I../../../../src/plugin/solaris/common -I../../../../src/plugin/share/jpiapi -I../../../../src/plugin/solaris/nscore/../nsstub -I/usr/local/include -I/usr/local/include -I../../../../../j2se/src/solaris/javavm/export -I../../../../../j2se/src/share/javavm/export -I../../../../../j2se/src/share/javavm/include -I../../../../../j2se/src/solaris/javavm/include -D_GNU_SOURCE -DXP_UNIX -DNO_XEMBED_MOZILLA -DPLUGIN_NODOTVERSION=\"160_03\" -DPLUGIN_VERSION=\"1.6.0_03\" -DVERSION=\"1.6.0_03-p4-b00\" -DRELEASE=\"1.6.0_03-p4\" -DARCH=\"amd64\" -DLIBARCH=\"amd64\" -D_ALLBSD_SOURCE -DRAPTOR_API -DNEW_STREAMING_API -DXP_UNIX -D_LP64=1 -c -o /usr/ports/java/jdk16/work/contr ol/build/bsd-amd64/tmp/deploy/plugin/javaplugin_nscp/obj64/CookieSupport.o ../../../../src/plugin/solaris/nscore/CookieSupport.cpp ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jboolean jni_CallBooleanMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1005: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jbyte jni_CallByteMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1006: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jbyte jni_CallByteMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1006: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jchar jni_CallCharMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1007: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jchar jni_CallCharMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1007: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jshort jni_CallShortMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1008: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jshort jni_CallShortMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1008: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jint jni_CallIntMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1009: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jint jni_CallIntMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1009: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jlong jni_CallLongMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1010: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jlong jni_CallLongMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1010: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jfloat jni_CallFloatMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1011: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jfloat jni_CallFloatMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1011: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jdouble jni_CallDoubleMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1012: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jdouble jni_CallDoubleMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1012: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function '_jobject* jni_CallNonvirtualObjectMethod(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1095: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function '_jobject* jni_CallNonvirtualObjectMethodV(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1095: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jboolean jni_CallNonvirtualBooleanMethod(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1096: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jboolean jni_CallNonvirtualBooleanMethodV(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1096: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jbyte jni_CallNonvirtualByteMethod(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1097: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jbyte jni_CallNonvirtualByteMethodV(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1097: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jchar jni_CallNonvirtualCharMethod(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1098: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jchar jni_CallNonvirtualCharMethodV(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1098: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jshort jni_CallNonvirtualShortMethod(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1099: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jshort jni_CallNonvirtualShortMethodV(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1099: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jint jni_CallNonvirtualIntMethod(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1100: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jint jni_CallNonvirtualIntMethodV(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1100: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jlong jni_CallNonvirtualLongMethod(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1101: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jlong jni_CallNonvirtualLongMethodV(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1101: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jfloat jni_CallNonvirtualFloatMethod(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1102: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jfloat jni_CallNonvirtualFloatMethodV(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1102: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jdouble jni_CallNonvirtualDoubleMethod(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1103: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jdouble jni_CallNonvirtualDoubleMethodV(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1103: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'void jni_CallNonvirtualVoidMethod(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1124: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'void jni_CallNonvirtualVoidMethodV(RemoteJNIEnv*, _jobject*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1147: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function '_jobject* jni_CallStaticObjectMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1251: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function '_jobject* jni_CallStaticObjectMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1251: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jboolean jni_CallStaticBooleanMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1252: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jboolean jni_CallStaticBooleanMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1252: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jbyte jni_CallStaticByteMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1253: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jbyte jni_CallStaticByteMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1253: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jchar jni_CallStaticCharMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1254: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jchar jni_CallStaticCharMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1254: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jshort jni_CallStaticShortMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1255: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jshort jni_CallStaticShortMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1255: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jint jni_CallStaticIntMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1256: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jint jni_CallStaticIntMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1256: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jlong jni_CallStaticLongMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1257: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jlong jni_CallStaticLongMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1257: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jfloat jni_CallStaticFloatMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1258: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jfloat jni_CallStaticFloatMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1258: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jdouble jni_CallStaticDoubleMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1259: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'jdouble jni_CallStaticDoubleMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1259: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function '_jobject* jni_CallStaticNewObjectMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1264: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function '_jobject* jni_CallStaticNewObjectMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1264: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'void jni_CallStaticVoidMethod(RemoteJNIEnv*, _jobject*, _jmethodID*, ...)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1285: error: 'JNI_EINVAL' was not declared in this scope ../../../../src/plugin/solaris/nscore/remotejni.cpp: In function 'void jni_CallStaticVoidMethodV(RemoteJNIEnv*, _jobject*, _jmethodID*, __va_list_tag*)': ../../../../src/plugin/solaris/nscore/remotejni.cpp:1306: error: 'JNI_EINVAL' was not declared in this scope gmake[5]: *** [/usr/ports/java/jdk16/work/control/build/bsd-amd64/tmp/deploy/plugin/javaplugin_nscp/obj64/remotejni.o] Error 1 gmake[5]: *** Waiting for unfinished jobs.... gmake[5]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make/plugin/nscore/unix' gmake[4]: *** [parallel_compile] Error 2 gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make/plugin/nscore/unix' gmake[3]: *** [unix] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make/plugin/nscore' gmake[2]: *** [nscore] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make/plugin' gmake[1]: *** [plugin-all] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make' gmake: *** [deploy-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk16. *** Error code 1 Stop in /usr/ports/java/jdk16. >How-To-Repeat: cd /usr/ports/java/jdk16; make on an amd64 machine, anyway. >Fix: sorry: dunno. Just a heads-up that something seems broken. only interesting things in my /etc/make.conf are CFLAGS+=-g and CXXFLAGS+=-g >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Mon May 12 17:22:52 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC101106566B; Mon, 12 May 2008 17:22:52 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B63748FC0C; Mon, 12 May 2008 17:22:52 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4CHMqTq073911; Mon, 12 May 2008 17:22:52 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4CHMqBx073907; Mon, 12 May 2008 17:22:52 GMT (envelope-from linimon) Date: Mon, 12 May 2008 17:22:52 GMT Message-Id: <200805121722.m4CHMqBx073907@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-java@FreeBSD.org, glewis@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: ports/123608: java/jdk16 port fails to build X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2008 17:22:53 -0000 Old Synopsis: jdk16 port fails to build New Synopsis: java/jdk16 port fails to build Responsible-Changed-From-To: freebsd-java->glewis Responsible-Changed-By: linimon Responsible-Changed-When: Mon May 12 17:21:50 UTC 2008 Responsible-Changed-Why: Make this a ports PR and assign. http://www.freebsd.org/cgi/query-pr.cgi?pr=123608 From owner-freebsd-java@FreeBSD.ORG Tue May 13 03:36:03 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1795D1065672 for ; Tue, 13 May 2008 03:36:03 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id CB3268FC1C for ; Tue, 13 May 2008 03:36:02 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id m4D3a1Mx016749; Mon, 12 May 2008 20:36:01 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id m4D3a1d1016748; Mon, 12 May 2008 20:36:01 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 12 May 2008 20:36:00 -0700 From: Greg Lewis To: John Wright Message-ID: <20080513033600.GA16657@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-java@freebsd.org Subject: Re: java plugin & firefox crash X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 03:36:03 -0000 On Sun, May 11, 2008 at 03:22:59PM +0100, John Wright wrote: > Java is crashing firefox for me and I'm wondering if someone can > please help? Running firefox from Konsole shows this error for the > crash: > > diablo-jdk-1.5.0.07.01_10 > jdk-1.6.0.3p4_1 > javavmwrapper-2.3.2 > firefox-2.0.0.14,1 > > jello# uname -a > FreeBSD jello.hwresnet.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 > 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > i386 > > jello# java -version > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) > Java HotSpot(TM) Server VM (build diablo-1.5.0_07-b01, mixed mode) > > Any help will definitely be appreciated. I bet the Diablo plugin is installed too. This won't work. You can't mix 7.x binaries (firefox) with 6.x shared libraries (Diablo). You need to deinstall Diablo and somehow get jdk16's plugin to (re)install, or just create a symlink yourself. -- 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 13 17:19:08 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3C95106567A for ; Tue, 13 May 2008 17:19:08 +0000 (UTC) (envelope-from jwright11@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 5BA098FC1A for ; Tue, 13 May 2008 17:19:07 +0000 (UTC) (envelope-from jwright11@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so3001464pyb.10 for ; Tue, 13 May 2008 10:19:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=dGA+qzCUSr+cSZxQbd5rdhgvC/7KvmtMJeTPeWS7QeY=; b=D+llexoGGtY8fttP0+2Lqz3rVbP2KeeySFb3CyXGN0cEeqcTqNebFKQ/PcEIRFKHRmwWqHg8w5aAR/0jZSPN9Tut63psFCJIp7hmD3sTEmekujySG827FgK5gFcyA/K+Agc+yEL4nATdit5gS8edOSAnjvMZoCfr4hZ7lK2rzXw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rCWHdu6EqiGaRM8wm6Uxh3Xcvm+6DJmHbZPCnmeTM0rE5TkXLXgTOuA+z+DwtoN/oFdEFSg2yuiNDUVUSy6dq7VRqmqkM4vs4ztFVCorgTiQc9wdyCM8tMOFp9sSIaljrjAYoMTUzDtttjfFIz4T5PTVOV8U5nSfJQzqC4iYGZo= Received: by 10.141.185.3 with SMTP id m3mr4397409rvp.40.1210699146656; Tue, 13 May 2008 10:19:06 -0700 (PDT) Received: by 10.141.45.18 with HTTP; Tue, 13 May 2008 10:19:06 -0700 (PDT) Message-ID: Date: Tue, 13 May 2008 18:19:06 +0100 From: jwright11@gmail.com To: "Greg Lewis" In-Reply-To: <20080513033600.GA16657@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080513033600.GA16657@misty.eyesbeyond.com> Cc: freebsd-java@freebsd.org Subject: Re: java plugin & firefox crash X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 17:19:08 -0000 Yes, you were right. I deinstalled diablo and linked the jdk16 plugin with: # ln -s /usr/local/jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/local/lib/browser_plugins/ I didn't realize that diablo is just a build dependency for jdk16. Thanks for the help. On 5/13/08, Greg Lewis wrote: > On Sun, May 11, 2008 at 03:22:59PM +0100, John Wright wrote: > > Java is crashing firefox for me and I'm wondering if someone can > > please help? Running firefox from Konsole shows this error for the > > crash: > > > > diablo-jdk-1.5.0.07.01_10 > > jdk-1.6.0.3p4_1 > > javavmwrapper-2.3.2 > > firefox-2.0.0.14,1 > > > > jello# uname -a > > FreeBSD jello.hwresnet.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 > > 19:59:52 UTC 2008 > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > > i386 > > > > jello# java -version > > java version "1.5.0" > > Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) > > Java HotSpot(TM) Server VM (build diablo-1.5.0_07-b01, mixed mode) > > > > Any help will definitely be appreciated. > > I bet the Diablo plugin is installed too. This won't work. You can't mix > 7.x binaries (firefox) with 6.x shared libraries (Diablo). You need to > deinstall Diablo and somehow get jdk16's plugin to (re)install, or just > create a symlink yourself. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org > -- John N. Wright jwright11@gmail.com From owner-freebsd-java@FreeBSD.ORG Wed May 14 18:19:17 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E271D106567F for ; Wed, 14 May 2008 18:19:17 +0000 (UTC) (envelope-from philip@greenfinch.com) Received: from greenfinch.com (skylark.greenfinch.com [194.153.218.220]) by mx1.freebsd.org (Postfix) with ESMTP id 891A28FC14 for ; Wed, 14 May 2008 18:19:17 +0000 (UTC) (envelope-from philip@greenfinch.com) Received: from philip by greenfinch.com with local (Exim 4.68 (FreeBSD)) (envelope-from ) id 1JwLLU-000Nbs-KS for freebsd-java@freebsd.org; Wed, 14 May 2008 18:04:56 +0000 Date: Wed, 14 May 2008 18:04:56 +0000 From: Philip Plant To: freebsd-java@freebsd.org Message-ID: <20080514180456.GA90512@skylark.greenfinch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Sender: philip Subject: Problem installing JDK1.6 on FreeBSD 7.0R X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2008 18:19:18 -0000 Hi folks, I'm having real difficulties installing JDK1.6 from the latest ports tree - please could anyone advise what's going wrong and the best way I can go about fixing it? Many thanks, Philip. FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sat Mar 29 13:53:08 UTC 2008 ===> Applying FreeBSD patches for jdk-1.6.0.3p4_1 ===> jdk-1.6.0.3p4_1 depends on executable: zip - found ===> jdk-1.6.0.3p4_1 depends on executable: unzip - found ===> jdk-1.6.0.3p4_1 depends on file: /usr/local/lib/libXm.so - found ===> jdk-1.6.0.3p4_1 depends on file: /usr/local/include/cups/cups.h - found ===> jdk-1.6.0.3p4_1 depends on file: /usr/local/diablo-jdk1.5.0/bin/javac - found ===> jdk-1.6.0.3p4_1 depends on executable: gmake - found ===> jdk-1.6.0.3p4_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> jdk-1.6.0.3p4_1 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> jdk-1.6.0.3p4_1 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> jdk-1.6.0.3p4_1 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - found ===> jdk-1.6.0.3p4_1 depends on executable: pkg-config - found ===> jdk-1.6.0.3p4_1 depends on executable: update-desktop-database - found ===> jdk-1.6.0.3p4_1 depends on shared library: iconv.3 - found ===> jdk-1.6.0.3p4_1 depends on shared library: glib-2.0.0 - found ===> Configuring for jdk-1.6.0.3p4_1 ===> Building for jdk-1.6.0.3p4_1 # Start of jdk build bsd i586 1.6.0_03-p4 build started: 08-05-14 17:33 [: /libexec/ld-elf: bad number [: /libexec/ld-elf: bad number gmake[1]: Entering directory `/usr/ports/java/jdk16/work/deploy/make' gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/deploy/make' [: /libexec/ld-elf: bad number [: /libexec/ld-elf: bad number gmake[1]: Entering directory `/usr/ports/java/jdk16/work/j2se/make' [: so: bad number echo "WARNING: Importing CUPS from a system location \n" \ "" >> /usr/ports/java/jdk16/work/control/build/bsd-i586/sanityCheckWarnings.txt gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make' gmake[1]: Entering directory `/usr/ports/java/jdk16/work/install/make' gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/install/make' Build Machine Information: build machine = Build Directory Structure: CWD = /usr/ports/java/jdk16/work/control/make TOPDIR = ../.. CONTROL_TOPDIR = ../../control HOTSPOT_TOPDIR = ../../hotspot J2SE_TOPDIR = ../../j2se DEPLOY_TOPDIR = ../../deploy INSTALL_TOPDIR = ../../install Build Directives: BUILD_HOTSPOT = true BUILD_MOTIF = false BUILD_J2SE = true BUILD_DEPLOY = true BUILD_INSTALL = true Hotspot Settings: \n HOTSPOT_BUILD_JOBS = \n HOTSPOT_OUTPUTDIR = /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir \n HOTSPOT_EXPORT_PATH = /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import \n \n \nBootstrap Settings:\n BOOTDIR = /usr/local/diablo-jdk1.5.0\n ALT_BOOTDIR = /usr/local/diablo-jdk1.5.0\n BOOT_VER = /libexec/ld-elf.so.1: /usr/local/lib/compat/libpthread.so.2: Undefined symbol __malloc_lock [requires at least 1.5]\n OUTPUTDIR = /usr/ports/java/jdk16/work/control/build/bsd-i586\n ALT_OUTPUTDIR = /usr/ports/java/jdk16/work/control/build/bsd-i586\n ABS_OUTPUTDIR = /usr/ports/java/jdk16/work/control/build/bsd-i586\n \nBuild Tool Settings:\n SLASH_JAVA = /java\n ALT_SLASH_JAVA = \n VARIANT = OPT\n JDK_DEVTOOLS_DIR = /java/devtools\n ALT_JDK_DEVTOOLS_DIR = \n UNIXCOMMAND_PATH = /bin/\n ALT_UNIXCOMMAND_PATH = \n COMPILER_PATH = /usr/bin/\n ALT_COMPILER_PATH = \n DEVTOOLS_PATH = /usr/local/\n ALT_DEVTOOLS_PATH = /usr/local\n MOTIF_DIR = /usr/local\n ALT_MOTIF_DIR = /usr/local\n COMPILER_NAME = GCC\n COMPILER_VERSION = \n CC_VER = 4.2 [requires at least 3.3]\n ZIP_VER = 2.32 [requires at least 2.2]\n UNZIP_VER = 5.52 [requires at least 5.12]\n PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin\n TEMPDIR = /usr/ports/java/jdk16/work/control/build/bsd-i586/tmp\n \nBuild Directives:\n USE_ONLY_BOOTDIR_TOOLS = \n USE_HOTSPOT_INTERPRETER_MODE = \n PEDANTIC = \n DEV_ONLY = \n J2RE_ONLY = \n NO_DOCS = \n NO_IMAGES = \n TOOLS_ONLY = \n INSANE = \n PARALLEL_COMPILES = true\n PARALLEL_COMPILE_JOBS = 2\n ALT_PARALLEL_COMPILE_JOBS = \n FASTDEBUG = \n COMPILER_WARNINGS_FATAL = false\n COMPILER_WARNING_LEVEL = \n INCREMENTAL_BUILD = false\n CC_HIGHEST_OPT = \n CC_HIGHER_OPT = \n CC_LOWER_OPT = \n CXXFLAGS = -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses \n CFLAGS = -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses \n JAVA_BOOT = /usr/local/diablo-jdk1.5.0/bin/java -client -Xmx512m -Xms256m\n JAVAC_BOOT = /usr/local/diablo-jdk1.5.0/bin/javac -J-XX:ThreadStackSize=768 -J-client -J-Xmx512m -J-Xms256m -J-Xbootclasspath/p:./../make/sun/javac/javac/gjc.jar -target 5\n JAR_BOOT = /usr/local/diablo-jdk1.5.0/bin/jar\n JAVAH_BOOT = /usr/local/diablo-jdk1.5.0/bin/javah -J-XX:ThreadStackSize=768 -J-client -J-Xmx512m -J-Xms256m -J-Xbootclasspath/p:./../make/sun/javac/javac/gjc.jar\n JAVA = /usr/ports/java/jdk16/work/control/build/bsd-i586/bin/java -client -Xmx512m -Xms256m\n JAVAC = /usr/ports/java/jdk16/work/control/build/bsd-i586/bin/javac -J-XX:ThreadStackSize=768 -J-client -J-Xmx512m -J-Xms256m\n JAR = /usr/ports/java/jdk16/work/control/build/bsd-i586/bin/jar\n JAVAH = \n \nBuild Platform Settings:\n USER = philip\n PLATFORM = bsd\n ARCH = i586\n LIBARCH = i386\n ARCH_FAMILY = i586\n ARCH_DATA_MODEL = 32\n ARCHPROP = i386\n OS_VERSION = 7.0-RELEASE [requires at least 6.0]\n OS_NAME = freebsd\n TEMP_FREE_SPACE = 1015260\n FREE_SPACE = 216996716\n MB_OF_MEMORY = 1011\n \nGNU Make Settings:\n MAKE = gmake\n MAKE_VER = 3.81 [requires at least 3.78]\n MAKECMDGOALS = sanity\n MAKEFLAGS = w -- ARCH_DATA_MODEL=32 BUILD_MOTIF=false BUILD_HOTSPOT=true ALT_HOTSPOT_IMPORT_PATH=/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import ALT_OUTPUTDIR=/usr/ports/java/jdk16/work/control/build/bsd-i586 FULL_VERSION=1.6.0_03-p4-philip_14_may_2008_17_33-b00 JDK_BUILD_NUMBER=b00 BUILD_NUMBER=b00 MILESTONE=p4 EXTERNALSANITYCONTROL=true HOTSPOT_IMPORT_CHECK=false\n SHELL = /bin/sh\n \nTarget Build Versions:\n JDK_VERSION = 1.6.0_03\n MILESTONE = p4\n RELEASE = 1.6.0_03-p4\n FULL_VERSION = 1.6.0_03-p4-philip_14_may_2008_17_33-b00\n BUILD_NUMBER = b00\n \nExternal File/Binary Locations:\n USRJDKINSTANCES_PATH = /usr/local\n JDK_IMPORT_PATH = /java/re/j2se/1.6.0_03/promoted/latest/binaries/bsd-i586\n ALT_JDK_IMPORT_PATH = \n HOTSPOT_DOCS_IMPORT_PATH = /NO_DOCS_DIR\n ALT_HOTSPOT_DOCS_IMPORT_PATH = \n HOTSPOT_IMPORT_PATH = /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import\n ALT_HOTSPOT_IMPORT_PATH = /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import\n HOTSPOT_CLIENT_PATH = /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import/jre/lib/i386/client\n ALT_HOTSPOT_CLIENT_PATH = \n HOTSPOT_SERVER_PATH = /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import/jre/lib/i386/server\n ALT_HOTSPOT_SERVER_PATH = \n CACERTS_FILE = ./../src/share/lib/security/cacerts\n ALT_CACERTS_FILE = \n MOZILLA_HEADERS_PATH = /src/plugin/share/plugin\n ALT_MOZILLA_HEADERS_PATH = \n CUPS_HEADERS_PATH = /usr/local/include\n ALT_CUPS_HEADERS_PATH = \n \nPrevious JDK Settings:\n PREVIOUS_RELEASE_PATH = /java/re/j2se/1.5.0/archive/fcs/bundles/bsd-i586\n ALT_PREVIOUS_RELEASE_PATH = \n PREVIOUS_JDK_VERSION = 1.5.0\n ALT_PREVIOUS_JDK_VERSION = \n PREVIOUS_JDK_FILE = jdk-1_5_0-bsd-i586.tar.gz\n ALT_PREVIOUS_JDK_FILE = \n PREVIOUS_JRE_FILE = jdk-1_5_0-bsd-i586.tar.gz\n ALT_PREVIOUS_JRE_FILE = \n No setting required for Unix Systems WARNING: The official bsd builds use OS version 6.0. \n You appear to be using OS version 7.0-RELEASE. \n WARNING: The bsd compiler must be version 3.3 \n Specifically the GCC compiler. \n You appear to be using compiler version: 4.2 \n The compiler was obtained from the following location: \n /usr/bin/ \n Please change your compiler. \n WARNING: The official bsd builds use OS version 6.0. \n You appear to be using OS version 7.0-RELEASE. \n WARNING: The directory HOTSPOT_DOCS_IMPORT_PATH=/NO_DOCS_DIR \n does not exist, check your value of ALT_HOTSPOT_DOCS_IMPORT_PATH. \n WARNING: The bsd compiler must be version 3.3 \n Specifically the GCC compiler. \n You appear to be using compiler version: 4.2 \n The compiler was obtained from the following location: \n /usr/bin/ \n Please change your compiler. \n WARNING: Importing CUPS from a system location \n Sanity check passed. mkdir -p /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir mkdir -p /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import cd ../../hotspot/make ; \ gmake ALT_SLASH_JAVA=/java ARCH_DATA_MODEL=32 ALT_OUTPUTDIR=/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir ALT_EXPORT_PATH=/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/import PREVIOUS_JDK_VERSION=1.5.0 ALT_BOOTDIR=/usr/local/diablo-jdk1.5.0 FULL_VERSION="1.6.0_03-p4-philip_14_may_2008_17_33-b00" JDK_VERSION=1.6.0_03 COOKED_JDK_UPDATE_VERSION=30 COOKED_BUILD_NUMBER=0 JDK_MKTG_VERSION=6u3 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=6 JDK_MICRO_VERSION=0 all_product gmake[1]: Entering directory `/usr/ports/java/jdk16/work/hotspot/make' gmake VM_TARGET=product generic_build2 gmake[2]: Entering directory `/usr/ports/java/jdk16/work/hotspot/make' mkdir -p /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir cd /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir; \ gmake -f /usr/ports/java/jdk16/work/hotspot/build/bsd/Makefile \ HOTSPOT_BUILD_VERSION=1.6.0_03-p4-philip_14_may_2008_17_33-b00 JAVA_HOME=/usr/local/diablo-jdk1.5.0 GAMMADIR=/usr/ports/java/jdk16/work/hotspot MAKE_VERBOSE=y product gmake[3]: Entering directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' gmake -f /usr/ports/java/jdk16/work/hotspot/build/bsd/Makefile checks gmake[4]: Entering directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' /usr/local/diablo-jdk1.5.0/bin/javap javax.xml.transform.TransformerFactory > /dev/null 2>&1; \ if [ $? -ne 0 ]; then \ /usr/local/diablo-jdk1.5.0/bin/java -version; \ echo "*** An XSLT processor (J2SE 1.4.x or newer) is required" \ "to bootstrap this build" 1>&2; \ exit 1; \ fi /libexec/ld-elf.so.1: /usr/local/lib/compat/libpthread.so.2: Undefined symbol "__malloc_lock" *** An XSLT processor (J2SE 1.4.x or newer) is required to bootstrap this build gmake[4]: *** [check_j2se_version] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' gmake[3]: *** [bsd_i486_compiler2/debug] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' gmake[2]: *** [generic_build2] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' gmake: *** [hotspot-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk16. *** Error code 1 Stop in /usr/ports/java/jdk16. From owner-freebsd-java@FreeBSD.ORG Thu May 15 08:38:20 2008 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80D501065672 for ; Thu, 15 May 2008 08:38:20 +0000 (UTC) (envelope-from michiel.detailleur@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 100448FC28 for ; Thu, 15 May 2008 08:38:19 +0000 (UTC) (envelope-from michiel.detailleur@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so315894fgb.35 for ; Thu, 15 May 2008 01:38:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=IUuK5FYRY7XYrmDRsvfZShXzlIN+2+4eEdMnUK1v+7Q=; b=x/DYWIIa53mCSjRPWibFVvWrLzTANxTTQ6vGnwl0dBLRkjlCrEyan+DV8+tYu7FsU4aKYbwCFUUd91GynR08P11Z4vLH0LvnctcQxk2JUJHrnP0M4/y7zCI+NXwLFsJ3Lyw6+yH1VGtxksDsrQrawnZvlDdjZYpeeGBNgepFnnI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VZpt3l9CW9sTxslmKG1IG1fJu0aAHNUfkL2/+MVPjxYlBHsimgf/Yi8aIA6DNZ54njzN6Ogj1alqeRRsc1Ajr5GQ1epXw89KMq8cxfzQjqHef6tn0OutR8soOUs+fNyAmf+6S04MxkMEVL9+FpY2BDKfNxTvCvC3lZ7ZODFylrA= Received: by 10.78.188.10 with SMTP id l10mr509647huf.53.1210839133806; Thu, 15 May 2008 01:12:13 -0700 (PDT) Received: by 10.78.158.13 with HTTP; Thu, 15 May 2008 01:12:13 -0700 (PDT) Message-ID: Date: Thu, 15 May 2008 10:12:13 +0200 From: "Michiel Detailleur" To: freebsd-java@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: JDK16 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2008 08:38:20 -0000 Dear FreeBSD Java Project developer(s), I'm mailing you to ask about the status of version 1.6 of the Java JDK in FreeBSD. More in particular the java/jdk16 port. I find this a very useful port and I'm really happy that it makes the latest Java JDK so easily available. However, the JDK16 version in the port is still on Update3, while Sun has already released Update6. This latest updates contain numerous important bugfixes and feature additions, one of which is of particular interest to us (us would be 'Scouts en Gidsen Vlaanderen', a Belgian/Flemish scouting organisation). It would of course be very nice if we could get these latest updates (though just Update4 would already be sufficient for us) via the ports system. Would you be so kind to shed some light on a possible planning or current progress for updating this port? Mind you, I'm not asking you to 'update or fix this at once!', I'm totally aware that this is a voluntary project. I'm just asking if there are any plans for updating so we can adjust our plans if necessary. With kind regards, Michiel PS: I have already sent a similar email to the official port maintainer at glewis@freebsd.org from a different email address. I'm sorry if this email ends up at your address again. I do not want to appear rude or impatient, I just want to make sure this email is in fact received by the right person. -- Michiel Detailleur Medewerker Webtoepassingen Scouts en Gidsen Vlaanderen vzw Lange Kievitstraat 74 2018 Antwerpen tel 03 231 16 20 fax 03 232 63 92 www.scoutsengidsenvlaanderen.be From owner-freebsd-java@FreeBSD.ORG Thu May 15 17:41:25 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF6611065676 for ; Thu, 15 May 2008 17:41:25 +0000 (UTC) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.freebsd.org (Postfix) with ESMTP id EB2D58FC1D for ; Thu, 15 May 2008 17:41:24 +0000 (UTC) (envelope-from hwh@gddsn.org.cn) Received: from tp.gddsn.org.cn (unknown [124.81.160.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id E083738CB89 for ; Thu, 15 May 2008 13:52:28 +0800 (CST) Message-ID: <482BCF9B.7030404@gddsn.org.cn> Date: Thu, 15 May 2008 13:52:27 +0800 From: Huang wen hui User-Agent: Thunderbird 2.0.0.12 (X11/20080421) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Subject: JDK16 strange in 7-STABLE X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2008 17:41:25 -0000 hi, I have java application run under JDK16+7 STABLE, this java app often call external program(LocSAT). I saw two java process using ps. Is this normal? and some time one of unknow java process can not kill by kill -9, Under linux, I did not get this problem yet. --hwh rts# uname -a FreeBSD rts.cea-igp.ac.cn 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu May 15 12:57:19 CST 2008 hwh@rts.cea-igp.ac.cn:/usr/obj/usr/src/sys/GENERIC amd6= 4 rts# ps -axwwl UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 0 0 0 0 -8 0 0 0 - WLs ?? 0:00.02 [swapper] 0 1 0 0 8 0 2176 544 wait ILs ?? 0:00.01 /sbin/init -- 0 2 0 0 -8 0 0 16 - DL ?? 0:00.04 [g_event] 0 3 0 0 -8 0 0 16 - DL ?? 0:00.30 [g_up] 0 4 0 0 -8 0 0 16 - DL ?? 0:00.08 [g_down] 0 5 0 0 8 0 0 16 - DL ?? 0:00.00 [acpi_task_0] 0 6 0 0 8 0 0 16 - DL ?? 0:00.00 [acpi_task_1] 0 7 0 0 8 0 0 16 - DL ?? 0:00.00 [acpi_task_2] 0 8 0 0 8 0 0 16 - DL ?? 0:00.00 [thread taskq] 0 9 0 0 -8 0 0 16 ccb_sc DL ?? 0:00.00 [xpt_thrd] 0 10 0 0 -16 0 0 16 audit_ DL ?? 0:00.00 [audit] 0 11 0 0 171 0 0 16 - RL ?? 11:53.44 [idle: cpu7] 0 12 0 0 171 0 0 16 - RL ?? 11:41.38 [idle: cpu6] 0 13 0 0 171 0 0 16 - RL ?? 11:37.31 [idle: cpu5] 0 14 0 0 171 0 0 16 - RL ?? 11:20.53 [idle: cpu4] 0 15 0 0 171 0 0 16 - RL ?? 11:02.80 [idle: cpu3] 0 16 0 0 171 0 0 16 - RL ?? 10:35.48 [idle: cpu2] 0 17 0 0 171 0 0 16 - RL ?? 10:48.85 [idle: cpu1] 0 18 0 0 171 0 0 16 - RL ?? 9:47.05 [idle: cpu0] 0 19 0 0 -32 0 0 16 - RL ?? 0:02.34 [swi4: clock sio] 0 20 0 0 -36 0 0 16 - WL ?? 0:00.00 [swi3: vm] 0 21 0 0 -44 0 0 16 - WL ?? 0:00.00 [swi1: net] 0 22 0 0 -16 0 0 16 - DL ?? 0:00.18 [yarrow] 0 23 0 0 -28 0 0 16 - WL ?? 0:00.00 [swi5: +] 0 24 0 0 -24 0 0 16 - WL ?? 0:00.00 [swi6: Giant taskq] 0 25 0 0 -24 0 0 16 - WL ?? 0:00.00 [swi6: task queue] 0 26 0 0 -40 0 0 16 - WL ?? 0:00.00 [swi2: cambio] 0 27 0 0 8 0 0 16 - DL ?? 0:00.00 [kqueue taskq] 0 28 0 0 -52 0 0 16 - WL ?? 0:00.00 [irq9: acpi0] 0 29 0 0 -68 0 0 16 - WL ?? 0:02.03 [irq256: bce0] 0 30 0 0 -64 0 0 16 - WL ?? 0:00.04 [irq16: mfi0] 0 31 0 0 -68 0 0 16 - WL ?? 0:00.00 [irq257: bce1] 0 32 0 0 -64 0 0 16 - WL ?? 0:00.00 [irq21: uhci0 uhci+] 0 33 0 0 8 0 0 16 usbevt DL ?? 0:00.00 [usb0] 0 34 0 0 8 0 0 16 usbtsk DL ?? 0:00.00 [usbtask-hc] 0 35 0 0 8 0 0 16 usbtsk DL ?? 0:00.00 [usbtask-dr] 0 36 0 0 -64 0 0 16 - WL ?? 0:00.00 [irq20: uhci1 uhci3] 0 37 0 0 8 0 0 16 usbevt DL ?? 0:00.00 [usb1] 0 38 0 0 8 0 0 16 usbevt DL ?? 0:00.00 [usb2] 0 39 0 0 8 0 0 16 usbevt DL ?? 0:00.00 [usb3] 0 40 0 0 8 0 0 16 usbevt DL ?? 0:00.00 [usb4] 0 41 0 0 -64 0 0 16 - WL ?? 0:00.00 [irq14: ata0] 0 42 0 0 -64 0 0 16 - WL ?? 0:00.00 [irq15: ata1] 0 43 0 0 -48 0 0 16 - WL ?? 0:00.00 [swi0: sio] 0 44 0 0 -60 0 0 16 - WL ?? 0:00.00 [irq1: atkbd0] 0 45 0 0 -16 0 0 24 waitin DL ?? 0:00.00 [sctp_iterator] 0 46 0 0 -16 0 0 16 psleep DL ?? 0:00.23 [pagedaemon] 0 47 0 0 20 0 0 16 psleep DL ?? 0:00.00 [vmdaemon] 0 48 0 0 171 0 0 16 pgzero DL ?? 0:00.00 [pagezero] 0 49 0 0 -16 0 0 16 psleep DL ?? 0:00.00 [bufdaemon] 0 50 0 0 20 0 0 16 syncer DL ?? 0:00.76 [syncer] 0 51 0 0 -4 0 0 16 vlruwt DL ?? 0:00.00 [vnlru] 0 52 0 0 -16 0 0 16 sdflus DL ?? 0:02.36 [softdepflush] 0 146 1 0 20 0 2556 924 pause Is ?? 0:00.00 adjkerntz -i 0 452 1 0 96 0 6804 1232 select Is ?? 0:00.00 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid 0 500 1 0 96 0 2176 628 select Is ?? 0:00.00 /sbin/devd 0 555 1 0 44 0 5676 1344 select Ss ?? 0:00.03 /usr/sbin/syslogd -s 0 653 1 0 44 0 9424 2268 select Ss ?? 0:00.03 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntpd.drift 0 709 1 0 44 0 21768 3780 select Is ?? 0:00.00 /usr/sbin/sshd 0 724 1 0 44 0 10684 3772 select Ss ?? 0:00.01 sendmail: accepting connections (sendmail) 25 728 1 0 20 0 10684 3824 pause Is ?? 0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) 0 734 1 0 8 0 6732 1400 nanslp Is ?? 0:00.02 /usr/sbin/cron -s 0 1440 709 0 4 0 33744 4540 sbwait Is ?? 0:00.09 sshd: hwh [priv] (sshd) 1000 1467 1440 0 44 0 33744 4632 select S ?? 0:00.13 sshd: hwh@ttyp0 (ssh= d) 0 3906 866 0 58 0 1924 840 - R ?? 0:00.10 /usr/local/jopens/lib/locsat/bin/LocSAT.freebsd -s locsat-sta-t0 -d locsat-in-t0 -c locsat-ctl-t0 -o locsat-out-t0 0 3908 866 0 51 0 2425976 1056828 - R ?? 0:00.00 /usr/local/jdk1.6.0/bin/java -Xmx2048m -cp =2E./lib/jbossall-client.jar:../lib/JSNTP.jar:../lib/JNL.jar:../lib/aspec= tjweaver.jar:../lib/JSciBean.jar:../lib/JSciCore.jar:../lib/JSciSci.jar:.= =2E/lib/JSciWavelet.jar:../lib/MeipTerm.jar:../lib/activation.jar:../lib/= antlr-2.7.6.jar:../lib/aspectjrt.jar:../lib/beandt.jar:../lib/apache-acti= vemq-4.1.1.jar:../lib/hibernate3.jar:../lib/dx.jar:../lib/castor-1.1-xml.= jar:../lib/cglib-nodep-2.1_3.jar:../lib/commons-beanutils-1.7.0.jar:../li= b/commons-cli-1.0.jar:../lib/commons-collections-3.1.jar:../lib/commons-d= bcp-1.2.1.jar:../lib/commons-io-1.1.jar:../lib/commons-lang.jar:../lib/co= mmons-logging.jar:../lib/commons-pool-1.2.jar:../lib/dbswing.jar:../lib/d= om4j-1.6.1.jar:../lib/ejb3-persistence.jar:../lib/ehcache-1.2.4.jar:../li= b/hibernate-annotations.jar:../lib/hibernate-client.jar:../lib/jakarta-re= gexp-1.4.jar:../lib/itext-0.96.jar:../lib/hibernate-commons-annotations.j= ar:../lib/hibernate-entitymanager.jar:../lib/hibernate-validator.jar:../l= ib/jboss-annotations-ejb3.jar:../lib/java-getopt-1.0.8.jar:../lib/javassi= st.jar:../lib/javolution.jar:../lib/jaxen-core.jar:../lib/jaxen-jdom.jar:= =2E./lib/jbcl.jar:../lib/jboss-common-client.jar:../lib/jboss-aop-jdk50.j= ar:../lib/jboss-j2ee.jar:../lib/jboss-aspect-library-jdk50.jar:../lib/jbo= ss-ejb3-client.jar:../lib/jboss-ejb3x.jar:../lib/jfreechart-1.0.6.jar:../= lib/jbossws-client.jar:../lib/jcommon-1.0.10.jar:../lib/jdom.jar:../lib/j= ds.jar:../lib/log4j-1.2.13.jar:../lib/linearAlg.jar:../lib/matrixCafe.jar= :../lib/mail.jar:../lib/smslib-2.1.2.jar:../lib/saxpath.jar:../lib/mysql-= connector-java-5.0.6-bin.jar:../lib/xbean-spring-2.7.jar:../lib/spring-ag= ent.jar:../lib/spring-aspects.jar:../lib/spring.jar:../lib/taup.jar:../li= b/trove.jar:../lib/xerces.jar:rts.jar cn.org.gddsn.rts.AutoLocClass onlyLoc 0 803 1 0 5 0 5672 1224 ttyin Is+ v0 0:00.01 /usr/libexec/getty Pc ttyv0 0 804 1 0 5 0 5672 1224 ttyin Is+ v1 0:00.01 /usr/libexec/getty Pc ttyv1 0 805 1 0 5 0 5672 1224 ttyin Is+ v2 0:00.01 /usr/libexec/getty Pc ttyv2 0 806 1 0 5 0 5672 1224 ttyin Is+ v3 0:00.01 /usr/libexec/getty Pc ttyv3 0 807 1 0 5 0 5672 1224 ttyin Is+ v4 0:00.01 /usr/libexec/getty Pc ttyv4 0 808 1 0 5 0 5672 1224 ttyin Is+ v5 0:00.01 /usr/libexec/getty Pc ttyv5 0 809 1 0 5 0 5672 1224 ttyin Is+ v6 0:00.01 /usr/libexec/getty Pc ttyv6 0 810 1 0 5 0 5672 1224 ttyin Is+ v7 0:00.00 /usr/libexec/getty Pc ttyv7 0 866 1 0 51 0 2425976 1057612 - RL p0- 8:45.68 /usr/local/jdk1.6.0/bin/java -Xmx2048m -cp =2E./lib/jbossall-client.jar:../lib/JSNTP.jar:../lib/JNL.jar:../lib/aspec= tjweaver.jar:../lib/JSciBean.jar:../lib/JSciCore.jar:../lib/JSciSci.jar:.= =2E/lib/JSciWavelet.jar:../lib/MeipTerm.jar:../lib/activation.jar:../lib/= antlr-2.7.6.jar:../lib/aspectjrt.jar:../lib/beandt.jar:../lib/apache-acti= vemq-4.1.1.jar:../lib/hibernate3.jar:../lib/dx.jar:../lib/castor-1.1-xml.= jar:../lib/cglib-nodep-2.1_3.jar:../lib/commons-beanutils-1.7.0.jar:../li= b/commons-cli-1.0.jar:../lib/commons-collections-3.1.jar:../lib/commons-d= bcp-1.2.1.jar:../lib/commons-io-1.1.jar:../lib/commons-lang.jar:../lib/co= mmons-logging.jar:../lib/commons-pool-1.2.jar:../lib/dbswing.jar:../lib/d= om4j-1.6.1.jar:../lib/ejb3-persistence.jar:../lib/ehcache-1.2.4.jar:../li= b/hibernate-annotations.jar:../lib/hibernate-client.jar:../lib/jakarta-re= gexp-1.4.jar:../lib/itext-0.96.jar:../lib/hibernate-commons-annotations.j= ar:../lib/hibernate-entitymanager.jar:../lib/hibernate-validator.jar:../l= ib/jboss-annotations-ejb3.jar:../lib/java-getopt-1.0.8.jar:../lib/javassi= st.jar:../lib/javolution.jar:../lib/jaxen-core.jar:../lib/jaxen-jdom.jar:= =2E./lib/jbcl.jar:../lib/jboss-common-client.jar:../lib/jboss-aop-jdk50.j= ar:../lib/jboss-j2ee.jar:../lib/jboss-aspect-library-jdk50.jar:../lib/jbo= ss-ejb3-client.jar:../lib/jboss-ejb3x.jar:../lib/jfreechart-1.0.6.jar:../= lib/jbossws-client.jar:../lib/jcommon-1.0.10.jar:../lib/jdom.jar:../lib/j= ds.jar:../lib/log4j-1.2.13.jar:../lib/linearAlg.jar:../lib/matrixCafe.jar= :../lib/mail.jar:../lib/smslib-2.1.2.jar:../lib/saxpath.jar:../lib/mysql-= connector-java-5.0.6-bin.jar:../lib/xbean-spring-2.7.jar:../lib/spring-ag= ent.jar:../lib/spring-aspects.jar:../lib/spring.jar:../lib/taup.jar:../li= b/trove.jar:../lib/xerces.jar:rts.jar cn.org.gddsn.rts.AutoLocClass onlyLoc 1000 1471 1467 0 20 0 8136 2872 pause Is p0 0:00.03 -csh (csh) 0 1481 1471 0 8 0 20424 1800 wait I p0 0:00.01 su 0 1490 1481 0 20 0 8136 2924 pause S p0 0:00.16 _su (csh) 0 3907 1490 0 46 0 6776 1300 - R+ p0 0:00.03 ps -axwwl From owner-freebsd-java@FreeBSD.ORG Fri May 16 02:10:41 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDCD7106566B for ; Fri, 16 May 2008 02:10:41 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 8BA1C8FC14 for ; Fri, 16 May 2008 02:10:41 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id m4G2Ae5N037387; Thu, 15 May 2008 19:10:40 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id m4G2AdZm037386; Thu, 15 May 2008 19:10:39 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 15 May 2008 19:10:39 -0700 From: Greg Lewis To: Michiel Detailleur Message-ID: <20080516021039.GA37367@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-java@freebsd.org Subject: Re: JDK16 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 02:10:41 -0000 G'day Michiel, On Thu, May 15, 2008 at 10:12:13AM +0200, Michiel Detailleur wrote: > Dear FreeBSD Java Project developer(s), > > I'm mailing you to ask about the status of version 1.6 of the Java JDK > in FreeBSD. More in particular the java/jdk16 port. I find this a very > useful port and I'm really happy that it makes the latest Java JDK so > easily available. > > However, the JDK16 version in the port is still on Update3, while Sun > has already released Update6. This latest updates contain numerous > important bugfixes and feature additions, one of which is of > particular interest to us (us would be 'Scouts en Gidsen Vlaanderen', > a Belgian/Flemish scouting organisation). It would of course be very > nice if we could get these latest updates (though just Update4 would > already be sufficient for us) via the ports system. > > Would you be so kind to shed some light on a possible planning or > current progress for updating this port? Mind you, I'm not asking you > to 'update or fix this at once!', I'm totally aware that this is a > voluntary project. I'm just asking if there are any plans for updating > so we can adjust our plans if necessary. > > With kind regards, > > Michiel > > PS: I have already sent a similar email to the official port > maintainer at glewis@freebsd.org from a different email address. I'm > sorry if this email ends up at your address again. I do not want to > appear rude or impatient, I just want to make sure this email is in > fact received by the right person. I sent a reply to that email, did you not get it? If so I can resend. -- 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 16 10:12:44 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D321C106564A for ; Fri, 16 May 2008 10:12:44 +0000 (UTC) (envelope-from gabriel.engel@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id A95D28FC1B for ; Fri, 16 May 2008 10:12:44 +0000 (UTC) (envelope-from gabriel.engel@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so119692rvf.43 for ; Fri, 16 May 2008 03:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=Iw2SCsKnxbKNaXRquv6Q6IFTYhiTBy5zBuuIAPYhabc=; b=EqUrkByooj2JVZxumCmslp7ZEWf372KlxmkAkuINnbBDbH8yJQFNbdHIwXZZcE/0q2AL3+Ucz8QazMbLKj6lnVfPZOFbbDVTIQbI6iVqqBYOOw9h0FIsGHSyVALTgIWfMYXKNEDNI7iniDlPJPQe/21j9Es87GkyCbVI0q6E9hw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=bBqoGqGf/+BqWvgoHo+UdyMukrEtknf9dMwzpn/szcQDPWVyZZOnF8YLpXFP8iIFhdykyjzJ0tTQ8Ie9nbb0WnHBBResi/IERn32yk75Yh/TiEkcr4jjp8tsqUph6XbkNfb5sMEV3parcHqUCk93a49wP/1a+rJZnG539r0L+xY= Received: by 10.140.250.14 with SMTP id x14mr1682245rvh.79.1210931264575; Fri, 16 May 2008 02:47:44 -0700 (PDT) Received: by 10.141.34.14 with HTTP; Fri, 16 May 2008 02:47:44 -0700 (PDT) Message-ID: <4ded27ae0805160247v161abf7fnff52602b8b0f0be4@mail.gmail.com> Date: Fri, 16 May 2008 10:47:44 +0100 From: "Gabriel Engel" To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Java 1.4 on a FreeBSD 7 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 10:12:44 -0000 Hi, Did anyone manage to install Java 2 JDK 1.4.2 in a FreeBSD 7? I really need a payment service form SecureTrading, and it doesn't work on version 1.5. Any ideas? Cheers, Gabriel Engel From owner-freebsd-java@FreeBSD.ORG Fri May 16 12:58:34 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2FBD1065670 for ; Fri, 16 May 2008 12:58:33 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from office.redwerk.com (office.redwerk.com [85.90.206.104]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9E88FC1C for ; Fri, 16 May 2008 12:58:33 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from bofh by office.redwerk.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JwyuF-0003sQ-1Y for freebsd-java@freebsd.org; Fri, 16 May 2008 15:19:27 +0300 Date: Fri, 16 May 2008 15:19:27 +0300 From: Eugeny N Dzhurinsky To: freebsd-java@freebsd.org Message-ID: <20080516121927.GA13485@office.redwerk.com> Mail-Followup-To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline Subject: NetBeans 6.1 Profiler, Sun JDK 1.5/1.6 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 12:58:34 -0000 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello everytbody! I recently installed NetBeans 6.1 from ports and noticed there is no libprofilerinterface.so library for FreeBSD, and NetBeans complains the pro= filing=20 wouldn't work. I've downloaded the sources of NetBeans and was able to buil= d the=20 libprofilerinterface.so from sources, once I placed it into the appropriate= directory=20 NetBeans expects it to appear in - NetBeans stops reporting the error, howe= ver profiling=20 still doesn't work for some another reason - it just hands on the "calibrat= ion" stage. I had built the module with -ggdb option, and found there is java.core file= and=20 GDB shows this stack trace: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D (gdb) bt #0 0x2817f9fb in kill () from /lib/libc.so.6 #1 0x280a3236 in raise () from /lib/libpthread.so.2 #2 0x2817e6a8 in abort () from /lib/libc.so.6 #3 0x2815a898 in __assert () from /lib/libc.so.6 #4 0x28808fda in initializeJVMTI (jvm=3D0x287b6ae0) at =2E./src-jdk15/common_functions.c:122 #5 0x2880911c in Agent_OnLoad (jvm=3D0x287b6ae0, options=3D0x0, reserved= =3D0x0) at ../src-jdk15/common_functions.c:147 #6 0x286dfd3d in Threads::create_vm_init_agents () from /usr/local/jdk1.5.0/jre/lib/i386/server/libjvm.so #7 0x286e2b5f in Threads::create_vm () from /usr/local/jdk1.5.0/jre/lib/i386/server/libjvm.so #8 0x284627a1 in JNI_CreateJavaVM () from /usr/local/jdk1.5.0/jre/lib/i386/server/libjvm.so =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D the function initializeJVMTI dumped below: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D void initializeJVMTI(JavaVM *jvm) { jvmtiError err; jvmtiCapabilities capas; jint res; /* Obtain the JVMTI environment to be used by this agent */ #ifdef JNI_VERSION_1_6 (*jvm)->GetEnv(jvm, (void**)&_jvmti, JVMTI_VERSION_1_1); #else (*jvm)->GetEnv(jvm, (void**)&_jvmti, JVMTI_VERSION_1_0); #endif /* Enable runtime class redefinition capability */ err =3D (*_jvmti)->GetCapabilities(_jvmti, &capas); assert(err =3D=3D JVMTI_ERROR_NONE); capas.can_redefine_classes =3D 1; #ifdef JNI_VERSION_1_6=20 capas.can_retransform_classes =3D 1; #endif capas.can_generate_garbage_collection_events =3D 1; capas.can_generate_native_method_bind_events =3D 1; capas.can_generate_monitor_events =3D 1; capas.can_get_current_thread_cpu_time =3D 1; capas.can_generate_vm_object_alloc_events =3D 1; err =3D (*_jvmti)->AddCapabilities(_jvmti, &capas); if (err !=3D JVMTI_ERROR_NONE) { fprintf(stderr, "Profiler Agent Error: Failed to obtain JVMTI capab= ilities, error code: %d\n", err); } /* Zero out the callbacks data structure for future use*/ _jvmti_callbacks =3D &_jvmti_callbacks_static; memset(_jvmti_callbacks, 0, sizeof(jvmtiEventCallbacks)); /* Enable class load hook event, that captures class file bytes for cla= sses loaded by non-system loaders */ _jvmti_callbacks->ClassFileLoadHook =3D class_file_load_hook; _jvmti_callbacks->NativeMethodBind =3D native_method_bind_hook; _jvmti_callbacks->MonitorContendedEnter =3D monitor_contended_enter_hoo= k; _jvmti_callbacks->MonitorContendedEntered =3D monitor_contended_entered= _hook; _jvmti_callbacks->VMObjectAlloc =3D vm_object_alloc; res =3D (*_jvmti)->SetEventCallbacks(_jvmti, _jvmti_callbacks, sizeof(*= _jvmti_callbacks)); assert (res =3D=3D JVMTI_ERROR_NONE); res =3D (*_jvmti)->SetEventNotificationMode(_jvmti, JVMTI_ENABLE, JVMTI= _EVENT_CLASS_FILE_LOAD_HOOK, NULL); assert(res =3D=3D JVMTI_ERROR_NONE); res =3D (*_jvmti)->SetEventNotificationMode(_jvmti, JVMTI_ENABLE, JVMTI= _EVENT_NATIVE_METHOD_BIND, NULL); =20 /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! line 122 !!!!!!!!!!!!!!!!!!!!= !!!!!!!!!!!!!!!!!!*/ assert(res =3D=3D JVMTI_ERROR_NONE); res =3D (*_jvmti)->SetEventNotificationMode(_jvmti, JVMTI_ENABLE, JVMTI= _EVENT_MONITOR_CONTENDED_ENTER, NULL); assert(res =3D=3D JVMTI_ERROR_NONE); res =3D (*_jvmti)->SetEventNotificationMode(_jvmti, JVMTI_ENABLE, JVMTI= _EVENT_MONITOR_CONTENDED_ENTERED, NULL); assert(res =3D=3D JVMTI_ERROR_NONE); } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Does it makes sense for anybody? Is it possible to fix this somehow? Thank you in advance! --=20 Eugene N Dzhurinsky --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkgte84ACgkQy/i/DoZLbHwhdwCeOi6G+Wu8Tgc57leIlnpuypf+ cNkAni1kMMhjJRZz88xo2aTn+IBKaMS+ =iEWy -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- From owner-freebsd-java@FreeBSD.ORG Fri May 16 19:42:57 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D9C5106566B for ; Fri, 16 May 2008 19:42:57 +0000 (UTC) (envelope-from solardynamo@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id B492F8FC1F for ; Fri, 16 May 2008 19:42:56 +0000 (UTC) (envelope-from solardynamo@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so933022fkk.11 for ; Fri, 16 May 2008 12:42:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=X8aweAhtdfuJhyCNklMfiAIfwvZ8MT2zss2/Eht1pFg=; b=I2RDI30/MJQgq4pFyrFRN5EBvxWWYFXii80klR8/ZG+tkwvnRwDvYJUvM0sZ236LNBUytZazEuqCPSf9spLie+mZt2vrPzB1acL6Fr9hb1pzGErX3WrZ8Vi7bCM/0EE/S76XpKWxiRieAsvdkDDJOZdcAuzBJlAN2rCFIDDntLs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=nVcCEgdcCQjUz5BTERZvGPD93tIUgtc1LOTB7FdxYYcmkLScG0ZQI5tI8AozPlKC9FHJcYNY7E77M+LqtZGdbbm+IKVsUzIlmUXJpvo+u0fFwyns57UTPZbzvGspRax3IixfwvSjBf/K59H4jUZ63W1TjvYkTKH7rIlMevzSydY= Received: by 10.125.109.15 with SMTP id l15mr2925046mkm.77.1210965296569; Fri, 16 May 2008 12:14:56 -0700 (PDT) Received: by 10.125.107.14 with HTTP; Fri, 16 May 2008 12:14:56 -0700 (PDT) Message-ID: Date: Fri, 16 May 2008 21:14:56 +0200 From: solardynamo To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: jdk16 installation: UnsatisfiedLinkError X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 19:42:57 -0000 Hi, I'm trying to build jdk16 on FreeBSD 7 with diablo-jdk15 and I'm getting an error: ... Loading source file ../../../../src/share/classes/javax/swing/JToolBar.java... Loading source file ../../../../src/share/classes/javax/swing/JTree.java... Loading source file ../../../../src/share/classes/javax/swing/JWindow.java... Loading source file ../../../../src/share/classes/javax/swing/text/JTextComponent.java... Constructing Javadoc information... >>> Generating beaninfo for javax.swing.AbstractButton... javadoc: error - In doclet class GenDocletBeanInfo, method start has thrown an exception java.lang.reflect.InvocationTargetException java.lang.UnsatisfiedLinkError: Can't load library: /usr/ports/java/jdk16/work/control/build/bsd-i586/lib/i386/motif21/libmawt.so at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650) at java.lang.Runtime.load0(Runtime.java:770) at java.lang.System.load(System.java:1005) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1030) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38) at sun.awt.DebugHelper.(DebugHelper.java:29) at java.awt.Component.(Component.java:552) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at GenSwingBeanInfo.getClass(GenSwingBeanInfo.java:472) at GenSwingBeanInfo.genBeanInfo(GenSwingBeanInfo.java:355) at GenDocletBeanInfo.start(GenDocletBeanInfo.java:190) 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:597) at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:215) at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:91) at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340) at com.sun.tools.javadoc.Start.begin(Start.java:128) at com.sun.tools.javadoc.Main.execute(Main.java:41) at com.sun.tools.javadoc.Main.main(Main.java:31) 1 error gmake[3]: *** [.javadoc.beanlist] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/javax/swing/beaninfo' gmake[2]: *** [swing-1.2-beans] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make/javax/swing/beaninfo' gmake[1]: *** [initial-image-jdk] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk16. *** Error code 1 Stop in /usr/ports/java/jdk16. tr@~ >cat /var/db/ports/jdk16/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for jdk-1.6.0.3p4_1 _OPTIONS_READ=jdk-1.6.0.3p4_1 WITHOUT_DEBUG=true WITHOUT_IPV6=true WITH_WEB=true WITHOUT_POLICY=true WITH_TZUPDATE=true WITHOUT_JAIL=true tr@~ >pkg_info |grep motif open-motif-2.2.3_5 Motif X11 Toolkit (industry standard GUI (IEEE 1295)) tr@~# uname -a FreeBSD lynx.ath.cx 7.0-STABLE FreeBSD 7.0-STABLE #3: Fri May 2 17:50:35 CEST 2008 tr@lynx.ath.cx:/usr/obj/usr/src/sys/SELEYA i386 From owner-freebsd-java@FreeBSD.ORG Fri May 16 23:39:06 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 610FD1065678 for ; Fri, 16 May 2008 23:39:06 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 2388A8FC23 for ; Fri, 16 May 2008 23:39:06 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id m4GNd4g0044011; Fri, 16 May 2008 16:39:05 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id m4GNd4Ee044010; Fri, 16 May 2008 16:39:04 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 16 May 2008 16:39:03 -0700 From: Greg Lewis To: Gabriel Engel Message-ID: <20080516233903.GA43930@misty.eyesbeyond.com> References: <4ded27ae0805160247v161abf7fnff52602b8b0f0be4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ded27ae0805160247v161abf7fnff52602b8b0f0be4@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-java@freebsd.org Subject: Re: Java 1.4 on a FreeBSD 7 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 23:39:06 -0000 On Fri, May 16, 2008 at 10:47:44AM +0100, Gabriel Engel wrote: > Did anyone manage to install Java 2 JDK 1.4.2 in a FreeBSD 7? > > I really need a payment service form SecureTrading, and it doesn't work on > version 1.5. > > Any ideas? Your choices are: 1. Install linux-sun-jdk14 (or another Linux JDK 1.4). 2. Install a jdk14 package for FreeBSD 6.x and also install misc/compat6x. 3. Hack on the jdk14 source until gcc 4.x is happy with it (many of the changes you need to make will show up in the jdk15 source). The main issue is the HotSpot C++ code. 4. Hack on the jdk14 source so that it can be compiled with a compiler whose executable is called e.g. gcc34/g++34 rather than gcc/g++ and make the port depend on an older gcc port on 7.x. -- 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 16 23:40:58 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C84D106567A for ; Fri, 16 May 2008 23:40:58 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id D39F98FC19 for ; Fri, 16 May 2008 23:40:57 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id m4GNevgq044040 for ; Fri, 16 May 2008 16:40:57 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id m4GNeuZa044039 for freebsd-java@freebsd.org; Fri, 16 May 2008 16:40:56 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 16 May 2008 16:40:56 -0700 From: Greg Lewis To: freebsd-java@freebsd.org Message-ID: <20080516234056.GB43930@misty.eyesbeyond.com> References: <20080516121927.GA13485@office.redwerk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080516121927.GA13485@office.redwerk.com> User-Agent: Mutt/1.4.2.2i Subject: Re: NetBeans 6.1 Profiler, Sun JDK 1.5/1.6 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 23:40:58 -0000 On Fri, May 16, 2008 at 03:19:27PM +0300, Eugeny N Dzhurinsky wrote: > Hello everytbody! > > I recently installed NetBeans 6.1 from ports and noticed there is no > libprofilerinterface.so library for FreeBSD, and NetBeans complains the profiling > wouldn't work. I've downloaded the sources of NetBeans and was able to build the > libprofilerinterface.so from sources, once I placed it into the appropriate directory > NetBeans expects it to appear in - NetBeans stops reporting the error, however profiling > still doesn't work for some another reason - it just hands on the "calibration" stage. > > I had built the module with -ggdb option, and found there is java.core file and > GDB shows this stack trace: > > > ============================================================================= > (gdb) bt > #0 0x2817f9fb in kill () from /lib/libc.so.6 > #1 0x280a3236 in raise () from /lib/libpthread.so.2 > #2 0x2817e6a8 in abort () from /lib/libc.so.6 > #3 0x2815a898 in __assert () from /lib/libc.so.6 > #4 0x28808fda in initializeJVMTI (jvm=0x287b6ae0) at > ../src-jdk15/common_functions.c:122 So, in the code you included below, which is line 122? > #5 0x2880911c in Agent_OnLoad (jvm=0x287b6ae0, options=0x0, reserved=0x0) > at ../src-jdk15/common_functions.c:147 > #6 0x286dfd3d in Threads::create_vm_init_agents () > from /usr/local/jdk1.5.0/jre/lib/i386/server/libjvm.so > #7 0x286e2b5f in Threads::create_vm () from > /usr/local/jdk1.5.0/jre/lib/i386/server/libjvm.so > #8 0x284627a1 in JNI_CreateJavaVM () from > /usr/local/jdk1.5.0/jre/lib/i386/server/libjvm.so > ============================================================================= > > the function initializeJVMTI dumped below: > > ============================================================================= > void initializeJVMTI(JavaVM *jvm) { > jvmtiError err; > jvmtiCapabilities capas; > jint res; > > /* Obtain the JVMTI environment to be used by this agent */ > #ifdef JNI_VERSION_1_6 > (*jvm)->GetEnv(jvm, (void**)&_jvmti, JVMTI_VERSION_1_1); > #else > (*jvm)->GetEnv(jvm, (void**)&_jvmti, JVMTI_VERSION_1_0); > #endif > > /* Enable runtime class redefinition capability */ > err = (*_jvmti)->GetCapabilities(_jvmti, &capas); > assert(err == JVMTI_ERROR_NONE); > capas.can_redefine_classes = 1; > #ifdef JNI_VERSION_1_6 > capas.can_retransform_classes = 1; > #endif > capas.can_generate_garbage_collection_events = 1; > capas.can_generate_native_method_bind_events = 1; > capas.can_generate_monitor_events = 1; > capas.can_get_current_thread_cpu_time = 1; > capas.can_generate_vm_object_alloc_events = 1; > err = (*_jvmti)->AddCapabilities(_jvmti, &capas); > if (err != JVMTI_ERROR_NONE) { > fprintf(stderr, "Profiler Agent Error: Failed to obtain JVMTI capabilities, error code: %d\n", err); > } > > /* Zero out the callbacks data structure for future use*/ > _jvmti_callbacks = &_jvmti_callbacks_static; > memset(_jvmti_callbacks, 0, sizeof(jvmtiEventCallbacks)); > > /* Enable class load hook event, that captures class file bytes for classes loaded by non-system loaders */ > _jvmti_callbacks->ClassFileLoadHook = class_file_load_hook; > _jvmti_callbacks->NativeMethodBind = native_method_bind_hook; > _jvmti_callbacks->MonitorContendedEnter = monitor_contended_enter_hook; > _jvmti_callbacks->MonitorContendedEntered = monitor_contended_entered_hook; > _jvmti_callbacks->VMObjectAlloc = vm_object_alloc; > res = (*_jvmti)->SetEventCallbacks(_jvmti, _jvmti_callbacks, sizeof(*_jvmti_callbacks)); > assert (res == JVMTI_ERROR_NONE); > > res = (*_jvmti)->SetEventNotificationMode(_jvmti, JVMTI_ENABLE, JVMTI_EVENT_CLASS_FILE_LOAD_HOOK, NULL); > assert(res == JVMTI_ERROR_NONE); > > res = (*_jvmti)->SetEventNotificationMode(_jvmti, JVMTI_ENABLE, JVMTI_EVENT_NATIVE_METHOD_BIND, NULL); > > /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! line 122 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/ > assert(res == JVMTI_ERROR_NONE); > > res = (*_jvmti)->SetEventNotificationMode(_jvmti, JVMTI_ENABLE, JVMTI_EVENT_MONITOR_CONTENDED_ENTER, NULL); > assert(res == JVMTI_ERROR_NONE); > > res = (*_jvmti)->SetEventNotificationMode(_jvmti, JVMTI_ENABLE, JVMTI_EVENT_MONITOR_CONTENDED_ENTERED, NULL); > assert(res == JVMTI_ERROR_NONE); > } > ============================================================================= > > Does it makes sense for anybody? Is it possible to fix this somehow? > > Thank you in advance! > > -- > Eugene N Dzhurinsky -- 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 Sat May 17 12:10:06 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDCC91065734 for ; Sat, 17 May 2008 12:10:06 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from redwerk.com (redwerk.com [89.105.196.9]) by mx1.freebsd.org (Postfix) with ESMTP id 585C98FC14 for ; Sat, 17 May 2008 12:10:06 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from 174-193-124-91.pool.ukrtel.net ([91.124.193.174] helo=jdevelop.priv) by redwerk.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1JxKyQ-0006mR-Qk for freebsd-java@freebsd.org; Sat, 17 May 2008 13:53:23 +0200 Received: from bofh by jdevelop.priv with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JxKyL-0000QU-8M for freebsd-java@freebsd.org; Sat, 17 May 2008 14:53:09 +0300 Date: Sat, 17 May 2008 14:53:09 +0300 From: Eugeny N Dzhurinsky To: freebsd-java@freebsd.org Message-ID: <20080517115309.GA1495@jdevelop.priv> Mail-Followup-To: freebsd-java@freebsd.org References: <20080516121927.GA13485@office.redwerk.com> <20080516234056.GB43930@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: <20080516234056.GB43930@misty.eyesbeyond.com> User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: NetBeans 6.1 Profiler, Sun JDK 1.5/1.6 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2008 12:10:06 -0000 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 16, 2008 at 04:40:56PM -0700, Greg Lewis wrote: > On Fri, May 16, 2008 at 03:19:27PM +0300, Eugeny N Dzhurinsky wrote: > > Hello everytbody! > >=20 > > I recently installed NetBeans 6.1 from ports and noticed there is no > > libprofilerinterface.so library for FreeBSD, and NetBeans complains the= profiling=20 > > wouldn't work. I've downloaded the sources of NetBeans and was able to = build the=20 > > libprofilerinterface.so from sources, once I placed it into the appropr= iate directory=20 > > NetBeans expects it to appear in - NetBeans stops reporting the error, = however profiling=20 > > still doesn't work for some another reason - it just hands on the "cali= bration" stage. > >=20 > > I had built the module with -ggdb option, and found there is java.core = file and=20 > > GDB shows this stack trace: > >=20 > >=20 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > > (gdb) bt > > #0 0x2817f9fb in kill () from /lib/libc.so.6 > > #1 0x280a3236 in raise () from /lib/libpthread.so.2 > > #2 0x2817e6a8 in abort () from /lib/libc.so.6 > > #3 0x2815a898 in __assert () from /lib/libc.so.6 > > #4 0x28808fda in initializeJVMTI (jvm=3D0x287b6ae0) at > > ../src-jdk15/common_functions.c:122 >=20 > So, in the code you included below, which is line 122? Please see below (actually it was included in the original e-mail, however probably I highlighted it badly). > > assert(res =3D=3D JVMTI_ERROR_NONE); > >=20 > > res =3D (*_jvmti)->SetEventNotificationMode(_jvmti, JVMTI_ENABLE, J= VMTI_EVENT_NATIVE_METHOD_BIND, NULL); > > =20 > > /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! line 122 !!!!!!!!!!!!!!!!= !!!!!!!!!!!!!!!!!!!!!!*/ > > assert(res =3D=3D JVMTI_ERROR_NONE); > >=20 > > res =3D (*_jvmti)->SetEventNotificationMode(_jvmti, JVMTI_ENABLE, J= VMTI_EVENT_MONITOR_CONTENDED_ENTER, NULL); > > assert(res =3D=3D JVMTI_ERROR_NONE); --=20 Eugene N Dzhurinsky --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkguxyQACgkQy/i/DoZLbHwL3gCeJI/FQb4mSpBnorH7fqzZwYm6 KP0An2A+/PZV21Xhhabo5dkvn8hVlgSR =bSfq -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--