8 Replies Latest reply on Jan 16, 2008 5:11 AM by xoerk

    install FB 2 on vista got java.lang.UnsatisfiedLinkError: no swt-win32-3139 in java.library.path

    llin Adobe Employee
      The following is a re-posting of a thread regarding UnsatisfiedLinkError issue. One author posted the workaround below. That workaround was posted multiple times by mistake, and the author asked Moderator to delete the extra posting.
      An operating error caused the topic to be deleted instead of the individual messages. I am reposting the content of the thread, and apologize to the authors who participated in this thread before.

      Workaround :

      I experienced the same issue when I tried to install Flex on a new Vista system. Here's how I corrected it:

      1) Navigate to C:\Program Files\Adobe\Flex Builder 2\plugins

      2) Look for the file "org.eclipse.swt.win32.win32.x86_3.1.2.jar". You will need to open this in a file compression program such as WinRar or WinZip. If you don't have such a program you can try:

      2a) Copy (make sure you COPY, not MOVE) the file to another location, such as your desktop.

      2b) Rename the file with a ".zip" extension (i.e. change ".jar" to ".zip"). NOTE: You will not see the file extension if your system is configured to hide extensions. In this case, open a Windows Explorer window ("My Computer", etc.) and press the "Alt" key. A menu bar will appear. Select "Tools -> Folder Options". Select the "View" tab, and look for "Hide extensions for known file types". Uncheck the box, then click OK.

      2c) You should now be able to right-click the file and use Vista's built-in .zip extraction to extract the contents to a folder.

      3) Within the org.eclipse.swt.win32.win32.x86_3.1.2.jar file is a file called "swt-win32-3139.dll". Copy this file to C:\Windows\System32\ (You will be asked for a confirmation when you do this).

      Once that is done, Flex should run correctly. You can now delete the copy of the .jar file that you made, as well as the folder created by Vista's .zip extraction (if applicable).

      Hope this helps!

      Error :

      !SESSION 2007-04-20 10:16:39.138 ----------------------------------------------- eclipse.buildId=unknown java.version=1.4.2_12 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Command-line arguments: -os win32 -ws win32 -arch x86
      !ENTRY org.eclipse.update.configurator 2007-04-20 10:16:40.18 !MESSAGE Cannot backup current configuration !ENTRY org.eclipse.update.configurator 2007-04-20 10:16:40.42
      !MESSAGE Could not rename configuration temp file
      !ENTRY org.eclipse.osgi 2007-04-20 10:16:40.938
      !MESSAGE Application error
      !STACK 1 java.lang.UnsatisfiedLinkError: no swt-win32-3139 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:123) 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.java:381) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155) at com.adobe.flexbuilder.standalone.FlexBuilderApplication.run(FlexBuilderApplication.java:4 5) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) 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:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY org.eclipse.osgi 2007-04-20 10:16:40.948 !MESSAGE Bundle update@plugins/com.adobe.flexbuilder.debug.e32_2.0.155577/ [70] was not resolved. !SUBENTRY 1 org.eclipse.osgi 2007-04-20 10:16:40.948 !MESSAGE Missing required bundle org.eclipse.debug.ui_[3.2.0,99.0.0).</