OpenJDK 7 :: java.lang.UnsatisfiedLinkError

tez at netbsd.org tez at netbsd.org
Fri Oct 28 12:13:36 UTC 2011


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 at 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.<init>(IdeaApplication.java:76)
> 	at com.intellij.idea.IdeaUltimateApplication.<init>(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
>


More information about the freebsd-java mailing list