Skip to main content



      Home
Home » Newcomers » Newcomers » UnsatisfiedLinkError
UnsatisfiedLinkError [message #162086] Sat, 22 July 2006 10:27 Go to next message
Eclipse UserFriend
After installing eclipse-SDK-3.2-win32.zip under Vista Beta 2 and running
eclipse I got a java.lang.UnsatisfiedLinkError.

I thought Eclipse 3.2 had (preview) support for Vista, or is this because
Java 6 is my default JVM? I need to use Java 6 because of a serious bug in
Internet Explorer 7 beta 2.

Has anyone else gotten Eclipse 3.2 to work under Windows Vista?

Cheers, Eric

!SESSION 2006-07-21 23:29:57.051
-----------------------------------------------
eclipse.buildId=M20060629-1905
java.version=1.6.0-beta2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2006-07-21 23:30:09.020
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-win32-3232 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:12 3)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:433)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at
org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDE Application.java:122)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:75)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Re: UnsatisfiedLinkError [message #162095 is a reply to message #162086] Sat, 22 July 2006 22:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wayne.beaton._NOSPAM_eclipse.org

Eric Kolotyluk wrote:
> After installing eclipse-SDK-3.2-win32.zip under Vista Beta 2 and
> running eclipse I got a java.lang.UnsatisfiedLinkError.
>
> I thought Eclipse 3.2 had (preview) support for Vista, or is this
> because Java 6 is my default JVM? I need to use Java 6 because of a
> serious bug in Internet Explorer 7 beta 2.
>
> Has anyone else gotten Eclipse 3.2 to work under Windows Vista?
>
> Cheers, Eric
>
> !SESSION 2006-07-21 23:29:57.051
> -----------------------------------------------
> eclipse.buildId=M20060629-1905
> java.version=1.6.0-beta2
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.osgi 4 0 2006-07-21 23:30:09.020
> !MESSAGE Application error
> !STACK 1
> java.lang.UnsatisfiedLinkError: no swt-win32-3232 in java.library.path
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
> at java.lang.Runtime.loadLibrary0(Unknown Source)
> at java.lang.System.loadLibrary(Unknown Source)
> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:12 3)
> at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
> at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
> at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:433)
> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
> at
> org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDE Application.java:122)
>
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:75)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
>
>
Can you repost this one in eclipse.platform.swt? I know that some
members of the SWT team have gotten Vista to run. In any case, the folks
that monitor that group will likely be better equipped to answer this
question.

Wayne
Re: UnsatisfiedLinkError [message #162148 is a reply to message #162095] Sun, 23 July 2006 18:37 Go to previous messageGo to next message
Eclipse UserFriend
Done!

Thanks for the tip.

Cheers, Eric
Re: UnsatisfiedLinkError [message #162836 is a reply to message #162095] Sun, 30 July 2006 17:23 Go to previous messageGo to next message
Eclipse UserFriend
Wayne Beaton wrote:

> Eric Kolotyluk wrote:
>> After installing eclipse-SDK-3.2-win32.zip under Vista Beta 2 and
>> running eclipse I got a java.lang.UnsatisfiedLinkError.
>>
>> I thought Eclipse 3.2 had (preview) support for Vista, or is this
>> because Java 6 is my default JVM? I need to use Java 6 because of a
>> serious bug in Internet Explorer 7 beta 2.
>>
>> Has anyone else gotten Eclipse 3.2 to work under Windows Vista?
>>
>> Cheers, Eric
>>
>> !SESSION 2006-07-21 23:29:57.051
>> -----------------------------------------------
>> eclipse.buildId=M20060629-1905
>> java.version=1.6.0-beta2
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
>> Command-line arguments: -os win32 -ws win32 -arch x86
>>
>> !ENTRY org.eclipse.osgi 4 0 2006-07-21 23:30:09.020
>> !MESSAGE Application error
>> !STACK 1
>> java.lang.UnsatisfiedLinkError: no swt-win32-3232 in java.library.path
>> at java.lang.ClassLoader.loadLibrary(Unknown Source)
>> at java.lang.Runtime.loadLibrary0(Unknown Source)
>> at java.lang.System.loadLibrary(Unknown Source)
>> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:12 3)
>> at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
>> at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
>> at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:433)
>> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
>> at
>>
org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDE Application.java:122)
>>
>> at
>> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:75)
>> at
>>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
>>
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
>>
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
>>
>> at
>>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
>>
>> at
>>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>> at org.eclipse.core.launcher.Main.run(Main.java:977)
>> at org.eclipse.core.launcher.Main.main(Main.java:952)
>>
>>
> Can you repost this one in eclipse.platform.swt? I know that some
> members of the SWT team have gotten Vista to run. In any case, the folks
> that monitor that group will likely be better equipped to answer this
> question.

> Wayne

I posted this problem in eclipse.platform.swt and the only suggestion I
got was to use Java 1.5 instead of Java 1.6, but that doesn't solve the
problem.

Here's where the story gets interesting. Thinking there was something
wrong with the original 3.2 download I downloaded 3.2 again, but under
Windows XP, and unzipped it into the Windows XP Program Files directory.
It took a verrrrry long time to unzip for some reason. When it was
finished Eclipse ran fine under XP.

So I rebooted my system with Vista and unzipped the same 3.2 zip file into
Program Files. For some reason Windows Explorer got into an infinite loop
or something and just sat there using 100% of the CPU while unzipping my
file at a snail's pace. [I think Microsoft has some serious problems with
their zip support.] I finally when I ended the offendign process with task
manager - oops, I lost the taskbar and my desktop. Finally I installed
WinZip, which unzipped everything in a minute or two.

When I ran Eclipse, I got the same UnsatisfiedLinkError again?!?

On a hunch I tried running Eclipse out of the disk partion I use for
Windows XP and it ran fine. Next I copied the Eclipse 3.2 directory from
my Windows XP partition to my Vista C:\Program Files. Now Eclipse runs
fine under Vista from there as well!

If I was a conspiracy theorist I'd say Microsoft have special code in
Vista which detects and tries to cripple Eclipse ;-)
Re: UnsatisfiedLinkError [message #162874 is a reply to message #162836] Sun, 30 July 2006 20:27 Go to previous message
Eclipse UserFriend
Originally posted by: wayne.beaton._NOSPAM_eclipse.org

Eric Kolotyluk wrote:

> On a hunch I tried running Eclipse out of the disk partion I use for
> Windows XP and it ran fine. Next I copied the Eclipse 3.2 directory from
> my Windows XP partition to my Vista C:\Program Files. Now Eclipse runs
> fine under Vista from there as well!
>

Did you share this with SWT? A bug report will help them sort out if
there is some sort of conspiracy (more likely it's something else...)

Wayne
Previous Topic:Unable to start eclipse - cannot create jvm
Next Topic:problem creating classes
Goto Forum:
  


Current Time: Tue Jul 22 08:35:28 EDT 2025

Powered by FUDForum. Page generated in 0.30189 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top