From owner-freebsd-java@FreeBSD.ORG Fri Oct 28 12:13:36 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 508C6106566C for ; Fri, 28 Oct 2011 12:13:36 +0000 (UTC) (envelope-from tez@netbsd.org) Received: from gateway02.fnal.gov (gateway02.fnal.gov [131.225.104.19]) by mx1.freebsd.org (Postfix) with ESMTP id 19CDA8FC08 for ; Fri, 28 Oct 2011 12:13:35 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by gateway02.fnal.gov (Postfix) with ESMTP id A07F31711438; Fri, 28 Oct 2011 06:57:36 -0500 (CDT) X-Virus-Scanned: amavisd-new at fnal.gov Received: from gateway02.fnal.gov ([127.0.0.1]) by localhost (gateway02.fnal.gov [127.0.0.1]) (amavisd-new, port 10024) with LMTP id L95XRvpzW5Mv; Fri, 28 Oct 2011 06:57:36 -0500 (CDT) X-Mailgw-Auth: no Received: from nova.fnal.gov (nova.fnal.gov [131.225.121.207]) by gateway02.fnal.gov (Postfix) with SMTP id 8171217113BA; Fri, 28 Oct 2011 06:57:36 -0500 (CDT) Received: from nova.fnal.gov (localhost [127.0.0.1]) by nova.fnal.gov (8.14.4+Sun/8.14.4) with ESMTP id p9SBvau6021681; Fri, 28 Oct 2011 06:57:36 -0500 (CDT) Received: from localhost (tez@localhost) by nova.fnal.gov (8.14.4+Sun/8.14.4/Submit) with ESMTP id p9SBvam7021678; Fri, 28 Oct 2011 06:57:36 -0500 (CDT) X-Authentication-Warning: nova.fnal.gov: tez owned process doing -bs Date: Fri, 28 Oct 2011 06:57:36 -0500 (CDT) From: tez@netbsd.org X-X-Sender: tez@nova.fnal.gov To: Eugene Dzhurinsky In-Reply-To: <20111028104807.GC2252@devbox.epam.com> Message-ID: References: <20111028104807.GC2252@devbox.epam.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-java@freebsd.org Subject: Re: OpenJDK 7 :: java.lang.UnsatisfiedLinkError X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tez@netbsd.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2011 12:13:36 -0000 I found this 2008 PR that seems to describe the same problem, and which describes the root cause and references a patch that may or may not have fixed the problem. Hope this is a help. - Tim On Fri, 28 Oct 2011, Eugene Dzhurinsky wrote: >> FreeBSD devbox 9.0-RC1 FreeBSD 9.0-RC1 #0: Thu Oct 20 08:48:57 EEST 2011 root@devbox:/usr/obj/usr/src/sys/GENERIC amd64 > >> openjdk-7.0.147_1 > > when launching IntelliJ IDEA I'm getting this error: > > =============================================================================================================== > OpenJDK Runtime Environment (build 1.7.0-root_2011_10_18_18_01-b00) > OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode) > OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode) > WARNING: You are launching IDE using OpenJDK Java runtime > > THIS IS STRICTLY UNSUPPORTED DUE TO KNOWN PERFORMANCE AND GRAPHICS PROBLEMS > > NOTE: If you have both Sun JDK and OpenJDK installed > please validate either IDEA_JDK or JDK_HOME environment variable points to valid Sun JDK installation > > Press Enter to continue. > [ 3115] ERROR - llij.ide.plugins.PluginManager - /usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: /usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: Undefined symbol "jpeg_resync_to_restart" > java.lang.UnsatisfiedLinkError: /usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: /usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: Undefined symbol "jpeg_resync_to_restart" > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1928) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846) > at java.lang.Runtime.loadLibrary0(Runtime.java:845) > at java.lang.System.loadLibrary(System.java:1084) > at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67) > at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47) > at java.security.AccessController.doPrivileged(Native Method) > at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:121) > at com.intellij.idea.IdeaApplication$IdeStarter.a(IdeaApplication.java:165) > at com.intellij.idea.IdeaApplication$IdeStarter.premain(IdeaApplication.java:138) > at com.intellij.idea.IdeaUltimateApplication$IdeaUltimateStarter.premain(IdeaUltimateApplication.java:50) > at com.intellij.idea.IdeaApplication.(IdeaApplication.java:76) > at com.intellij.idea.IdeaUltimateApplication.(IdeaUltimateApplication.java:14) > at com.intellij.idea.MainImpl.a(MainImpl.java:153) > at com.intellij.idea.MainImpl.access$000(MainImpl.java:30) > at com.intellij.idea.MainImpl$2.proceed(MainImpl.java:140) > at com.intellij.ide.a.e.x$4.run(x$4.java:304) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705) > at java.awt.EventQueue.access$000(EventQueue.java:101) > at java.awt.EventQueue$3.run(EventQueue.java:666) > at java.awt.EventQueue$3.run(EventQueue.java:664) > at java.security.AccessController.doPrivileged(Native Method) > at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:675) > at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211) > at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > [ 3117] ERROR - llij.ide.plugins.PluginManager - JDK: 1.7.0 > [ 3117] ERROR - llij.ide.plugins.PluginManager - VM: OpenJDK 64-Bit Server VM > [ 3117] ERROR - llij.ide.plugins.PluginManager - Vendor: Oracle Corporation > [ 3117] ERROR - llij.ide.plugins.PluginManager - OS: FreeBSD > =============================================================================================================== > > Any ideas how to fix that? Rebuilding openjdk port doesn't help. > > Thanks in advance! > > -- > Eugene N Dzhurinsky >