From owner-freebsd-java@FreeBSD.ORG Sun Jul 26 20:59:10 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61792106566C for ; Sun, 26 Jul 2009 20:59:10 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from www.kjkoster.org (kjkoster.org [80.101.182.197]) by mx1.freebsd.org (Postfix) with ESMTP id D141A8FC13 for ; Sun, 26 Jul 2009 20:59:09 +0000 (UTC) (envelope-from kjkoster@kjkoster.org) Received: from [192.168.0.1] (mac [192.168.0.1]) by www.kjkoster.org (8.14.3/8.14.3) with ESMTP id n6QKXVet084530; Sun, 26 Jul 2009 22:33:31 +0200 (CEST) (envelope-from kjkoster@kjkoster.org) Message-Id: <59919E6C-388C-40B8-9262-834C7C3CD4A8@kjkoster.org> From: Kees Jan Koster To: Hegazy In-Reply-To: <24526419.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Sun, 26 Jul 2009 22:29:26 +0200 References: <24526351.post@talk.nabble.com> <24526419.post@talk.nabble.com> X-Mailer: Apple Mail (2.935.3) Cc: freebsd-java@freebsd.org Subject: Re: java native code error X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2009 20:59:10 -0000 Dear Hegazy >> >> Caused by: java.lang.UnsatisfiedLinkError: registerNatives >> > i forgot to say that i use gcj under freebsd system . gcj is not a complete Java implementation. You'll have to make sure that it hass all that you need to run the app you want to run. I suggest you use a normal JDK instead. -- Kees Jan http://java-monitor.com/ kjkoster@kjkoster.org 06-51838192 The secret of success lies in the stability of the goal. -- Benjamin Disraeli From owner-freebsd-java@FreeBSD.ORG Mon Jul 27 11:06:57 2009 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB2B7106564A for ; Mon, 27 Jul 2009 11:06:57 +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 9DE278FC15 for ; Mon, 27 Jul 2009 11:06:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6RB6vHh019006 for ; Mon, 27 Jul 2009 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6RB6vXB019002 for freebsd-java@FreeBSD.org; Mon, 27 Jul 2009 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Jul 2009 11:06:57 GMT Message-Id: <200907271106.n6RB6vXB019002@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, 27 Jul 2009 11:06:58 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/135002 java don't make in /usr/ports/net-im/openfire o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/125583 java Java gui programs stop without error message o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/121420 java java/jdk16: Java applet fails to find class under fire o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/115773 java [request] java.nio channel selectors should use kqueue o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113467 java Multiple "missing return value" errors building JDK on o java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections f java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext 29 problems total. From owner-freebsd-java@FreeBSD.ORG Wed Jul 29 14:18:34 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C063106566B for ; Wed, 29 Jul 2009 14:18:34 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-fx0-f223.google.com (mail-fx0-f223.google.com [209.85.220.223]) by mx1.freebsd.org (Postfix) with ESMTP id B72C28FC26 for ; Wed, 29 Jul 2009 14:18:33 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: by fxm23 with SMTP id 23so685113fxm.43 for ; Wed, 29 Jul 2009 07:18:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=786Et4ZL7OSWDZqoORd6UFScRwEVooyYwiGDhKX4IQ4=; b=Ola0Ll1Cbo8Q/Cq+TRjVCmpDWAYX1I1bw9BG65pu2vs8py0zLr+nvJycO6QlKIRTIt 9X3mxgiOF29Ao0Ns3ZvR8UbKxvlyllM7ItLm7oadZOLhOHXgc75MyqIHSrXH2Qh9dP3w K9LCU99JFI8y4eshlZQvkP1a9M92hk+Bs9XaU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; b=rC/jLOQFcCEY2/HC6OgAP4Pm5MymtlsVIRbwGusELbp2QqbWJSBXTSXzINpKR426Vw X3AEw6rg5YWx6LlLXp8GW0fnulqbe9uqVJUoTGS1w7FDGLnp504ONuoE2n0pYYurqAbO 4xuh5qhghTKEQS68zoRKZDjQYV+z7JojUTH1E= Received: by 10.103.170.4 with SMTP id x4mr798692muo.116.1248875803973; Wed, 29 Jul 2009 06:56:43 -0700 (PDT) Received: from localhost (95-24-64-233.broadband.corbina.ru [95.24.64.233]) by mx.google.com with ESMTPS id u26sm5415638mug.51.2009.07.29.06.56.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 29 Jul 2009 06:56:43 -0700 (PDT) From: Anonymous To: Chris Reed References: <23b578100907281935l41c92a4cva36f63f038a25207@mail.gmail.com> <86d47k9f4g.fsf@gmail.com> <23b578100907290417g7f70143fwdc35e5601e492721@mail.gmail.com> <86zlan7k9g.fsf@gmail.com> <23b578100907290556i7ee0c17ald67de49d87d9a702@mail.gmail.com> Date: Wed, 29 Jul 2009 17:56:41 +0400 In-Reply-To: <23b578100907290556i7ee0c17ald67de49d87d9a702@mail.gmail.com> (Chris Reed's message of "Wed, 29 Jul 2009 09:56:49 -0300") Message-ID: <863a8f4mp2.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-java@freebsd.org Subject: diablo-jdk15 without X11 libs (Was: (no subject)) 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, 29 Jul 2009 14:18:34 -0000 (don't reply me privately) Chris Reed writes: > 2009/7/29 Anonymous > > x11/libXi is being pulled by java/diablo-jdk15. It says so *explicitly* > > in the port Makefile > > > > =C2=A0 =C2=A0USE_XORG+=3D =C2=A0 =C2=A0 =C2=A0xi > so there is no way to install the jdk without needing the X windows > environment? I ask as this system has no X windows environment installed. > It's pure command line, and if there's a way to keep it that way it'd be = our > preference. I don't use java. Perhaps, you can hack the port to avoid dependency on X11 libraries and hope it doesn't break completely. FWIW, there were similar threads on freebsd-java@ maillist (CC'd). http://docs.freebsd.org/cgi/mid.cgi?44379918.3070404 http://docs.freebsd.org/cgi/mid.cgi?20060504133141.GD94022 From owner-freebsd-java@FreeBSD.ORG Wed Jul 29 20:37:29 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91F38106567F for ; Wed, 29 Jul 2009 20:37:29 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 46E798FC24 for ; Wed, 29 Jul 2009 20:37:28 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id B914919E047; Wed, 29 Jul 2009 22:18:27 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 5810719E046; Wed, 29 Jul 2009 22:18:25 +0200 (CEST) Message-ID: <4A70AE92.1090600@quip.cz> Date: Wed, 29 Jul 2009 22:18:26 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <23b578100907281935l41c92a4cva36f63f038a25207@mail.gmail.com> <86d47k9f4g.fsf@gmail.com> <23b578100907290417g7f70143fwdc35e5601e492721@mail.gmail.com> <86zlan7k9g.fsf@gmail.com> <23b578100907290556i7ee0c17ald67de49d87d9a702@mail.gmail.com> <863a8f4mp2.fsf_-_@gmail.com> In-Reply-To: <863a8f4mp2.fsf_-_@gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Chris Reed Subject: Re: diablo-jdk15 without X11 libs (Was: (no subject)) 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, 29 Jul 2009 20:37:30 -0000 Anonymous wrote: > (don't reply me privately) > > Chris Reed writes: > > >>2009/7/29 Anonymous >> >>>x11/libXi is being pulled by java/diablo-jdk15. It says so *explicitly* >>>in the port Makefile >>> >>> USE_XORG+= xi > > >>so there is no way to install the jdk without needing the X windows >>environment? I ask as this system has no X windows environment installed. >>It's pure command line, and if there's a way to keep it that way it'd be our >>preference. > > > I don't use java. Perhaps, you can hack the port to avoid dependency on > X11 libraries and hope it doesn't break completely. > > FWIW, there were similar threads on freebsd-java@ maillist (CC'd). > > http://docs.freebsd.org/cgi/mid.cgi?44379918.3070404 > http://docs.freebsd.org/cgi/mid.cgi?20060504133141.GD94022 I have same "problem" for a long time. I am using java on one client's web server just for textproc/fop (without X11). The older version of java was jdk + javavmwrapper only. Our current version (diablo-jdk-1.5.0.07.01_9) needs xtrans, xproto, xextproto: root@roxy ~/# pkg_info -rR diablo-jdk-1.5.0.07.01_9 Information for diablo-jdk-1.5.0.07.01_9: Depends on: Dependency: xtrans-1.0.4 Dependency: xproto-7.0.10_1 Dependency: xextproto-7.0.2 Dependency: javavmwrapper-2.3.2 Required by: fop-0.94 But if I try to update to newer jdk, there is a long list of "unwanted" dependencies: root@roxy ~/# portmaster --show-work diablo-jdk-1.5.0.07.01_9 | grep "NOT INSTALLED" ===>>> NOT INSTALLED devel/libcheck ===>>> NOT INSTALLED devel/libpthread-stubs ===>>> NOT INSTALLED devel/xorg-macros ===>>> NOT INSTALLED x11-fonts/xf86bigfontproto ===>>> NOT INSTALLED x11-toolkits/libXt ===>>> NOT INSTALLED x11/bigreqsproto ===>>> NOT INSTALLED x11/inputproto ===>>> NOT INSTALLED x11/libICE ===>>> NOT INSTALLED x11/libSM ===>>> NOT INSTALLED x11/libX11 ===>>> NOT INSTALLED x11/libXau ===>>> NOT INSTALLED x11/libXdmcp ===>>> NOT INSTALLED x11/libXext ===>>> NOT INSTALLED x11/libXi ===>>> NOT INSTALLED x11/libXp ===>>> NOT INSTALLED x11/libXtst ===>>> NOT INSTALLED x11/libxcb ===>>> NOT INSTALLED x11/printproto ===>>> NOT INSTALLED x11/recordproto ===>>> NOT INSTALLED x11/xcb-proto ===>>> NOT INSTALLED x11/xcmiscproto So what was changed, that newer version needs a lot more X11 dependencies than older versions? Are there any way to have newer jdk with an old number of dependencies? Miroslav Lachman