From owner-freebsd-java@FreeBSD.ORG Sun Sep 14 01:17:48 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 D3E24106564A for ; Sun, 14 Sep 2008 01:17:48 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id AC4AC8FC08 for ; Sun, 14 Sep 2008 01:17:48 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kefw1-00020y-QQ for freebsd-java@freebsd.org; Sat, 13 Sep 2008 17:57:53 -0700 Message-ID: <19476338.post@talk.nabble.com> Date: Sat, 13 Sep 2008 17:57:53 -0700 (PDT) From: cuongvt1 To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: winxp4@vuhanhnhu.com Subject: develop JSP and servlet with eclipse in Freebsd 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, 14 Sep 2008 01:17:48 -0000 I have freebsd 7.0 with native jdk16 installed. Then I installed eclipse 3.3.2 from port java/eclipse. But when opened eclispe, I looked around it's GUi but found no option "create Dynamic web project". What I'm missing here to install? Thanks and regards -- View this message in context: http://www.nabble.com/develop-JSP-and-servlet-with-eclipse-in-Freebsd-tp19476338p19476338.html Sent from the freebsd-java mailing list archive at Nabble.com. From owner-freebsd-java@FreeBSD.ORG Sun Sep 14 09:45:36 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E283106566B for ; Sun, 14 Sep 2008 09:45:36 +0000 (UTC) (envelope-from info@area-school.com) Received: from gwa5.webcontrolcenter.com (gwa5.webcontrolcenter.com [63.134.207.24]) by mx1.freebsd.org (Postfix) with ESMTP id 7A07E8FC12 for ; Sun, 14 Sep 2008 09:45:36 +0000 (UTC) (envelope-from info@area-school.com) Received: from maila63.webcontrolcenter.com (unverified [216.119.106.88]) by gwa5.webcontrolcenter.com (SurgeMail 3.9c) with ESMTP id 84431928-1777419 for ; Sun, 14 Sep 2008 02:15:41 -0700 Received: from webc57.webcontrolcenter.com [216.119.125.186] by maila63.webcontrolcenter.com with SMTP; Sun, 14 Sep 2008 02:15:10 -0700 Message-ID: <20217571.1221383710254.JavaMail.SYSTEM@WEBC57> Date: Sun, 14 Sep 2008 02:15:10 -0700 (GMT-07:00) From: info@area-school.com To: java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailer: ColdFusion MX Application Server X-Originating-IP: 216.119.106.88 Cc: Subject: Web page referred from American Real Estate Academy 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, 14 Sep 2008 09:45:36 -0000 =20 Hello Friend: The following Web page from the American Real Estate Academy's Web site -= =20 http://www.area-school.com - has been referred to you by=20 Teresa Evans (tereevans@gmail.com): And they pass along the following message: Hi Friend, "Discover How You Can Instantly=20 Create Your very Own Branded=20 And Insanely Viral Ebooks that=20 You Can Sell Fro 100% Profit Or Give away to explode your list!" Starting today -- right now --=20 you could have your very own=20 viral ebooks spreading=20 like wildfire all over the Internet, making you sales and building your list even while=20 you are asleep... and it's FREE=20 Visit:=20 http://starturl.com/vsprl http://starturl.com/vsprl Teresa Evans Opportunity-Seeker P.S. I would suggest you head over there right now so you don=EF=BF=BDt miss out because these available spots are going fast. -------------------------------------- You are receiving this message because=20 you have either signed up to receive=20 information from us or a third-party. To be cleared from our records, reply=20 to this e-mail. Subject Line "UNSUBSCRIBE"=20 mailto:jjplar@gmail.com -------------------------------------- Enjoy! ----------------------------------------------------------------- American Real Estate Academy The Center for Real Estate Education http://www.area-school.com ----------------------------------------------------------------- From owner-freebsd-java@FreeBSD.ORG Sun Sep 14 11:50:50 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 6F1D01065670 for ; Sun, 14 Sep 2008 11:50:50 +0000 (UTC) (envelope-from numardbsd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id 4849D8FC21 for ; Sun, 14 Sep 2008 11:50:50 +0000 (UTC) (envelope-from numardbsd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2158236rvf.43 for ; Sun, 14 Sep 2008 04:50:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:face:mime-version :content-type:content-transfer-encoding; bh=5yfZEbqfHFgU81pQlbOEP/SQWNYRaQPy/cdNke8TojY=; b=JPaEiwJikQrIfmQamsIeD22pfU1YE5k9Rzl0GcHvd/Fasc9C8BKDOzVrdzKL6DneAB tcEJguu+Uln01c5IcE2TmQcVYDLHfoHv8GtK48s+3jKUwJwFeC2dTwxj+AUkbZf6ZbMG ZvGnAvVy8aoB3ccmCT2AglUDQ3jaxMtM5SRDo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :face:mime-version:content-type:content-transfer-encoding; b=TLx8n+GycZGPS7+5aN50rCrYACAw6pkouDBje7rbTuB77c4r3TJNHXpeWq6rkb9uHW I711Z5KkNCGqY4GYVxzzgtSicQv8AmaDHyEvzxzx5SiswvSnogskNjIGOXf2h6qmMSMR Lxy2N3jARjsWkeOS+TusiND3ni+Z52eLHinNE= Received: by 10.141.105.18 with SMTP id h18mr3968481rvm.207.1221391840276; Sun, 14 Sep 2008 04:30:40 -0700 (PDT) Received: from ayiin ( [124.170.218.78]) by mx.google.com with ESMTPS id k2sm20170485rvb.1.2008.09.14.04.30.38 (version=SSLv3 cipher=RC4-MD5); Sun, 14 Sep 2008 04:30:39 -0700 (PDT) Date: Sun, 14 Sep 2008 21:30:35 +1000 From: Norberto Meijome To: freebsd-java@freebsd.org Message-ID: <20080914213035.1fa0c70b@ayiin> In-Reply-To: <19476338.post@talk.nabble.com> References: <19476338.post@talk.nabble.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: develop JSP and servlet with eclipse in Freebsd 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, 14 Sep 2008 11:50:50 -0000 On Sat, 13 Sep 2008 17:57:53 -0700 (PDT) cuongvt1 wrote: > Then I installed eclipse 3.3.2 from port java/eclipse. > But when opened eclispe, I looked around it's GUi but found no option > "create Dynamic web project". > What I'm missing here to install? hi, you need to install the appropriate plugin - I suspect one of the WST J2EE ones would do the trick. If it's not in ports, try using the install/update feature from within eclipse itself. b _________________________ {Beto|Norberto|Numard} Meijome "A problem cannot be solved with the same type of thinking that created it." Albert Einstein I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-java@FreeBSD.ORG Sun Sep 14 14:22:24 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 E9956106566B for ; Sun, 14 Sep 2008 14:22:24 +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 9C9888FC1C for ; Sun, 14 Sep 2008 14:22:24 +0000 (UTC) (envelope-from bofh@redwerk.com) Received: from 76-180-124-91.pool.ukrtel.net ([91.124.180.76] helo=jdevelop.priv) by redwerk.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KesSN-0002WZ-C6 for freebsd-java@freebsd.org; Sun, 14 Sep 2008 16:20:07 +0200 Received: from bofh by jdevelop.priv with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KesDv-000ElG-9C for freebsd-java@freebsd.org; Sun, 14 Sep 2008 17:05:11 +0300 Date: Sun, 14 Sep 2008 17:05:11 +0300 From: Eugeny N Dzhurinsky To: freebsd-java@freebsd.org Message-ID: <20080914140511.GA24068@jdevelop.priv> Mail-Followup-To: freebsd-java@freebsd.org References: <19476338.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <19476338.post@talk.nabble.com> User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: develop JSP and servlet with eclipse in Freebsd 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, 14 Sep 2008 14:22:25 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 13, 2008 at 05:57:53PM -0700, cuongvt1 wrote: >=20 > I have freebsd 7.0 with native jdk16 installed. > Then I installed eclipse 3.3.2 from port java/eclipse. > But when opened eclispe, I looked around it's GUi but found no option > "create Dynamic web project". > What I'm missing here to install? > Thanks and regards You will need to install WTP from within Eclipse as a plugin. --=20 Eugene N Dzhurinsky --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjNGdAACgkQy/i/DoZLbHyk1gCeIsMIOspvZlF/kwU4YNMMGUou jLYAn2pw0DiCNb4WR5FH96Ev1hqrvN6P =pKc2 -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU-- From owner-freebsd-java@FreeBSD.ORG Mon Sep 15 15:18:51 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 3EDA5106566B for ; Mon, 15 Sep 2008 15:18:51 +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 2DCDE8FC15 for ; Mon, 15 Sep 2008 15:18:51 +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 m8FFIplu018937 for ; Mon, 15 Sep 2008 15:18:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8FFIotv018933 for freebsd-java@FreeBSD.org; Mon, 15 Sep 2008 15:18:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 15 Sep 2008 15:18:50 GMT Message-Id: <200809151518.m8FFIotv018933@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, 15 Sep 2008 15:18:51 -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 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/119654 java jdk 1.6: java.awt.SplashScreen#getSplashScreen throws 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 o 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/60083 java java/jdk14 - Unsafe use of getaddrinfo in jvm 1.4.2-p5 s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext 28 problems total. From owner-freebsd-java@FreeBSD.ORG Tue Sep 16 10:23:28 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 4583A106566C for ; Tue, 16 Sep 2008 10:23:28 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [76.96.30.40]) by mx1.freebsd.org (Postfix) with ESMTP id 291368FC1A for ; Tue, 16 Sep 2008 10:23:28 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by QMTA04.emeryville.ca.mail.comcast.net with comcast id FN2Z1a00516AWCUA4N7Udb; Tue, 16 Sep 2008 10:07:28 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA06.emeryville.ca.mail.comcast.net with comcast id FN7T1a0044v8bD78SN7TTB; Tue, 16 Sep 2008 10:07:28 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=QWjvfsr-AzcUwfAoTVUA:9 a=hw_w_xlW_zpooq3taCwA:7 a=lA9HKFgIvNTCFFXzxeXCFryOnwAA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 3C92E17B81A; Tue, 16 Sep 2008 03:07:27 -0700 (PDT) Date: Tue, 16 Sep 2008 03:07:27 -0700 From: Jeremy Chadwick To: Marcel Grandemange Message-ID: <20080916100727.GA60836@icarus.home.lan> References: <015101c9164a$f3f12d30$dbd38790$@za.net> <20080915093815.GA33139@icarus.home.lan> <002b01c91737$2af8ac30$80ea0490$@za.net> <20080915152631.GA39924@icarus.home.lan> <00be01c9176a$182f3910$488dab30$@za.net> <20080916043322.GA54034@icarus.home.lan> <018f01c917e1$0e250f40$2a6f2dc0$@za.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <018f01c917e1$0e250f40$2a6f2dc0$@za.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-java@freebsd.org Subject: Re: Error: Can't find libjava.so 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, 16 Sep 2008 10:23:28 -0000 On Tue, Sep 16, 2008 at 11:46:12AM +0200, Marcel Grandemange wrote: > > > > I do realize this is probably better suited for freebsd-questions , > > > however > > > > haven't received any response and was simply hoping someone would be > > kind > > > > enough. > > > > > > > > I recently obtained a very decent ups, however it is not supported by > > NUT. > > > > > > > > It does however come with winpower software that does run on FreeBSD. > > > > > > > > However it rewuired java. > > > > > > > > So installed from ports > > > > > > > > And was presented with following error: > > > > > > > > Error: can't find libjava.so > > > > > > > > This is on system in folder > > > "/usr/local/Diablo-jre1.6.0/lib/amd64/libjava.so > > > > > > >Can you provide the output of "ldconfig -r" from that box? I have > > > >a feeling the ld.so pathing hints might lack a directory or two. > > > > > > > > > /var/run/ld-elf.so.hints: > > > search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib > > > > >This is the problem as I see it. ld.so, which is used for finding and > > >loading shared libraries, is not configured to look in > > >/usr/local/Diablo-jre1.6.0/lib/amd64 for libraries. > > > > >I'd like to know which port you installed, and how you installed it. > > > > I did a cvsup on ports to update to latest on FreeBSD7.0 release amd64 > > Used port /usr/ports/java/Diablo-jre16 > > Simply did > > Make > > Make install > > Make clean > > >Can you please apply the below patch and tell me if it solves your > >problem? Proper procedure should be: > > ># cd /usr/ports/java/diablo-jre16 > ># patch < /wherever/the/patch/is > ># make clean > ># make > ># make deinstall > ># make install > > This went through successfully. > > >After this is done, use "ldconfig -r" and look at the search path > >shown at the top; hopefully /usr/local/diablo-jre1.6.0/lib/amd64 > >will be there, and libjava.so should be found (hopefully). > > The Results.... > > /var/run/ld-elf.so.hints: > search directories: > /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/diablo-jre1.6.0/lib/ > amd64 > 0:-lc.7 => /lib/libc.so.7 > 1:-lcrypt.4 => /lib/libcrypt.so.4 > 2:-lkvm.4 => /lib/libkvm.so.4 > 3:-lm.5 => /lib/libm.so.5 > 4:-lmd.4 => /lib/libmd.so.4 > 5:-lncurses.7 => /lib/libncurses.so.7 > 6:-lncursesw.7 => /lib/libncursesw.so.7 > 7:-lsbuf.4 => /lib/libsbuf.so.4 > 8:-lutil.7 => /lib/libutil.so.7 > 9:-lalias.6 => /lib/libalias.so.6 > 10:-lbegemot.3 => /lib/libbegemot.so.3 > 11:-lbsnmp.4 => /lib/libbsnmp.so.4 > 12:-lcam.4 => /lib/libcam.so.4 > 13:-ldevstat.6 => /lib/libdevstat.so.6 > 14:-ledit.6 => /lib/libedit.so.6 > 15:-lbsdxml.3 => /lib/libbsdxml.so.3 > 16:-lgeom.4 => /lib/libgeom.so.4 > 17:-lipsec.3 => /lib/libipsec.so.3 > 18:-lipx.4 => /lib/libipx.so.4 > 19:-lkiconv.3 => /lib/libkiconv.so.3 > 20:-lpcap.5 => /lib/libpcap.so.5 > 21:-lthr.3 => /lib/libthr.so.3 > 22:-lufs.4 => /lib/libufs.so.4 > 23:-lz.4 => /lib/libz.so.4 > 24:-lavl.1 => /lib/libavl.so.1 > 25:-lnvpair.1 => /lib/libnvpair.so.1 > 26:-lumem.1 => /lib/libumem.so.1 > 27:-luutil.1 => /lib/libuutil.so.1 > 28:-lzfs.1 => /lib/libzfs.so.1 > 29:-lzpool.1 => /lib/libzpool.so.1 > 30:-lgcc_s.1 => /lib/libgcc_s.so.1 > 31:-lreadline.7 => /lib/libreadline.so.7 > 32:-lssp.0 => /lib/libssp.so.0 > 33:-lcrypto.5 => /lib/libcrypto.so.5 > 34:-lbsm.2 => /usr/lib/libbsm.so.2 > 35:-lcom_err.4 => /usr/lib/libcom_err.so.4 > 36:-lelf.1 => /usr/lib/libelf.so.1 > 37:-lform.4 => /usr/lib/libform.so.4 > 38:-lmenu.4 => /usr/lib/libmenu.so.4 > 39:-lpanel.4 => /usr/lib/libpanel.so.4 > 40:-lformw.4 => /usr/lib/libformw.so.4 > 41:-lmenuw.4 => /usr/lib/libmenuw.so.4 > 42:-lpanelw.4 => /usr/lib/libpanelw.so.4 > 43:-lnetgraph.3 => /usr/lib/libnetgraph.so.3 > 44:-lradius.3 => /usr/lib/libradius.so.3 > 45:-lrpcsvc.4 => /usr/lib/librpcsvc.so.4 > 46:-ltacplus.3 => /usr/lib/libtacplus.so.3 > 47:-lypclnt.3 => /usr/lib/libypclnt.so.3 > 48:-larchive.4 => /usr/lib/libarchive.so.4 > 49:-lbluetooth.3 => /usr/lib/libbluetooth.so.3 > 50:-lbz2.3 => /usr/lib/libbz2.so.3 > 51:-lcalendar.4 => /usr/lib/libcalendar.so.4 > 52:-ldevinfo.4 => /usr/lib/libdevinfo.so.4 > 53:-lfetch.5 => /usr/lib/libfetch.so.5 > 54:-lftpio.7 => /usr/lib/libftpio.so.7 > 55:-lgpib.2 => /usr/lib/libgpib.so.2 > 56:-lgssapi.9 => /usr/lib/libgssapi.so.9 > 57:-lmagic.3 => /usr/lib/libmagic.so.3 > 58:-lmemstat.2 => /usr/lib/libmemstat.so.2 > 59:-lmilter.4 => /usr/lib/libmilter.so.4 > 60:-lmp.6 => /usr/lib/libmp.so.6 > 61:-lncp.3 => /usr/lib/libncp.so.3 > 62:-lngatm.3 => /usr/lib/libngatm.so.3 > 63:-lopie.5 => /usr/lib/libopie.so.5 > 64:-lpam.4 => /usr/lib/libpam.so.4 > 65:-lpmc.4 => /usr/lib/libpmc.so.4 > 66:-lkse.3 => /usr/lib/libkse.so.3 > 67:-lrt.1 => /usr/lib/librt.so.1 > 68:-lsdp.3 => /usr/lib/libsdp.so.3 > 69:-lsmb.3 => /usr/lib/libsmb.so.3 > 70:-lthread_db.3 => /usr/lib/libthread_db.so.3 > 71:-lugidfw.3 => /usr/lib/libugidfw.so.3 > 72:-lusbhid.3 => /usr/lib/libusbhid.so.3 > 73:-lwrap.5 => /usr/lib/libwrap.so.5 > 74:-llwres.30 => /usr/lib/liblwres.so.30 > 75:-ldialog.6 => /usr/lib/libdialog.so.6 > 76:-lgomp.1 => /usr/lib/libgomp.so.1 > 77:-lgnuregex.4 => /usr/lib/libgnuregex.so.4 > 78:-lhistory.7 => /usr/lib/libhistory.so.7 > 79:-lstdc++.6 => /usr/lib/libstdc++.so.6 > 80:-lobjc.3 => /usr/lib/libobjc.so.3 > 81:-lasn1.9 => /usr/lib/libasn1.so.9 > 82:-lgssapi_krb5.9 => /usr/lib/libgssapi_krb5.so.9 > 83:-lhdb.9 => /usr/lib/libhdb.so.9 > 84:-lkadm5clnt.9 => /usr/lib/libkadm5clnt.so.9 > 85:-lkadm5srv.9 => /usr/lib/libkadm5srv.so.9 > 86:-lkafs5.9 => /usr/lib/libkafs5.so.9 > 87:-lkrb5.9 => /usr/lib/libkrb5.so.9 > 88:-lroken.9 => /usr/lib/libroken.so.9 > 89:-lssl.5 => /usr/lib/libssl.so.5 > 90:-lssh.4 => /usr/lib/libssh.so.4 > 91:-lcharset.1 => /usr/local/lib/libcharset.so.1 > 92:-liconv.3 => /usr/local/lib/libiconv.so.3 > 93:-lintl.8 => /usr/local/lib/libintl.so.8 > 94:-lasprintf.0 => /usr/local/lib/libasprintf.so.0 > 95:-lgettextpo.3 => /usr/local/lib/libgettextpo.so.3 > 96:-lusb-0.1.8 => /usr/local/lib/libusb-0.1.so.8 > 97:-lusbpp-0.1.8 => /usr/local/lib/libusbpp-0.1.so.8 > 98:-lupsclient.1 => /usr/local/lib/libupsclient.so.1 > 99:-lXau.6 => /usr/local/lib/libXau.so.6 > 100:-lXau.0 => /usr/local/lib/libXau.so.0 > 101:-lXdmcp.6 => /usr/local/lib/libXdmcp.so.6 > 102:-lX11.6 => /usr/local/lib/libX11.so.6 > 103:-lXext.6 => /usr/local/lib/libXext.so.6 > 104:-lXi.6 => /usr/local/lib/libXi.so.6 > 105:-lXp.6 => /usr/local/lib/libXp.so.6 > 106:-lICE.6 => /usr/local/lib/libICE.so.6 > 107:-lSM.6 => /usr/local/lib/libSM.so.6 > 108:-lXt.6 => /usr/local/lib/libXt.so.6 > 109:-lXtst.6 => /usr/local/lib/libXtst.so.6 > > > >Regarding the problem itself: there are ways to work around this by > > >using the environment variable LD_LIBRARY_PATH. I do not recommend > > >this, though -- properly configuring the ld.so search path when a > > >program (or port) is installed is the proper method. > > > > Could you advise me how to do this? Hope you don't mind! > > >Set the LD_LIBRARY_PATH environment variable to the search paths > >you desire. Colon-delimited, and it overrides the defaults. E.g. > > >export > LD_LIBRARY_PATH="/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/dia > blo-jre1.6.0/lib/amd64" > > >But the below patch, assuming it works (and I got the paths right), > >should not require you to do that. LD_LIBRARY_PATH is somewhat evil, > >and it's not recommended you use it. > > Yup worked flawlessly on that part, but this always helps in the learning > process ;> > > However even after that I was still presented with a...... > > [root@testvmbsd /opt/MonitorSoftware]# ./agent start > Starting Agent: > Error: can't find libjava.so. > > Done > [root@testvmbsd /opt/MonitorSoftware]# I'm making some assumptions about this Java software. I want to assume that libjava.so is shared library that programs are actually linked to (e.g. ldd /some/binary/that/uses/libjava should show libjava.so.X in the list of libraries) during link-time (e.g. gcc -o binary -ljava). It's also possible that libjava.so isn't linked to programs, but instead is loaded directly by some code using dlopen(3) and friends, and tha the "Error" message is coming from those programs and not from ld.so itself. With the above patch, your ldconfig hint paths are right, but libjava.so isn't in the list of libraries it recognised. That indicates the shared library was built in an odd way,, was built on another architecture or version of FreeBSD which semantically is different, or contains some low-level oddity which ld.so is refusing to cooperate with (e.g. Linux binary). What does "file /usr/local/diablo-jre1.6.0/lib/amd64/libjava.so" return? Let's move this discussion to freebsd-java@freebsd.org. I've changed the CC list to point there. Please keep me in the CC list, as freebsd-java is not a list I follow. This also sounds very similar to what you're experiencing: http://lists.freebsd.org/pipermail/freebsd-java/2008-September/007657.html -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-java@FreeBSD.ORG Tue Sep 16 10:40:50 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 1F33A106567A for ; Tue, 16 Sep 2008 10:40:50 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (mail.e-soul.co.za [196.211.117.44]) by mx1.freebsd.org (Postfix) with ESMTP id CB2388FC13 for ; Tue, 16 Sep 2008 10:40:47 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (localhost [127.0.0.1]) by thavinci.za.net (Postfix) with ESMTP id 6ADFA9B492; Tue, 16 Sep 2008 12:25:33 +0200 (SAST) Received: by thavinci.za.net (Postfix, from userid 1002) id 50D8D9B48C; Tue, 16 Sep 2008 12:25:33 +0200 (SAST) Received: from thavinciPC (unknown [192.168.12.110]) by thavinci.za.net (Postfix) with ESMTP id 414429B43A; Tue, 16 Sep 2008 12:25:33 +0200 (SAST) From: "Marcel Grandemange" To: "'Jeremy Chadwick'" References: <015101c9164a$f3f12d30$dbd38790$@za.net> <20080915093815.GA33139@icarus.home.lan> <002b01c91737$2af8ac30$80ea0490$@za.net> <20080915152631.GA39924@icarus.home.lan> <00be01c9176a$182f3910$488dab30$@za.net> <20080916043322.GA54034@icarus.home.lan> <018f01c917e1$0e250f40$2a6f2dc0$@za.net> <20080916100727.GA60836@icarus.home.lan> In-Reply-To: <20080916100727.GA60836@icarus.home.lan> Date: Tue, 16 Sep 2008 12:24:41 +0200 Message-ID: <01a301c917e6$6df6af50$49e40df0$@za.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckX5AuE++4mhlhUTBmPkAZJ3ZD1eQAAfE9Q Content-Language: en-us X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-java@freebsd.org Subject: RE: Error: Can't find libjava.so 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, 16 Sep 2008 10:40:50 -0000 > > > > I do realize this is probably better suited for freebsd-questions , > > > however > > > > haven't received any response and was simply hoping someone would be > > kind > > > > enough. > > > > > > > > I recently obtained a very decent ups, however it is not supported by > > NUT. > > > > > > > > It does however come with winpower software that does run on FreeBSD. > > > > > > > > However it rewuired java. > > > > > > > > So installed from ports > > > > > > > > And was presented with following error: > > > > > > > > Error: can't find libjava.so > > > > > > > > This is on system in folder > > > "/usr/local/Diablo-jre1.6.0/lib/amd64/libjava.so > > > > > > >Can you provide the output of "ldconfig -r" from that box? I have > > > >a feeling the ld.so pathing hints might lack a directory or two. > > > > > > > > > /var/run/ld-elf.so.hints: > > > search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib > > > > >This is the problem as I see it. ld.so, which is used for finding and > > >loading shared libraries, is not configured to look in > > >/usr/local/Diablo-jre1.6.0/lib/amd64 for libraries. > > > > >I'd like to know which port you installed, and how you installed it. > > > > I did a cvsup on ports to update to latest on FreeBSD7.0 release amd64 > > Used port /usr/ports/java/Diablo-jre16 > > Simply did > > Make > > Make install > > Make clean > > >Can you please apply the below patch and tell me if it solves your > >problem? Proper procedure should be: > > ># cd /usr/ports/java/diablo-jre16 > ># patch < /wherever/the/patch/is > ># make clean > ># make > ># make deinstall > ># make install > > This went through successfully. > > >After this is done, use "ldconfig -r" and look at the search path > >shown at the top; hopefully /usr/local/diablo-jre1.6.0/lib/amd64 > >will be there, and libjava.so should be found (hopefully). > > The Results.... > > /var/run/ld-elf.so.hints: > search directories: > /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/diablo-jre1.6.0/lib/ > amd64 > 0:-lc.7 => /lib/libc.so.7 > 1:-lcrypt.4 => /lib/libcrypt.so.4 > 2:-lkvm.4 => /lib/libkvm.so.4 > 3:-lm.5 => /lib/libm.so.5 > 4:-lmd.4 => /lib/libmd.so.4 > 5:-lncurses.7 => /lib/libncurses.so.7 > 6:-lncursesw.7 => /lib/libncursesw.so.7 > 7:-lsbuf.4 => /lib/libsbuf.so.4 > 8:-lutil.7 => /lib/libutil.so.7 > 9:-lalias.6 => /lib/libalias.so.6 > 10:-lbegemot.3 => /lib/libbegemot.so.3 > 11:-lbsnmp.4 => /lib/libbsnmp.so.4 > 12:-lcam.4 => /lib/libcam.so.4 > 13:-ldevstat.6 => /lib/libdevstat.so.6 > 14:-ledit.6 => /lib/libedit.so.6 > 15:-lbsdxml.3 => /lib/libbsdxml.so.3 > 16:-lgeom.4 => /lib/libgeom.so.4 > 17:-lipsec.3 => /lib/libipsec.so.3 > 18:-lipx.4 => /lib/libipx.so.4 > 19:-lkiconv.3 => /lib/libkiconv.so.3 > 20:-lpcap.5 => /lib/libpcap.so.5 > 21:-lthr.3 => /lib/libthr.so.3 > 22:-lufs.4 => /lib/libufs.so.4 > 23:-lz.4 => /lib/libz.so.4 > 24:-lavl.1 => /lib/libavl.so.1 > 25:-lnvpair.1 => /lib/libnvpair.so.1 > 26:-lumem.1 => /lib/libumem.so.1 > 27:-luutil.1 => /lib/libuutil.so.1 > 28:-lzfs.1 => /lib/libzfs.so.1 > 29:-lzpool.1 => /lib/libzpool.so.1 > 30:-lgcc_s.1 => /lib/libgcc_s.so.1 > 31:-lreadline.7 => /lib/libreadline.so.7 > 32:-lssp.0 => /lib/libssp.so.0 > 33:-lcrypto.5 => /lib/libcrypto.so.5 > 34:-lbsm.2 => /usr/lib/libbsm.so.2 > 35:-lcom_err.4 => /usr/lib/libcom_err.so.4 > 36:-lelf.1 => /usr/lib/libelf.so.1 > 37:-lform.4 => /usr/lib/libform.so.4 > 38:-lmenu.4 => /usr/lib/libmenu.so.4 > 39:-lpanel.4 => /usr/lib/libpanel.so.4 > 40:-lformw.4 => /usr/lib/libformw.so.4 > 41:-lmenuw.4 => /usr/lib/libmenuw.so.4 > 42:-lpanelw.4 => /usr/lib/libpanelw.so.4 > 43:-lnetgraph.3 => /usr/lib/libnetgraph.so.3 > 44:-lradius.3 => /usr/lib/libradius.so.3 > 45:-lrpcsvc.4 => /usr/lib/librpcsvc.so.4 > 46:-ltacplus.3 => /usr/lib/libtacplus.so.3 > 47:-lypclnt.3 => /usr/lib/libypclnt.so.3 > 48:-larchive.4 => /usr/lib/libarchive.so.4 > 49:-lbluetooth.3 => /usr/lib/libbluetooth.so.3 > 50:-lbz2.3 => /usr/lib/libbz2.so.3 > 51:-lcalendar.4 => /usr/lib/libcalendar.so.4 > 52:-ldevinfo.4 => /usr/lib/libdevinfo.so.4 > 53:-lfetch.5 => /usr/lib/libfetch.so.5 > 54:-lftpio.7 => /usr/lib/libftpio.so.7 > 55:-lgpib.2 => /usr/lib/libgpib.so.2 > 56:-lgssapi.9 => /usr/lib/libgssapi.so.9 > 57:-lmagic.3 => /usr/lib/libmagic.so.3 > 58:-lmemstat.2 => /usr/lib/libmemstat.so.2 > 59:-lmilter.4 => /usr/lib/libmilter.so.4 > 60:-lmp.6 => /usr/lib/libmp.so.6 > 61:-lncp.3 => /usr/lib/libncp.so.3 > 62:-lngatm.3 => /usr/lib/libngatm.so.3 > 63:-lopie.5 => /usr/lib/libopie.so.5 > 64:-lpam.4 => /usr/lib/libpam.so.4 > 65:-lpmc.4 => /usr/lib/libpmc.so.4 > 66:-lkse.3 => /usr/lib/libkse.so.3 > 67:-lrt.1 => /usr/lib/librt.so.1 > 68:-lsdp.3 => /usr/lib/libsdp.so.3 > 69:-lsmb.3 => /usr/lib/libsmb.so.3 > 70:-lthread_db.3 => /usr/lib/libthread_db.so.3 > 71:-lugidfw.3 => /usr/lib/libugidfw.so.3 > 72:-lusbhid.3 => /usr/lib/libusbhid.so.3 > 73:-lwrap.5 => /usr/lib/libwrap.so.5 > 74:-llwres.30 => /usr/lib/liblwres.so.30 > 75:-ldialog.6 => /usr/lib/libdialog.so.6 > 76:-lgomp.1 => /usr/lib/libgomp.so.1 > 77:-lgnuregex.4 => /usr/lib/libgnuregex.so.4 > 78:-lhistory.7 => /usr/lib/libhistory.so.7 > 79:-lstdc++.6 => /usr/lib/libstdc++.so.6 > 80:-lobjc.3 => /usr/lib/libobjc.so.3 > 81:-lasn1.9 => /usr/lib/libasn1.so.9 > 82:-lgssapi_krb5.9 => /usr/lib/libgssapi_krb5.so.9 > 83:-lhdb.9 => /usr/lib/libhdb.so.9 > 84:-lkadm5clnt.9 => /usr/lib/libkadm5clnt.so.9 > 85:-lkadm5srv.9 => /usr/lib/libkadm5srv.so.9 > 86:-lkafs5.9 => /usr/lib/libkafs5.so.9 > 87:-lkrb5.9 => /usr/lib/libkrb5.so.9 > 88:-lroken.9 => /usr/lib/libroken.so.9 > 89:-lssl.5 => /usr/lib/libssl.so.5 > 90:-lssh.4 => /usr/lib/libssh.so.4 > 91:-lcharset.1 => /usr/local/lib/libcharset.so.1 > 92:-liconv.3 => /usr/local/lib/libiconv.so.3 > 93:-lintl.8 => /usr/local/lib/libintl.so.8 > 94:-lasprintf.0 => /usr/local/lib/libasprintf.so.0 > 95:-lgettextpo.3 => /usr/local/lib/libgettextpo.so.3 > 96:-lusb-0.1.8 => /usr/local/lib/libusb-0.1.so.8 > 97:-lusbpp-0.1.8 => /usr/local/lib/libusbpp-0.1.so.8 > 98:-lupsclient.1 => /usr/local/lib/libupsclient.so.1 > 99:-lXau.6 => /usr/local/lib/libXau.so.6 > 100:-lXau.0 => /usr/local/lib/libXau.so.0 > 101:-lXdmcp.6 => /usr/local/lib/libXdmcp.so.6 > 102:-lX11.6 => /usr/local/lib/libX11.so.6 > 103:-lXext.6 => /usr/local/lib/libXext.so.6 > 104:-lXi.6 => /usr/local/lib/libXi.so.6 > 105:-lXp.6 => /usr/local/lib/libXp.so.6 > 106:-lICE.6 => /usr/local/lib/libICE.so.6 > 107:-lSM.6 => /usr/local/lib/libSM.so.6 > 108:-lXt.6 => /usr/local/lib/libXt.so.6 > 109:-lXtst.6 => /usr/local/lib/libXtst.so.6 > > > >Regarding the problem itself: there are ways to work around this by > > >using the environment variable LD_LIBRARY_PATH. I do not recommend > > >this, though -- properly configuring the ld.so search path when a > > >program (or port) is installed is the proper method. > > > > Could you advise me how to do this? Hope you don't mind! > > >Set the LD_LIBRARY_PATH environment variable to the search paths > >you desire. Colon-delimited, and it overrides the defaults. E.g. > > >export > LD_LIBRARY_PATH="/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/dia > blo-jre1.6.0/lib/amd64" > > >But the below patch, assuming it works (and I got the paths right), > >should not require you to do that. LD_LIBRARY_PATH is somewhat evil, > >and it's not recommended you use it. > > Yup worked flawlessly on that part, but this always helps in the learning > process ;> > > However even after that I was still presented with a...... > > [root@testvmbsd /opt/MonitorSoftware]# ./agent start > Starting Agent: > Error: can't find libjava.so. > > Done > [root@testvmbsd /opt/MonitorSoftware]# >I'm making some assumptions about this Java software. I want to assume >that libjava.so is shared library that programs are actually linked to >(e.g. ldd /some/binary/that/uses/libjava should show libjava.so.X in >the list of libraries) during link-time (e.g. gcc -o binary -ljava). >It's also possible that libjava.so isn't linked to programs, but instead >is loaded directly by some code using dlopen(3) and friends, and tha >the "Error" message is coming from those programs and not from ld.so >itself. >With the above patch, your ldconfig hint paths are right, but libjava.so >isn't in the list of libraries it recognised. That indicates the >shared library was built in an odd way,, was built on another >architecture or version of FreeBSD which semantically is different, or >contains some low-level oddity which ld.so is refusing to cooperate with >(e.g. Linux binary). >What does "file /usr/local/diablo-jre1.6.0/lib/amd64/libjava.so" return? [root@testvmbsd /opt/MonitorSoftware]# file /usr/local/diablo-jre1.6.0/lib/amd64/libjava.so /usr/local/diablo-jre1.6.0/lib/amd64/libjava.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), not stripped I did same with original file that came packages with application, [root@testvmbsd /opt/MonitorSoftware]# file /usr/home/thavinci/Winpower_setup_FreeBSD/FreeBSD/resource/jre/lib/i386/libj ava.so /usr/home/thavinci/Winpower_setup_FreeBSD/FreeBSD/resource/jre/lib/i386/libj ava.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped >Let's move this discussion to freebsd-java@freebsd.org. I've changed >the CC list to point there. Please keep me in the CC list, as >freebsd-java is not a list I follow. Sure will do! Thanks >This also sounds very similar to what you're experiencing: >http://lists.freebsd.org/pipermail/freebsd-java/2008-September/007657.html Will read through in few seconds.... , Thanks -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | __________ NOD32 3444 (20080916) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com From owner-freebsd-java@FreeBSD.ORG Tue Sep 16 10:53:56 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 14C5F1065677 for ; Tue, 16 Sep 2008 10:53:56 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id B43E08FC20 for ; Tue, 16 Sep 2008 10:53:55 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA09.westchester.pa.mail.comcast.net ([76.96.62.20]) by QMTA01.westchester.pa.mail.comcast.net with comcast id FNDl1a00C0SCNGk51NduDb; Tue, 16 Sep 2008 10:37:54 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA09.westchester.pa.mail.comcast.net with comcast id FNdt1a00A4v8bD73VNdu85; Tue, 16 Sep 2008 10:37:54 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=2dMVBAMFMbqBUSwIZ2UA:9 a=0_PohN2k8HRWot-ozZMA:7 a=dTc9trScMIS-DuQ0TsssA2Ep1ugA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 6314E17B81A; Tue, 16 Sep 2008 03:37:53 -0700 (PDT) Date: Tue, 16 Sep 2008 03:37:53 -0700 From: Jeremy Chadwick To: Marcel Grandemange Message-ID: <20080916103753.GA62307@icarus.home.lan> References: <015101c9164a$f3f12d30$dbd38790$@za.net> <20080915093815.GA33139@icarus.home.lan> <002b01c91737$2af8ac30$80ea0490$@za.net> <20080915152631.GA39924@icarus.home.lan> <00be01c9176a$182f3910$488dab30$@za.net> <20080916043322.GA54034@icarus.home.lan> <018f01c917e1$0e250f40$2a6f2dc0$@za.net> <20080916100727.GA60836@icarus.home.lan> <01a301c917e6$6df6af50$49e40df0$@za.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01a301c917e6$6df6af50$49e40df0$@za.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-java@freebsd.org Subject: Re: Error: Can't find libjava.so 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, 16 Sep 2008 10:53:56 -0000 On Tue, Sep 16, 2008 at 12:24:41PM +0200, Marcel Grandemange wrote: > >What does "file /usr/local/diablo-jre1.6.0/lib/amd64/libjava.so" return? > > [root@testvmbsd /opt/MonitorSoftware]# file > /usr/local/diablo-jre1.6.0/lib/amd64/libjava.so > /usr/local/diablo-jre1.6.0/lib/amd64/libjava.so: ELF 64-bit LSB shared > object, x86-64, version 1 (FreeBSD), not stripped > > I did same with original file that came packages with application, > > [root@testvmbsd /opt/MonitorSoftware]# file > /usr/home/thavinci/Winpower_setup_FreeBSD/FreeBSD/resource/jre/lib/i386/libj > ava.so > /usr/home/thavinci/Winpower_setup_FreeBSD/FreeBSD/resource/jre/lib/i386/libj > ava.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), > dynamically linked, not stripped Okay, the part that's confusing me here is something that was partially covered by Dan Nelson earlier in this thread. I can tell you're running 64-bit FreeBSD (amd64). The "Winpower" (whatever that is) program is 32-bit. The diablo-jre1.6.0 port, when you installed it, is using a 64-bit libjava.so. You're trying to use a 32-bit Java program (Winpower) using 64-bit Java sources (Diablo). Dan's comments indicate this won't work. Note that there is a compatibility layer available called lib32, allowing 32-bit programs which use 32-bit libraries to use /usr/lib32, on a 64-bit machine. lib32 is part of the FreeBSD base system and is built with world. You're going to need a 64-bit version of Winpower, or you're going to need a 32-bit version of Diablo. I'm not sure how you can get the latter; there may be a way in the ports tree to force a 32-bit build on a 64-bit machine. You could also reinstall FreeBSD i386 (not amd64), which should ensure everything on your machine is 32-bit. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-java@FreeBSD.ORG Wed Sep 17 09:49:30 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 0A274106566C for ; Wed, 17 Sep 2008 09:49:30 +0000 (UTC) (envelope-from natalija.jonjic@fina.hr) Received: from mail.fina.hr (imss1.fina.hr [194.152.242.135]) by mx1.freebsd.org (Postfix) with ESMTP id 6B3338FC0A for ; Wed, 17 Sep 2008 09:49:29 +0000 (UTC) (envelope-from natalija.jonjic@fina.hr) X-IronPort-AV: E=Sophos;i="4.32,414,1217800800"; d="scan'208,217";a="164965" Received: from unknown (HELO internet.fina.hr) ([10.1.193.248]) by mail.fina.hr with ESMTP; 17 Sep 2008 11:19:34 +0200 Received: from njonjic1 (unknown [10.1.22.138]) by internet.fina.hr (Postfix) with ESMTP id 9D32320F832 for ; Wed, 17 Sep 2008 11:19:34 +0200 (CEST) From: =?iso-8859-2?Q?Natalija_Jonji=E6?= To: Date: Wed, 17 Sep 2008 11:19:34 +0200 Message-ID: <000401c918a6$7ff10730$8a16010a@intranet.fina.hr> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AckYpn+gcEm23fSrQdavhgwvvtizvg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: help 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, 17 Sep 2008 09:49:30 -0000 I got this masage when starting java applet please help. java.security.AccessControlException: access denied (java.io.FilePermission c:\java_temp read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkRead(Unknown Source) at java.io.File.list(Unknown Source) at java.io.File.listFiles(Unknown Source) at com.zap.query.structure.ApplMaster.destroy(ApplMaster.java:220) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) basic: Exception: java.security.AccessControlException: access denied (java.io.FilePermission c:\java_temp read) From owner-freebsd-java@FreeBSD.ORG Wed Sep 17 09:56:33 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 A44251065672 for ; Wed, 17 Sep 2008 09:56:33 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mx1.freebsd.org (Postfix) with ESMTP id 083E68FC0A for ; Wed, 17 Sep 2008 09:56:32 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id m8H9uRWE040548; Wed, 17 Sep 2008 12:56:27 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id m8H9uRJH040547; Wed, 17 Sep 2008 12:56:27 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: freebsd-java@freebsd.org Date: Wed, 17 Sep 2008 12:56:26 +0300 User-Agent: KMail/1.9.7 References: <000401c918a6$7ff10730$8a16010a@intranet.fina.hr> In-Reply-To: <000401c918a6$7ff10730$8a16010a@intranet.fina.hr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200809171256.26869.achill@matrix.gatewaynet.com> Cc: Natalija =?utf-8?q?Jonji=C4=87?= Subject: Re: help 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, 17 Sep 2008 09:56:33 -0000 Dobar Dan Natalija, ove je FreeBSD java grupa, a ne vindos. P.S. Besides running your applet on windows, it seems that you try to access a local file. You cant do that from inside the applet sandbox. Also look at signing your applet, in order to tell the browser that you trust it. =CE=A3=CF=84=CE=B9=CF=82 Wednesday 17 September 2008 12:19:34 =CE=BF/=CE=B7= Natalija Jonji=C4=87 =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > I got this masage when starting java applet please help. >=20 > java.security.AccessControlException: access denied (java.io.FilePermissi= on > c:\java_temp read) >=20 > at java.security.AccessControlContext.checkPermission(Unknown > Source) >=20 > at java.security.AccessController.checkPermission(Unknown > Source) >=20 > at java.lang.SecurityManager.checkPermission(Unknown Source) >=20 > at java.lang.SecurityManager.checkRead(Unknown Source) >=20 > at java.io.File.list(Unknown Source) >=20 > at java.io.File.listFiles(Unknown Source) >=20 > at > com.zap.query.structure.ApplMaster.destroy(ApplMaster.java:220) >=20 > at sun.applet.AppletPanel.run(Unknown Source) >=20 > at java.lang.Thread.run(Unknown Source) >=20 > basic: Exception: java.security.AccessControlException: access denied > (java.io.FilePermission c:\java_temp read) >=20 > =20 >=20 > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >=20 =2D-=20 Achilleas Mantzios