From benno at NLnetLabs.nl Mon Sep 1 10:17:52 2008 From: benno at NLnetLabs.nl (Benno Overeinder) Date: Mon Sep 1 10:17:59 2008 Subject: FreeBSD Java, IPv6, and DNS SRV query type In-Reply-To: <48B6AC4C.1050006@system.pl> References: <48B29CB7.9010907@cs.vu.nl> <48B6AC4C.1050006@system.pl> Message-ID: <48BBC14A.5000107@NLnetLabs.nl> Hi, Thanks for your reply. Marcin Cieslak wrote: > Benno Overeinder wrote: >> >> >> All set and go, and IPv6 worked with our Java programs, including the >> Openfire server. >> >> However, DNS SRV _xmpp-server._tcp.domain.name resolution fails with the >> ports java/jdk16 build. (Consequently, only Jabber servers that are >> running on hosts known by their DNS domain name are found.) For >> example, contacts with a Google Talk account are not found. > > I don't know what's wrong with your code (it gives me the same results) > but I tried a small jython program: Just for clarification, you also compiled and installed jdk16 (ports package java/jdk16)? And the test program also fails to resolve the DNS SRV request _xmpp-server._tcp.google.com? The test program is more or less the isolated code from the Openfire XMPP server. Hmmm, I wonder why there are not more messages mentioning this problem with Java on FreeBSD. > import java > from javax.naming import Context > from javax.naming.directory import InitialDirContext > > env = java.util.Hashtable() > env.put(Context.INITIAL_CONTEXT_FACTORY, > "com.sun.jndi.dns.DnsContextFactory") > ictx = InitialDirContext(env) > print ictx.getAttributes("_xmpp-server._tcp.google.com", ["SRV"]) > > the result: > > {srv=SRV: 20 0 5269 xmpp-server3.l.google.com., 20 0 5269 > xmpp-server4.l.google.com., 5 0 5269 xmpp-server.l.google.com., 20 0 > 5269 xmpp-server1.l.google.com., 20 0 5269 xmpp-server2.l.google.com.} > > The funny part begins when I enter IPv6 DNS server address > (I run one on my LAN) in /etc/resolv.conf (say, "2001:DB8::1"). But this > is a known bug: > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5042453 Thanks. But the Java code does run successfully on Linux or Solaris with IPv6 enabled. Cheers, -- Benno -- Benno J. Overeinder NLnet Labs http://www.nlnetlabs.nl/ From bugmaster at FreeBSD.org Mon Sep 1 11:06:58 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 1 11:08:15 2008 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org Message-ID: <200809011106.m81B6vTH068481@freefall.freebsd.org> 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 o java/125583 java Java gui programs stop without error message 15 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 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 java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/125828 java upgrade java/java3d to 1.5.2 14 problems total. From jonc at chen.org.nz Mon Sep 1 19:03:59 2008 From: jonc at chen.org.nz (Jonathan Chen) Date: Mon Sep 1 19:04:06 2008 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org In-Reply-To: <200809011106.m81B6vTH068481@freefall.freebsd.org> References: <200809011106.m81B6vTH068481@freefall.freebsd.org> Message-ID: <20080901190357.GA78771@osiris.chen.org.nz> On Mon, Sep 01, 2008 at 11:06:57AM +0000, FreeBSD bugmaster wrote: [...] > o ports/125828 java upgrade java/java3d to 1.5.2 Would any committers on the list mind reviewing and committing this port? Thanks! -- Jonathan Chen ---------------------------------------------------------------------- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. From fjoe at samodelkin.net Tue Sep 2 05:21:42 2008 From: fjoe at samodelkin.net (Max Khon) Date: Tue Sep 2 05:21:50 2008 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org In-Reply-To: <20080901190357.GA78771@osiris.chen.org.nz> References: <200809011106.m81B6vTH068481@freefall.freebsd.org> <20080901190357.GA78771@osiris.chen.org.nz> Message-ID: <48BCC718.5020103@samodelkin.net> Jonathan Chen wrote: > On Mon, Sep 01, 2008 at 11:06:57AM +0000, FreeBSD bugmaster wrote: > [...] >> o ports/125828 java upgrade java/java3d to 1.5.2 > > Would any committers on the list mind reviewing and committing this port? It does not build for me: cd /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core && /usr/local/bin/ant -Dbuild.type=fcs -DisFreeBSD=yes jar-opt Buildfile: build.xml init: [echo] buildtime = 02 ??? 2008 11:52:28 NOVST [mkdir] Created dir: /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build initBuildType: setupBuildPatch: setupBuildFcs: setupBuildBeta: setupBuildStable: setupBuildDaily: checkBuildType: setupBuildType: [echo] build.type = fcs setupFreeBSD: setupSolaris: setupSolarisX86: setupLinux: setupLinuxAmd64: setupLinuxIA64: setupLinuxPPC: setupWindows: setupWindowsAmd64: setupMacOSX: init-jogl: init-no-jogl: setupJogl: setupPlatform: compile-opt: compile-opt: [mkdir] Created dir: /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/classes [mkdir] Created dir: /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/gen/tools [mkdir] Created dir: /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/gen/classes/javax/media/j3d [copy] Copying 1 file to /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/gen/classes/javax/media/j3d [javac] Compiling 760 source files to /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/classes [javac] [javac] [javac] The system is out of resources. [javac] Consult the following stack trace for details. [javac] java.lang.OutOfMemoryError: Java heap space BUILD FAILED /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build.xml:438: The following error occurred while executing this line: /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/src/classes/build.xml:101: Compile failed; see the compiler error output for details. Total time: 9 seconds *** Error code 1 Stop in /usr/ports/java/java3d. Environment: fjoe@husky:/usr/ports/java/java3d$uname -a FreeBSD husky.fjoe.local 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu Apr 3 01:35:35 NOVST 2008 fjoe@husky.fjoe.local:/usr/obj/amd64/usr/fbsd/RELENG_7/sys/GENERIC amd64 fjoe@husky:/usr/ports/java/java3d$java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) Java HotSpot(TM) 64-Bit Server VM (build diablo-1.5.0_07-b01, mixed mode) /fjoe From jonc at chen.org.nz Tue Sep 2 22:27:39 2008 From: jonc at chen.org.nz (Jonathan Chen) Date: Tue Sep 2 22:27:45 2008 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org In-Reply-To: <48BCC718.5020103@samodelkin.net> References: <200809011106.m81B6vTH068481@freefall.freebsd.org> <20080901190357.GA78771@osiris.chen.org.nz> <48BCC718.5020103@samodelkin.net> Message-ID: <20080902222736.GA61025@osiris.chen.org.nz> On Tue, Sep 02, 2008 at 11:54:48AM +0700, Max Khon wrote: > Jonathan Chen wrote: > >On Mon, Sep 01, 2008 at 11:06:57AM +0000, FreeBSD bugmaster wrote: > >[...] > >>o ports/125828 java upgrade java/java3d to 1.5.2 > > > >Would any committers on the list mind reviewing and committing this port? > > It does not build for me: [...] > compile-opt: > [mkdir] Created dir: > /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/classes > [mkdir] Created dir: > /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/gen/tools > [mkdir] Created dir: > /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/gen/classes/javax/media/j3d > [copy] Copying 1 file to > /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/gen/classes/javax/media/j3d > [javac] Compiling 760 source files to > /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/classes > [javac] > [javac] > [javac] The system is out of resources. > [javac] Consult the following stack trace for details. > [javac] java.lang.OutOfMemoryError: Java heap space Could you please try the attached updated "files/patch-freebsd", and if it works I'll update the PR. Thansk. -- Jonathan Chen ---------------------------------------------------------------------- char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} -------------- next part -------------- diff -ruN ./j3d-core/build.xml ../java3d-1.5.2/j3d-core/build.xml --- ./j3d-core/build.xml 2008-05-24 08:31:19.000000000 +1200 +++ ../java3d-1.5.2/j3d-core/build.xml 2008-07-21 23:00:14.000000000 +1200 @@ -142,6 +142,15 @@ + + + + + + + + + @@ -232,7 +241,7 @@ + depends="init, setupBuildType, setupFreeBSD, setupSolaris, setupSolarisX86, setupLinux, setupLinuxAmd64, setupLinuxIA64, setupLinuxPPC, setupWindows, setupWindowsAmd64, setupMacOSX, setupJogl"> diff -ruN ./j3d-core/src/classes/build.xml ../java3d-1.5.2/j3d-core/src/classes/build.xml --- ./j3d-core/src/classes/build.xml 2008-02-29 09:17:18.000000000 +1300 +++ ../java3d-1.5.2/j3d-core/src/classes/build.xml 2008-07-21 23:02:37.000000000 +1200 @@ -95,6 +95,7 @@ diff -ruN ./j3d-core/src/native/build.xml ../java3d-1.5.2/j3d-core/src/native/build.xml --- ./j3d-core/src/native/build.xml 2008-02-29 09:17:58.000000000 +1300 +++ ../java3d-1.5.2/j3d-core/src/native/build.xml 2008-07-21 23:00:14.000000000 +1200 @@ -3,6 +3,19 @@ + + + + + + + + + + + + + @@ -62,7 +75,7 @@ - + @@ -128,7 +141,7 @@ - + diff -ruN ./j3d-core/src/native/ogl/build-freebsd.xml ../java3d-1.5.2/j3d-core/src/native/ogl/build-freebsd.xml --- ./j3d-core/src/native/ogl/build-freebsd.xml 1970-01-01 12:00:00.000000000 +1200 +++ ../java3d-1.5.2/j3d-core/src/native/ogl/build-freebsd.xml 2008-07-21 23:00:14.000000000 +1200 @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From ssanders at opnet.com Tue Sep 2 22:51:43 2008 From: ssanders at opnet.com (Stephen Sanders) Date: Tue Sep 2 22:51:50 2008 Subject: Possible Bug Message-ID: <48BDC075.2060101@opnet.com> We have an application that fork/execs processes at a low frequency rate ( ~1/minute). The system is under a reasonably heavy processor/network/disk load as it is capturing data at 1Gbps+. At what appear to be random intervals, the parent process in the fork starts consuming 100% CPU. It looks like the monitor thread in UNIXProcess is the culprit. I've not been able to down load the diablo patches from the FreeBSD web site, however, it appears OpenJDK that there may be a window for this sort of thing to happen in UNIXProcess_md.c. In Java_java_lang_UNIXProcess_waitForExit(), waitpid() could very easily fail returning an EINTR as there are no options to the waitpid call.. This will could cause a tight loop. The error section of the man page says that if WNOHANG is NOT set then unblocked signals or SIGCHLD will cause EINTR errors. I'll attempt to get the patches from the eyesbeyond web site and verify this claim. Thanks for your attention. From lists at intricatesoftware.com Wed Sep 3 02:06:17 2008 From: lists at intricatesoftware.com (Kurt Miller) Date: Wed Sep 3 02:06:25 2008 Subject: Possible Bug In-Reply-To: <48BDC075.2060101@opnet.com> References: <48BDC075.2060101@opnet.com> Message-ID: <200809022206.11202.lists@intricatesoftware.com> On Tuesday 02 September 2008 6:38:45 pm Stephen Sanders wrote: > We have an application that fork/execs processes at a low frequency rate > ( ~1/minute). The system is under a reasonably heavy > processor/network/disk load as it is capturing data at 1Gbps+. > > At what appear to be random intervals, the parent process in the fork > starts consuming 100% CPU. It looks like the monitor thread in > UNIXProcess is the culprit. > > I've not been able to down load the diablo patches from the FreeBSD web > site, however, it appears OpenJDK that there may be a window for this > sort of thing to happen in UNIXProcess_md.c. > > In Java_java_lang_UNIXProcess_waitForExit(), waitpid() could very easily > fail returning an EINTR as there are no options to the waitpid call.. > This will could cause a tight loop. The error section of the man page > says that if WNOHANG is NOT set then unblocked signals or SIGCHLD will > cause EINTR errors. > > I'll attempt to get the patches from the eyesbeyond web site and verify > this claim. > > Thanks for your attention. > > You didn't mention which FreeBSD version you are running. If it is 6.3 you need to apply this errata to fix a pthread fork bug that exhibits the symptoms you have described: http://security.freebsd.org/advisories/FreeBSD-EN-08:01.libpthread.asc The need for this errata on 6.3 is described in the RELEASENOTE.txt file that comes with diablo. -Kurt From saper at system.pl Wed Sep 3 02:36:17 2008 From: saper at system.pl (Marcin Cieslak) Date: Wed Sep 3 02:36:24 2008 Subject: FreeBSD Java, IPv6, and DNS SRV query type In-Reply-To: <48BBC14A.5000107@NLnetLabs.nl> References: <48B29CB7.9010907@cs.vu.nl> <48B6AC4C.1050006@system.pl> <48BBC14A.5000107@NLnetLabs.nl> Message-ID: <48BDF809.8050802@system.pl> Benno Overeinder wrote: > Just for clarification, you also compiled and installed jdk16 (ports > package java/jdk16)? And the test program also fails to resolve the DNS > SRV request _xmpp-server._tcp.google.com? The test program is more or > less the isolated code from the Openfire XMPP server. I am sorry - you're right. My jython was hard-coded to use diablo 1.5 and I could get the same result as you using 1.6 compiled from source. There is something wrong how UDP packets are sent to the IPv4-mapped address. I don't understand this fully yet, but I have posted a PR with a sample test case in C: http://www.freebsd.org/cgi/query-pr.cgi?pr=127057 Either: 1) structures in the attached C program are incorrect - so then we have a Java bug (or rather in our Java patches) or: 2) something is really strange in the kernel (I doubt that, but...) I've had a quick look at sys/netinet6/udp6_usrreq.c but it looks fine. --Marcin -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 273 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20080903/cd54aade/signature.pgp From lev at FreeBSD.org Wed Sep 3 12:23:54 2008 From: lev at FreeBSD.org (Lev Serebryakov) Date: Wed Sep 3 12:24:01 2008 Subject: OpenJDK BSD Port project: why FreeBSD Java Fondation is not metioned? Message-ID: <48BE7D9D.9090500@FreeBSD.org> BSD Port of OpenJDK is announced by Sun, by Sun empolyees: http://mail.openjdk.java.net/pipermail/announce/2008-August/000058.html http://openjdk.java.net/projects/bsd-port http://mail.openjdk.java.net/pipermail/porters-dev/2008-August/000191.html But this announces doesn't mention FreeBSD Java port, FreeBSD Java Team and Foundation at all. Is this project coordinated with FreeBSD Java team? Is FreeBSD Java Team interested in it? -- // Lev Serebryakov From caelian at gmail.com Wed Sep 3 12:59:50 2008 From: caelian at gmail.com (Pascal Hofstee) Date: Wed Sep 3 13:02:14 2008 Subject: OpenJDK BSD Port project: why FreeBSD Java Fondation is not metioned? In-Reply-To: <48BE7D9D.9090500@FreeBSD.org> References: <48BE7D9D.9090500@FreeBSD.org> Message-ID: On Wed, Sep 3, 2008 at 2:05 PM, Lev Serebryakov wrote: > > BSD Port of OpenJDK is announced by Sun, by Sun empolyees: > > http://mail.openjdk.java.net/pipermail/announce/2008-August/000058.html > http://openjdk.java.net/projects/bsd-port > http://mail.openjdk.java.net/pipermail/porters-dev/2008-August/000191.html > > But this announces doesn't mention FreeBSD Java port, FreeBSD Java Team and > Foundation at all. > > Is this project coordinated with FreeBSD Java team? Is FreeBSD Java Team > interested in it? Considering the first URL mentions that they do so "On behalf of Greg Lewis, Kurt Miller and Landon Fuller", this at least sounds like this is in coordination with the FreeBSD Java Team. -- Pascal Hofstee From ssanders at opnet.com Wed Sep 3 13:58:56 2008 From: ssanders at opnet.com (Stephen Sanders) Date: Wed Sep 3 13:59:03 2008 Subject: Possible Bug In-Reply-To: <200809022206.11202.lists@intricatesoftware.com> References: <48BDC075.2060101@opnet.com> <200809022206.11202.lists@intricatesoftware.com> Message-ID: <48BE981A.4090109@opnet.com> I'm sorry, oversight on my part. It is 6.3 that's having the problem. Thanks for the pointer. Kurt Miller wrote: > On Tuesday 02 September 2008 6:38:45 pm Stephen Sanders wrote: > >> We have an application that fork/execs processes at a low frequency rate >> ( ~1/minute). The system is under a reasonably heavy >> processor/network/disk load as it is capturing data at 1Gbps+. >> >> At what appear to be random intervals, the parent process in the fork >> starts consuming 100% CPU. It looks like the monitor thread in >> UNIXProcess is the culprit. >> >> I've not been able to down load the diablo patches from the FreeBSD web >> site, however, it appears OpenJDK that there may be a window for this >> sort of thing to happen in UNIXProcess_md.c. >> >> In Java_java_lang_UNIXProcess_waitForExit(), waitpid() could very easily >> fail returning an EINTR as there are no options to the waitpid call.. >> This will could cause a tight loop. The error section of the man page >> says that if WNOHANG is NOT set then unblocked signals or SIGCHLD will >> cause EINTR errors. >> >> I'll attempt to get the patches from the eyesbeyond web site and verify >> this claim. >> >> Thanks for your attention. >> >> >> > > You didn't mention which FreeBSD version you are running. If it is 6.3 > you need to apply this errata to fix a pthread fork bug that exhibits > the symptoms you have described: > > http://security.freebsd.org/advisories/FreeBSD-EN-08:01.libpthread.asc > > The need for this errata on 6.3 is described in the RELEASENOTE.txt file > that comes with diablo. > > -Kurt > > > From fjoe at samodelkin.net Wed Sep 3 14:14:17 2008 From: fjoe at samodelkin.net (Max Khon) Date: Wed Sep 3 14:14:24 2008 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org In-Reply-To: <20080902222736.GA61025@osiris.chen.org.nz> References: <200809011106.m81B6vTH068481@freefall.freebsd.org> <20080901190357.GA78771@osiris.chen.org.nz> <48BCC718.5020103@samodelkin.net> <20080902222736.GA61025@osiris.chen.org.nz> Message-ID: <48BE9BAD.1060005@samodelkin.net> Hello! Jonathan Chen wrote: >> Jonathan Chen wrote: >>> On Mon, Sep 01, 2008 at 11:06:57AM +0000, FreeBSD bugmaster wrote: >>> [...] >>>> o ports/125828 java upgrade java/java3d to 1.5.2 >>> Would any committers on the list mind reviewing and committing this port? >> It does not build for me: > [...] >> compile-opt: >> [mkdir] Created dir: >> /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/classes >> [mkdir] Created dir: >> /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/gen/tools >> [mkdir] Created dir: >> /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/gen/classes/javax/media/j3d >> [copy] Copying 1 file to >> /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/gen/classes/javax/media/j3d >> [javac] Compiling 760 source files to >> /usr/ports/java/java3d/work/java3d-1.5.2/j3d-core/build/freebsd/opt/classes >> [javac] >> [javac] >> [javac] The system is out of resources. >> [javac] Consult the following stack trace for details. >> [javac] java.lang.OutOfMemoryError: Java heap space > > Could you please try the attached updated "files/patch-freebsd", and if it > works I'll update the PR. The port does not build with alternate PREFIX, so I can not test correctness of pkg-plist. Is this a usual problem for ports built with ant? /fjoe From fjoe at FreeBSD.org Wed Sep 3 14:43:08 2008 From: fjoe at FreeBSD.org (fjoe@FreeBSD.org) Date: Wed Sep 3 14:43:14 2008 Subject: ports/125828: upgrade java/java3d to 1.5.2 Message-ID: <200809031443.m83Eh7gu099146@freefall.freebsd.org> Synopsis: upgrade java/java3d to 1.5.2 State-Changed-From-To: open->closed State-Changed-By: fjoe State-Changed-When: Wed Sep 3 14:42:45 UTC 2008 State-Changed-Why: Committed, thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=125828 From dfilter at FreeBSD.ORG Wed Sep 3 14:50:06 2008 From: dfilter at FreeBSD.ORG (dfilter service) Date: Wed Sep 3 14:50:12 2008 Subject: ports/125828: commit references a PR Message-ID: <200809031450.m83Eo5HE099363@freefall.freebsd.org> The following reply was made to PR ports/125828; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/125828: commit references a PR Date: Wed, 3 Sep 2008 14:42:06 +0000 (UTC) fjoe 2008-09-03 14:41:58 UTC FreeBSD ports repository Modified files: java/java3d Makefile distinfo pkg-descr pkg-message-jre pkg-message-libmap pkg-plist Added files: java/java3d/files patch-freebsd Log: - Update to 1.5.2 - Assign maintainership to PR submitter PR: 125828 Submitted by: Jonathan Chen Revision Changes Path 1.10 +31 -72 ports/java/java3d/Makefile 1.4 +3 -3 ports/java/java3d/distinfo 1.1 +167 -0 ports/java/java3d/files/patch-freebsd (new) 1.2 +5 -5 ports/java/java3d/pkg-descr 1.2 +0 -8 ports/java/java3d/pkg-message-jre 1.2 +0 -20 ports/java/java3d/pkg-message-libmap 1.3 +4 -492 ports/java/java3d/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From jkim at FreeBSD.org Wed Sep 3 15:11:05 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Wed Sep 3 15:11:12 2008 Subject: OpenJDK BSD Port project: why FreeBSD Java Fondation is not metioned? In-Reply-To: References: <48BE7D9D.9090500@FreeBSD.org> Message-ID: <200809031110.53495.jkim@FreeBSD.org> On Wednesday 03 September 2008 08:39 am, Pascal Hofstee wrote: > On Wed, Sep 3, 2008 at 2:05 PM, Lev Serebryakov wrote: > > BSD Port of OpenJDK is announced by Sun, by Sun empolyees: > > > > > > http://mail.openjdk.java.net/pipermail/announce/2008-August/00005 > >8.html http://openjdk.java.net/projects/bsd-port > > http://mail.openjdk.java.net/pipermail/porters-dev/2008-August/00 > >0191.html > > > > But this announces doesn't mention FreeBSD Java port, FreeBSD > > Java Team and Foundation at all. > > > > Is this project coordinated with FreeBSD Java team? Is FreeBSD > > Java Team interested in it? > > Considering the first URL mentions that they do so "On behalf of > Greg Lewis, Kurt Miller and Landon Fuller", this at least sounds > like this is in coordination with the FreeBSD Java Team. Yes. All of us signed SCA and BSD patchsets are already in Mercurial: http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/8a7e68362fa8 http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/be94a5de4d32 http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/23334553c010 I haven't tried it myself but Landon Fuller's build instruction is here: http://mail.openjdk.java.net/pipermail/bsd-port-dev/2008-August/000006.html Jung-uk Kim From lev at FreeBSD.org Wed Sep 3 15:15:20 2008 From: lev at FreeBSD.org (Lev Serebryakov) Date: Wed Sep 3 15:15:26 2008 Subject: OpenJDK BSD Port project: why FreeBSD Java Fondation is not metioned? In-Reply-To: <200809031110.53495.jkim@FreeBSD.org> References: <48BE7D9D.9090500@FreeBSD.org> <200809031110.53495.jkim@FreeBSD.org> Message-ID: <48BEAA08.6060009@FreeBSD.org> Jung-uk Kim wrote: > Yes. All of us signed SCA and BSD patchsets are already in Mercurial: > http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/8a7e68362fa8 > http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/be94a5de4d32 > http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/23334553c010 > I haven't tried it myself but Landon Fuller's build instruction is > here: > http://mail.openjdk.java.net/pipermail/bsd-port-dev/2008-August/000006.html Cool! My Congratulations! -- // Lev Serebryakov From achill at matrix.gatewaynet.com Wed Sep 3 15:16:08 2008 From: achill at matrix.gatewaynet.com (Achilleas Mantzios) Date: Wed Sep 3 15:16:15 2008 Subject: OpenJDK BSD Port project: why FreeBSD Java Fondation is not metioned? In-Reply-To: <48BE7D9D.9090500@FreeBSD.org> References: <48BE7D9D.9090500@FreeBSD.org> Message-ID: <200809031816.04525.achill@matrix.gatewaynet.com> ???? Wednesday 03 September 2008 15:05:49 ?/? Lev Serebryakov ??????: > > BSD Port of OpenJDK is announced by Sun, by Sun empolyees: > > http://mail.openjdk.java.net/pipermail/announce/2008-August/000058.html > http://openjdk.java.net/projects/bsd-port > http://mail.openjdk.java.net/pipermail/porters-dev/2008-August/000191.html > > But this announces doesn't mention FreeBSD Java port, FreeBSD Java > Team and Foundation at all. > > Is this project coordinated with FreeBSD Java team? Is FreeBSD Java > Team interested in it? > Moreover it is still unclear which java people will mostly run in the future and who is going to be porting it. a matrix of some kind i think it would be a good idea, and some kind of cooperation between SUN and the FreeBSD foundation which was the main body (alongside with Greg) behind any BSD java effort todate, would be good as well. correct me if i am wrong pls. -- Achilleas Mantzios From glewis at eyesbeyond.com Wed Sep 3 15:47:01 2008 From: glewis at eyesbeyond.com (Greg Lewis) Date: Wed Sep 3 15:47:08 2008 Subject: OpenJDK BSD Port project: why FreeBSD Java Fondation is not metioned? In-Reply-To: References: <48BE7D9D.9090500@FreeBSD.org> Message-ID: <20080903150935.GA63253@misty.eyesbeyond.com> On Wed, Sep 03, 2008 at 02:39:37PM +0200, Pascal Hofstee wrote: > On Wed, Sep 3, 2008 at 2:05 PM, Lev Serebryakov wrote: > > > > BSD Port of OpenJDK is announced by Sun, by Sun empolyees: > > > > http://mail.openjdk.java.net/pipermail/announce/2008-August/000058.html > > http://openjdk.java.net/projects/bsd-port > > http://mail.openjdk.java.net/pipermail/porters-dev/2008-August/000191.html > > > > But this announces doesn't mention FreeBSD Java port, FreeBSD Java Team and > > Foundation at all. > > > > Is this project coordinated with FreeBSD Java team? Is FreeBSD Java Team > > interested in it? > > Considering the first URL mentions that they do so "On behalf of Greg > Lewis, Kurt Miller and Landon Fuller", this at least sounds like this > is in coordination with the FreeBSD Java Team. Ummm yep, that kind of gives it away doesn't it :). Although this is based on the porting efforts over the years, the OpenJDK code changes so far have all been performed by Kurt and Landon, so I'd like to thank them and also Dalibor Topic and Mark Reinhold from Sun for getting this effort going. The work at the moment is against OpenJDK7. There is a reasonable chance there will be some work with regards to OpenJDK6 as well. Feel free to check it out. I wouldn't expect to see it in the ports tree for a while though. Patches are naturally welcome, although to get them back into the main tree you need to agree to the Sun Contributor Agreement. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From glewis at eyesbeyond.com Wed Sep 3 20:48:31 2008 From: glewis at eyesbeyond.com (Greg Lewis) Date: Wed Sep 3 20:48:38 2008 Subject: OpenJDK BSD Port project: why FreeBSD Java Fondation is not metioned? In-Reply-To: <200809031816.04525.achill@matrix.gatewaynet.com> References: <48BE7D9D.9090500@FreeBSD.org> <200809031816.04525.achill@matrix.gatewaynet.com> Message-ID: <20080903205006.GA66614@misty.eyesbeyond.com> On Wed, Sep 03, 2008 at 06:16:04PM +0300, Achilleas Mantzios wrote: > ???????? Wednesday 03 September 2008 15:05:49 ??/?? Lev Serebryakov ????????????: > > > > BSD Port of OpenJDK is announced by Sun, by Sun empolyees: > > > > http://mail.openjdk.java.net/pipermail/announce/2008-August/000058.html > > http://openjdk.java.net/projects/bsd-port > > http://mail.openjdk.java.net/pipermail/porters-dev/2008-August/000191.html > > > > But this announces doesn't mention FreeBSD Java port, FreeBSD Java > > Team and Foundation at all. > > > > Is this project coordinated with FreeBSD Java team? Is FreeBSD Java > > Team interested in it? > > > > Moreover it is still unclear which java people will mostly run in the future > and who is going to be porting it. Thats hard to say. Prior to the release of Java 7 the plan is to have two things done: 1. Have the BSD port integrated into the main OpenJDK trunk. 2. Have all of the "binary plug" issues resolved so they aren't needed. If those two happen I would expect that FreeBSD users would generally run OpenJDK 7. > a matrix of some kind i think it would be a good idea, > and some kind of cooperation between SUN and the FreeBSD foundation > which was the main body (alongside with Greg) behind any BSD java effort todate, > would be good as well. The FreeBSD Foundation has signed the Sub Contributor Agreement and graciously allowed any work done for them under contract to be merged into OpenJDK. > correct me if i am wrong pls. > > -- > Achilleas Mantzios > _______________________________________________ > 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" -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From chat95 at mac.com Fri Sep 5 03:29:06 2008 From: chat95 at mac.com (Maho NAKATA) Date: Fri Sep 5 03:29:12 2008 Subject: OOO with dialbo-jdk16 is now fine In-Reply-To: <20080831.065441.71113065.chat95@mac.com> References: <20080802040453.GA33125@phat.za.net> <20080827.113539.787670930925500406.chat95@mac.com> <20080831.065441.71113065.chat95@mac.com> Message-ID: <20080905.122841.212628189.chat95@mac.com> From: Maho NAKATA Subject: OOO with dialbo-jdk16 is now fine (Re: compile error with diablo-jdk16) Date: Sun, 31 Aug 2008 06:54:41 +0900 (JST) > Hi > > jkim kindly sent me a patch and clear explantion, > builds were fine with his patch, and I committed his patch. > Thank you Still something is missing or ? I've got: % openoffice.org-2.4.1 javaldx failed. User must select a JRE from options dialog! I think some files are not included in the installset. I'll investigate soon, -- Nakata Maho http://accc.riken.jp/maho/ From caelian at gmail.com Fri Sep 5 06:39:18 2008 From: caelian at gmail.com (Pascal Hofstee) Date: Fri Sep 5 06:39:24 2008 Subject: OOO with dialbo-jdk16 is now fine In-Reply-To: <20080905.122841.212628189.chat95@mac.com> References: <20080802040453.GA33125@phat.za.net> <20080827.113539.787670930925500406.chat95@mac.com> <20080831.065441.71113065.chat95@mac.com> <20080905.122841.212628189.chat95@mac.com> Message-ID: On Fri, Sep 5, 2008 at 5:28 AM, Maho NAKATA wrote: > I've got: > % openoffice.org-2.4.1 > javaldx failed. User must select a JRE from options dialog! > > I think some files are not included in the installset. > I'll investigate soon, I noticed that message as well on OOo-3-RC and found i simply needed to go into the application's Options Dialog, and was able to select the proper JDK there. After that restarting OOo no longer gives that warning. -- Pascal Hofstee From avg at icyb.net.ua Fri Sep 5 13:59:38 2008 From: avg at icyb.net.ua (Andriy Gapon) Date: Fri Sep 5 13:59:45 2008 Subject: separate out tzdata port/package Message-ID: <48C13406.50606@icyb.net.ua> I haven't looked at the actual code and have not given any deep thought to this, so the following might be silly. Is it possible to separate java tz data into its own port/package? Maybe even shared by all/some JDKs. I usually install java from ports and it seems like a waste to rebuild the whole jdk just to get an updated tz data. -- Andriy Gapon From mark.hindess at googlemail.com Sat Sep 6 08:56:41 2008 From: mark.hindess at googlemail.com (Mark Hindess) Date: Sat Sep 6 08:56:48 2008 Subject: OpenJDK BSD Port project: why FreeBSD Java Fondation is not metioned? In-Reply-To: <20080903205006.GA66614@misty.eyesbeyond.com> References: <48BE7D9D.9090500@FreeBSD.org> <200809031816.04525.achill@matrix.gatewaynet.com> <20080903205006.GA66614@misty.eyesbeyond.com> Message-ID: <200809060837.m868bRTB032738@d12av03.megacenter.de.ibm.com> In message <20080903205006.GA66614@misty.eyesbeyond.com>, Greg Lewis writes: > > On Wed, Sep 03, 2008 at 06:16:04PM +0300, Achilleas Mantzios wrote: > > > > [snip] > > > > Moreover it is still unclear which java people will mostly run in the > > future and who is going to be porting it. > > Thats hard to say. Prior to the release of Java 7 the plan is to have two > things done: > > 1. Have the BSD port integrated into the main OpenJDK trunk. > 2. Have all of the "binary plug" issues resolved so they aren't needed. > > If those two happen I would expect that FreeBSD users would generally run > OpenJDK 7. I suspect that some FreeBSD users would prefer a "java" with a license that is closer to the BSD license. Perhaps, they'll use Apache Harmony? (It might actually be working on FreeBSD in the same sort of time frame.) Regards, Mark. From lev at serebryakov.spb.ru Sat Sep 6 14:58:58 2008 From: lev at serebryakov.spb.ru (Lev Serebryakov) Date: Sat Sep 6 15:06:19 2008 Subject: OpenJDK BSD Port project: why FreeBSD Java Fondation is not metioned? In-Reply-To: <200809060837.m868bRTB032738@d12av03.megacenter.de.ibm.com> References: <48BE7D9D.9090500@FreeBSD.org> <200809031816.04525.achill@matrix.gatewaynet.com> <20080903205006.GA66614@misty.eyesbeyond.com> <200809060837.m868bRTB032738@d12av03.megacenter.de.ibm.com> Message-ID: <379573552.20080906183413@serebryakov.spb.ru> Hello, Mark. You wrote 6 ???????? 2008 ?., 12:36:39: > I suspect that some FreeBSD users would prefer a "java" with a license > that is closer to the BSD license. Perhaps, they'll use Apache Harmony? > (It might actually be working on FreeBSD in the same sort of time > frame.) But many users would prefer Java(TM), because many commercial products will lost support if Java palatform is not Java(TM)... -- // Black Lion AKA Lev Serebryakov From saper at system.pl Sat Sep 6 19:50:06 2008 From: saper at system.pl (Marcin Cieslak) Date: Sat Sep 6 19:50:13 2008 Subject: OpenJDK BSD Port project: why FreeBSD Java Fondation is not metioned? In-Reply-To: <379573552.20080906183413@serebryakov.spb.ru> References: <48BE7D9D.9090500@FreeBSD.org> <200809031816.04525.achill@matrix.gatewaynet.com> <20080903205006.GA66614@misty.eyesbeyond.com> <200809060837.m868bRTB032738@d12av03.megacenter.de.ibm.com> <379573552.20080906183413@serebryakov.spb.ru> Message-ID: <48C2DE65.3080005@system.pl> Lev Serebryakov wrote: > Hello, Mark. > You wrote 6 ???????? 2008 ?., 12:36:39: > >> I suspect that some FreeBSD users would prefer a "java" with a license >> that is closer to the BSD license. Perhaps, they'll use Apache Harmony? >> (It might actually be working on FreeBSD in the same sort of time >> frame.) > But many users would prefer Java(TM), because many commercial > products will lost support if Java palatform is not Java(TM)... > This will last only that long as long the bugs will be fixed fast and new features implemented will be timely and in due manner. There are two examples from the past: 1) OpenSSH vs. SSH.com Almost everybody switched to an alternative, because it got better, and it was free. 2) OpenOffice.org vs. go-oo.org In this case SCA and the Sun process seems to be obstacle in faster development. Interesting discussion went there: http://thread.gmane.org/gmane.comp.gnome.ximian.openoffice/2618 I don't know which way the JDK will go, however. --Marcin -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 273 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20080906/36c1ba38/signature.pgp From saper at system.pl Sat Sep 6 21:58:07 2008 From: saper at system.pl (Marcin Cieslak) Date: Sat Sep 6 21:58:13 2008 Subject: Azureus + 7-STABLE == Slow download + No Upload - some idea In-Reply-To: <20080402064543.GA30534@misty.eyesbeyond.com> References: <24A133A6EE9DA04411B3CF04@ganymede.hub.org> <20080401161800.1c4ee021.cyb.@gmx.net> <20080402064543.GA30534@misty.eyesbeyond.com> Message-ID: <48C2FCD8.5010005@system.pl> Greg Lewis wrote: > On Tue, Apr 01, 2008 at 09:04:46PM -0300, Marc G. Fournier wrot >>> On FreeBSD 6.1/2/3 Azureus shows the same behaviour (at least on my PC) >>> when _not_ using /etc/libmap.conf to map libthread to libc_r. >>> >>> Work-arounds like using other clients are one thing, but I would like >>> to see a fix for this on FreeBSD 7. Is there anything that can be done >>> to help identify / solve the problem? > The reason that we've persisted with doing patchsets for Java is so that > everybody can get at the source and investigate/fix things which are > important to them. I've persistently argued against switching solely to > binary releases, when that has come up, for just this reason. Greg and friends, I have taken the opportunity to look at the source and compile jdk16 with debug patches to investigate. Thanks for providing us possibility to do this for years already. > None of this will even require getting your hands dirty with the code, it > will just take some time commitment to do it and analyse the results. There was another, simple problem report on the freebsd-java: http://thread.gmane.org/gmane.os.freebsd.devel.java/10146 > If you wanted to go further you could start trying to mess around with > gdb and/or trace statements in the code. I have decided to go dirty anyway :) I have traced this a bit and came up with a testcase code to open a UDP IPv4 connection via the IPv6 socket: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/127057 This testcase is the way JDK16 does UDP connection translated to C code (okay, Java sets first bytes of the sockaddr * structures to zero, but this doesn't matter and doesn't change anything). Either: 1) something is wrong in this code and Java should be fixed (something around: j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c j2se/src/solaris/native/java/net/net_util_md.c 2) there is wrong in the UDP in the kernel. Even worse, EINVAL is not documented in the manpage, but is returned by udp6_sendto and friends. I've had difficulty single-stepping the kernel but maybe there is something in here. Can anyone replicate my results (I am running an amd64 machine, but this code gives me the same result on a i386 machine installed from the same codebase)? --Marcin -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 273 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20080906/f4f4fa9f/signature.pgp From dino_vliet at yahoo.com Sun Sep 7 18:50:05 2008 From: dino_vliet at yahoo.com (Dino Vliet) Date: Sun Sep 7 20:26:28 2008 Subject: libjvm.so not found on amd64 system with freebsd 7 Message-ID: <833002.54826.qm@web51109.mail.re2.yahoo.com> Hi all,due to this opera errer I get when I want to test the working of my java browser plugin I get a message that libjvm.so is not found on my amd64 box running freebsd 7.The commands I type are:[root@dual /usr/ports/math]# ldd /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: /libexec/ld-elf.so.1: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: Unexpected inconsistency: dependency libjvm.so not found /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 [root@dual /usr/ports/math]# ldd /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: /libexec/ld-elf.so.1: /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: Unexpected inconsistency: dependency libjvm.so not found /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 [root@dual /usr/ports/math]# whereis libjvm.so libjvm.so: The question is, is there something wrong with my java installation? [root@dual /usr/ports/math]# pkg_info | grep Java diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02 diablo-jre-1.6.0.07.02 Java Runtime Environment 1.6.0_07.02 javavmwrapper-2.3.2 Wrapper script for various Java Virtual Machines jdk-1.6.0.3p4_3 Java Development Kit 1.6.0 netbeans55-5.5.1_1 A free and open-source IDE for Java weka-3.4.13 Data Mining Software in Java What should I do to let this opera error message go away?opera: Shared object "libjvm.so" not found, required by "opera" From ronald-freebsd8 at klop.yi.org Sun Sep 7 21:41:07 2008 From: ronald-freebsd8 at klop.yi.org (Ronald Klop) Date: Sun Sep 7 21:41:19 2008 Subject: libjvm.so not found on amd64 system with freebsd 7 In-Reply-To: <833002.54826.qm@web51109.mail.re2.yahoo.com> References: <833002.54826.qm@web51109.mail.re2.yahoo.com> Message-ID: On Sun, 07 Sep 2008 20:23:23 +0200, Dino Vliet wrote: > Hi all,due to this opera errer I get when I want to test the working of > my java browser plugin I get a message that libjvm.so is not found on my > amd64 box running freebsd 7.The commands I type are:[root@dual > /usr/ports/math]# ldd /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so > /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: > /libexec/ld-elf.so.1: > /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: Unexpected > inconsistency: dependency libjvm.so not found > /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 > [root@dual /usr/ports/math]# ldd > /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so > /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: > /libexec/ld-elf.so.1: /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: > Unexpected inconsistency: dependency libjvm.so not found > /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 > [root@dual /usr/ports/math]# whereis libjvm.so > libjvm.so: > > The question is, is there something wrong with my java installation? > [root@dual /usr/ports/math]# pkg_info | grep Java > diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02 > diablo-jre-1.6.0.07.02 Java Runtime Environment 1.6.0_07.02 > javavmwrapper-2.3.2 Wrapper script for various Java Virtual Machines > jdk-1.6.0.3p4_3 Java Development Kit 1.6.0 > netbeans55-5.5.1_1 A free and open-source IDE for Java > weka-3.4.13 Data Mining Software in Java > > What should I do to let this opera error message go away?opera: Shared > object "libjvm.so" not found, required by "opera" I don't have any inside knowledge about this, so can't comment any further. But it may be nice to mail the maintainer of the opera port also. Ronald. From glewis at eyesbeyond.com Sun Sep 7 22:46:49 2008 From: glewis at eyesbeyond.com (Greg Lewis) Date: Sun Sep 7 22:46:57 2008 Subject: libjvm.so not found on amd64 system with freebsd 7 In-Reply-To: <833002.54826.qm@web51109.mail.re2.yahoo.com> References: <833002.54826.qm@web51109.mail.re2.yahoo.com> Message-ID: <20080907223653.GA6811@misty.eyesbeyond.com> On Sun, Sep 07, 2008 at 11:23:23AM -0700, Dino Vliet wrote: > Hi all,due to this opera errer I get when I want to test the working of my java browser plugin I get a message that libjvm.so is not found on my amd64 box running freebsd 7.The commands I type are:[root@dual /usr/ports/math]# ldd /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so > /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: > /libexec/ld-elf.so.1: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: Unexpected inconsistency: dependency libjvm.so not found > /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 > [root@dual /usr/ports/math]# ldd /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so > /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: > /libexec/ld-elf.so.1: /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: Unexpected inconsistency: dependency libjvm.so not found > /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 > [root@dual /usr/ports/math]# whereis libjvm.so > libjvm.so: That all looks pretty much normal. Unless you've got LD_LIBRARY_PATH set up to do so, ldd isn't going to find libjvm.so (and you don't actually want LD_LIBRARY_PATH set up that way under normal circumstances). > The question is, is there something wrong with my java installation? Unlikely. If /usr/local/jdk1.6.0/jre/lib/amd64/{client,server}/libjvm.so exist then your installation is fine. > [root@dual /usr/ports/math]# pkg_info | grep Java > diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02 > diablo-jre-1.6.0.07.02 Java Runtime Environment 1.6.0_07.02 > javavmwrapper-2.3.2 Wrapper script for various Java Virtual Machines > jdk-1.6.0.3p4_3 Java Development Kit 1.6.0 > netbeans55-5.5.1_1 A free and open-source IDE for Java > weka-3.4.13 Data Mining Software in Java > > What should I do to let this opera error message go away?opera: Shared object "libjvm.so" not found, required by "opera" You should find out where Opera is expecting this to exist. As a hack you could try setting up LD_LIBRARY_PATH to have libjvm.so in it, but thats not the real fix. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From redchin at gmail.com Mon Sep 8 00:43:57 2008 From: redchin at gmail.com (Kevin Downey) Date: Mon Sep 8 00:44:03 2008 Subject: libjvm.so not found on amd64 system with freebsd 7 In-Reply-To: <833002.54826.qm@web51109.mail.re2.yahoo.com> References: <833002.54826.qm@web51109.mail.re2.yahoo.com> Message-ID: <1d3ed48c0809071713hece1847x2980e88d0e9fb54d@mail.gmail.com> On Sun, Sep 7, 2008 at 11:23 AM, Dino Vliet wrote: > Hi all,due to this opera errer I get when I want to test the working of my java browser plugin I get a message that libjvm.so is not found on my amd64 box running freebsd 7.The commands I type are:[root@dual /usr/ports/math]# ldd /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so > /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: > /libexec/ld-elf.so.1: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: Unexpected inconsistency: dependency libjvm.so not found > /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 > [root@dual /usr/ports/math]# ldd /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so > /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: > /libexec/ld-elf.so.1: /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: Unexpected inconsistency: dependency libjvm.so not found > /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 > [root@dual /usr/ports/math]# whereis libjvm.so > libjvm.so: > > The question is, is there something wrong with my java installation? > [root@dual /usr/ports/math]# pkg_info | grep Java > diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02 > diablo-jre-1.6.0.07.02 Java Runtime Environment 1.6.0_07.02 > javavmwrapper-2.3.2 Wrapper script for various Java Virtual Machines > jdk-1.6.0.3p4_3 Java Development Kit 1.6.0 > netbeans55-5.5.1_1 A free and open-source IDE for Java > weka-3.4.13 Data Mining Software in Java > > What should I do to let this opera error message go away?opera: Shared object "libjvm.so" not found, required by "opera" > I wonder if this is related to the dual core + procfs java issues: http://lists.freebsd.org/pipermail/freebsd-java/2008-March/007346.html I forget exactly, but when java sees /proc it tries to use some special file /proc/curfile or something like that, which, uh, on dual core doesn't work reliably. -- The Mafia way is that we pursue larger goals under the guise of personal relationships. Fisheye From fluffy at ael.ru Mon Sep 8 01:49:59 2008 From: fluffy at ael.ru (Dima Panov) Date: Mon Sep 8 01:50:06 2008 Subject: libjvm.so not found on amd64 system with freebsd 7 In-Reply-To: <1d3ed48c0809071713hece1847x2980e88d0e9fb54d@mail.gmail.com> References: <833002.54826.qm@web51109.mail.re2.yahoo.com> <1d3ed48c0809071713hece1847x2980e88d0e9fb54d@mail.gmail.com> Message-ID: <200809081230.08366.fluffy@ael.ru> On 8 September 2008, Kevin Downey wrote: > > [root@dual /usr/ports/math]# ldd > > /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so > > /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: > > /libexec/ld-elf.so.1: /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: > > Unexpected inconsistency: dependency libjvm.so not found > > /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 > I wonder if this is related to the dual core + procfs java issues: > > http://lists.freebsd.org/pipermail/freebsd-java/2008-March/007346.html > > I forget exactly, but when java sees /proc it tries to use some > special file /proc/curfile or something like that, which, uh, on dual > core doesn't work reliably. Not only dualcore, but if jdk/jre placed on nullfs/unionfs. Seems to be affected any PSEUDOFS-based filesystems and broken procfs realization (any binary executed from pseudo-filesystem have broken info in their details, shows only PID info; cmdline, file symlink, status and other resources is unavailable). May be affected if /usr/local is mount-point to another physical partition. -- ??????? ?. ????? ????????????? ??? ??????????????? ???????? ????????? ? ????? ?????????, ?????? From bugmaster at FreeBSD.org Mon Sep 8 02:22:23 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 8 02:23:32 2008 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org Message-ID: <200809080222.m882MNTB006729@freefall.freebsd.org> 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. Bugs can be in one of several states: o - open A problem report has been submitted, no sanity checking performed. a - analyzed The problem is understood and a solution is being sought. f - feedback Further work requires additional information from the originator or the community - possibly confirmation of the effectiveness of a proposed solution. p - patched A patch has been committed, but some issues (MFC and / or confirmation from originator) are still open. r - repocopy The resolution of the problem report is dependent on a repocopy operation within the CVS repository which is awaiting completion. s - suspended The problem is not being worked on, due to lack of information or resources. This is a prime candidate for somebody who is looking for a project to do. If the problem cannot be solved at all, it will be closed, rather than suspended. c - closed A problem report is closed when any changes have been integrated, documented, and tested -- or when fixing the problem is abandoned. From dino_vliet at yahoo.com Mon Sep 8 11:22:13 2008 From: dino_vliet at yahoo.com (Dino Vliet) Date: Mon Sep 8 11:22:20 2008 Subject: libjvm.so not found on amd64 system with freebsd 7 In-Reply-To: <1d3ed48c0809071713hece1847x2980e88d0e9fb54d@mail.gmail.com> Message-ID: <913430.35816.qm@web51105.mail.re2.yahoo.com> --- On Mon, 9/8/08, Kevin Downey wrote: From: Kevin Downey Subject: Re: libjvm.so not found on amd64 system with freebsd 7 To: dino_vliet@yahoo.com Cc: glewis@freebsd.org, java@freebsd.org Date: Monday, September 8, 2008, 2:13 AM On Sun, Sep 7, 2008 at 11:23 AM, Dino Vliet wrote: > Hi all,due to this opera errer I get when I want to test the working of my java browser plugin I get a message that libjvm.so is not found on my amd64 box running freebsd 7.The commands I type are:[root@dual /usr/ports/math]# ldd /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so > /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: > /libexec/ld-elf.so.1: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: Unexpected inconsistency: dependency libjvm.so not found > /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 > [root@dual /usr/ports/math]# ldd /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so > /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: > /libexec/ld-elf.so.1: /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: Unexpected inconsistency: dependency libjvm.so not found > /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 > [root@dual /usr/ports/math]# whereis libjvm.so > libjvm.so: > > The question is, is there something wrong with my java installation? > [root@dual /usr/ports/math]# pkg_info | grep Java > diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02 > diablo-jre-1.6.0.07.02 Java Runtime Environment 1.6.0_07.02 > javavmwrapper-2.3.2 Wrapper script for various Java Virtual Machines > jdk-1.6.0.3p4_3 Java Development Kit 1.6.0 > netbeans55-5.5.1_1 A free and open-source IDE for Java > weka-3.4.13 Data Mining Software in Java > > What should I do to let this opera error message go away?opera: Shared object "libjvm.so" not found, required by "opera" > I wonder if this is related to the dual core + procfs java issues: http://lists.freebsd.org/pipermail/freebsd-java/2008-March/007346.html I forget exactly, but when java sees /proc it tries to use some special file /proc/curfile or something like that, which, uh, on dual core doesn't work reliably. -- The Mafia way is that we pursue larger goals under the guise of personal relationships. Fisheye ? ? ? I can confirm that my system is a dual core AMD64 system where I have installed freebsd 7 and have compiled a custom kernel. ? Brgds From winxp4 at vuhanhnhu.com Sun Sep 14 01:17:48 2008 From: winxp4 at vuhanhnhu.com (cuongvt1) Date: Sun Sep 14 01:17:55 2008 Subject: develop JSP and servlet with eclipse in Freebsd Message-ID: <19476338.post@talk.nabble.com> 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 info at area-school.com Sun Sep 14 09:45:36 2008 From: info at area-school.com (info@area-school.com) Date: Sun Sep 14 09:45:43 2008 Subject: Web page referred from American Real Estate Academy Message-ID: <20217571.1221383710254.JavaMail.SYSTEM@WEBC57> Hello Friend: The following Web page from the American Real Estate Academy's Web site - http://www.area-school.com - has been referred to you by Teresa Evans (tereevans@gmail.com): And they pass along the following message: Hi Friend, "Discover How You Can Instantly Create Your very Own Branded And Insanely Viral Ebooks that You Can Sell Fro 100% Profit Or Give away to explode your list!" Starting today -- right now -- you could have your very own viral ebooks spreading like wildfire all over the Internet, making you sales and building your list even while you are asleep... and it's FREE Visit: 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?t miss out because these available spots are going fast. -------------------------------------- You are receiving this message because you have either signed up to receive information from us or a third-party. To be cleared from our records, reply to this e-mail. Subject Line "UNSUBSCRIBE" mailto:jjplar@gmail.com -------------------------------------- Enjoy! ----------------------------------------------------------------- American Real Estate Academy The Center for Real Estate Education http://www.area-school.com ----------------------------------------------------------------- From numardbsd at gmail.com Sun Sep 14 11:50:50 2008 From: numardbsd at gmail.com (Norberto Meijome) Date: Sun Sep 14 11:50:56 2008 Subject: develop JSP and servlet with eclipse in Freebsd In-Reply-To: <19476338.post@talk.nabble.com> References: <19476338.post@talk.nabble.com> Message-ID: <20080914213035.1fa0c70b@ayiin> 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 bofh at redwerk.com Sun Sep 14 14:22:25 2008 From: bofh at redwerk.com (Eugeny N Dzhurinsky) Date: Sun Sep 14 14:22:31 2008 Subject: develop JSP and servlet with eclipse in Freebsd In-Reply-To: <19476338.post@talk.nabble.com> References: <19476338.post@talk.nabble.com> Message-ID: <20080914140511.GA24068@jdevelop.priv> On Sat, Sep 13, 2008 at 05:57:53PM -0700, cuongvt1 wrote: > > 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. -- Eugene N Dzhurinsky -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20080914/f4faf964/attachment.pgp From bugmaster at FreeBSD.org Mon Sep 15 15:18:51 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 15 15:20:15 2008 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org Message-ID: <200809151518.m8FFIotv018933@freefall.freebsd.org> 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 koitsu at FreeBSD.org Tue Sep 16 10:23:28 2008 From: koitsu at FreeBSD.org (Jeremy Chadwick) Date: Tue Sep 16 10:23:41 2008 Subject: Error: Can't find libjava.so In-Reply-To: <018f01c917e1$0e250f40$2a6f2dc0$@za.net> 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> Message-ID: <20080916100727.GA60836@icarus.home.lan> 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 thavinci at thavinci.za.net Tue Sep 16 10:40:50 2008 From: thavinci at thavinci.za.net (Marcel Grandemange) Date: Tue Sep 16 10:40:58 2008 Subject: Error: Can't find libjava.so In-Reply-To: <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> <20080916100727.GA60836@icarus.home.lan> Message-ID: <01a301c917e6$6df6af50$49e40df0$@za.net> > > > > 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 koitsu at FreeBSD.org Tue Sep 16 10:53:56 2008 From: koitsu at FreeBSD.org (Jeremy Chadwick) Date: Tue Sep 16 10:55:32 2008 Subject: Error: Can't find libjava.so In-Reply-To: <01a301c917e6$6df6af50$49e40df0$@za.net> 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> Message-ID: <20080916103753.GA62307@icarus.home.lan> 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 natalija.jonjic at fina.hr Wed Sep 17 09:49:30 2008 From: natalija.jonjic at fina.hr (=?iso-8859-2?Q?Natalija_Jonji=E6?=) Date: Wed Sep 17 09:49:36 2008 Subject: help Message-ID: <000401c918a6$7ff10730$8a16010a@intranet.fina.hr> 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 achill at matrix.gatewaynet.com Wed Sep 17 09:56:33 2008 From: achill at matrix.gatewaynet.com (Achilleas Mantzios) Date: Wed Sep 17 09:56:40 2008 Subject: help In-Reply-To: <000401c918a6$7ff10730$8a16010a@intranet.fina.hr> References: <000401c918a6$7ff10730$8a16010a@intranet.fina.hr> Message-ID: <200809171256.26869.achill@matrix.gatewaynet.com> 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. ???? Wednesday 17 September 2008 12:19:34 ?/? Natalija Jonji? ??????: > 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) > > > > _______________________________________________ > 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" > -- Achilleas Mantzios From bugmaster at FreeBSD.org Mon Sep 22 11:06:57 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 22 11:07:23 2008 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org Message-ID: <200809221106.m8MB6u6c015422@freefall.freebsd.org> 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 Ash2k at yandex.ru Wed Sep 24 10:39:12 2008 From: Ash2k at yandex.ru (Ash2k) Date: Wed Sep 24 10:39:14 2008 Subject: bug report Message-ID: <596931222251134@webmail56.yandex.ru> A non-text attachment was scrubbed... Name: hs_err_pid34656.log Type: application/octet-stream Size: 7476 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20080924/3a945b81/hs_err_pid34656.obj From freebsd at spatula.net Wed Sep 24 16:27:42 2008 From: freebsd at spatula.net (Nicklas Johnson) Date: Wed Sep 24 16:27:44 2008 Subject: bug report In-Reply-To: <596931222251134@webmail56.yandex.ru> References: <596931222251134@webmail56.yandex.ru> Message-ID: It'll probably be helpful also to see the stack trace from the java.core file. something like: gdb $JAVA_HOME/bin/java java.core (where $JAVA_HOME is something like /usr/local/jdk1.5 or /usr/local/diablo-jdk15 or the like... do not use /usr/local/bin/java here, but the actual java binary. Better still if you have bin/java_g available to use that instead so the symbols resolve.) and then: (gdb) bt (gdb) thread apply all bt It'll also be helpful to know which version of FreeBSD (uname -a) and which version of java (java -version) (At first glance it looks like something went wrong in the native java.nio implementation.) Nick 2008/9/24 Ash2k > _______________________________________________ > 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" -- "Courage isn't just a matter of not being frightened, you know. It's being afraid and doing what you have to do anyway." -- Doctor Who - Planet of the Daleks This message has been brought to you by Nick Johnson 2.3b1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/ From kjkoster at kjkoster.org Thu Sep 25 05:25:25 2008 From: kjkoster at kjkoster.org (Kees Jan Koster) Date: Thu Sep 25 05:25:32 2008 Subject: building java_g (was: bug report) In-Reply-To: References: <596931222251134@webmail56.yandex.ru> Message-ID: Dear Nick, I tried to build java_g, but I cannot find the switch to do so. The debug flag in JDK 1.6's make config does not do this. Any idea how I can build java_g? Kees Jan On Sep 24, 2008, at 18:27, Nicklas Johnson wrote: > It'll probably be helpful also to see the stack trace from the > java.core > file. > > something like: > > gdb $JAVA_HOME/bin/java java.core > > (where $JAVA_HOME is something like /usr/local/jdk1.5 or > /usr/local/diablo-jdk15 or the like... do not use /usr/local/bin/ > java here, > but the actual java binary. Better still if you have bin/java_g > available > to use that instead so the symbols resolve.) > > and then: > > (gdb) bt > (gdb) thread apply all bt > > It'll also be helpful to know which version of FreeBSD (uname -a) > and which > version of java (java -version) > > (At first glance it looks like something went wrong in the native > java.nio > implementation.) > > Nick > > 2008/9/24 Ash2k > >> _______________________________________________ >> 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 >> " > > > > > -- > "Courage isn't just a matter of not being frightened, you know. It's > being > afraid and doing what you have to do anyway." > -- Doctor Who - Planet of the Daleks > This message has been brought to you by Nick Johnson 2.3b1 and the > number 6. > http://healerNick.com/ http://morons.org/ http://spatula.net/ > _______________________________________________ > 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" > -- Kees Jan http://java-monitor.com/forum/ kjkoster@kjkoster.org 06-51838192 Rule 1 for being in a hole: stop digging. From rob at techniumcast.com Thu Sep 25 16:26:38 2008 From: rob at techniumcast.com (Rob Shepherd) Date: Thu Sep 25 16:26:45 2008 Subject: help installing please Message-ID: <48DBB80C.1050609@techniumcast.com> Dear FreeBSD Java users, I've just got diablo-jdk-freebsd7.amd64.1.6.0.07.02.tbz and installed it. A dependency issue was raised concerning javavmwrapper 2.3.2 whereas only 2.3 exists in the ports tree. I used a pkg_add -f to override this check, however java still doesn't work. I've managed to conclude that the compiled java is linked against libpthread.so.2 libc.so.6 libc.so.7 I don't have libc.so.6 or libpthread.so.2 How can I work past these unlisted dependencies? Thanks Rob From Ash2k at yandex.ru Fri Sep 26 08:02:10 2008 From: Ash2k at yandex.ru (Ash2k) Date: Fri Sep 26 08:02:16 2008 Subject: bug report Message-ID: <108681222416115@webmail84.yandex.ru> A non-text attachment was scrubbed... Name: hs_err_pid59376.log Type: application/octet-stream Size: 7049 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20080926/676fffab/hs_err_pid59376.obj From bugmaster at FreeBSD.org Mon Sep 29 11:06:53 2008 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Sep 29 11:08:06 2008 Subject: Current problem reports assigned to freebsd-java@FreeBSD.org Message-ID: <200809291106.m8TB6rOA040850@freefall.freebsd.org> 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.