Flex2 Builder not installing on Vista

So for all you people that jumped on the Windows Vista bandwagon you may be experiencing difficulty running Flex2 Builder after you have installed it.

This is the error that I was getting:

!SESSION 2007-05-11 20:10:31.205 ———————————————–
eclipse.buildId=unknown
java.version=1.4.2_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.update.configurator 2007-05-11 20:10:31.696
!MESSAGE Cannot backup current configuration

!ENTRY org.eclipse.update.configurator 2007-05-11 20:10:31.727
!MESSAGE Could not rename configuration temp file

!ENTRY org.eclipse.osgi 2007-05-11 20:10:32.644
!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.(OS.java:18)
at org.eclipse.swt.widgets.Display.(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:45)
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-05-11 20:10:32.647
!MESSAGE Bundle
update@plugins/com.adobe.flexbuilder.debug.e32_2.0.155577/ [70] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2007-05-11 20:10:32.647
!MESSAGE Missing required bundle org.eclipse.debug.ui_[3.2.0,99.0.0).

And this is how to resolve it:

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 WinAce, 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!

The above excerpt was taken from the following website at Adobe

http://www.adobe.com/cfusion/webforums/forum/rss.cfm?forumid=60&catid=539

As always Happy Flashing/Flexing

19 thoughts on “Flex2 Builder not installing on Vista

  1. This worked (almost!) perfectly for me, except if you’re installing under a 64 bit version of Vista, the file has to go in C:\Windows\SysWOW64. Other than that, awesome!

  2. Thank you so much for posting this. It was a lifesaver! You are inspiring me to make a blog about the weird stuff I end up fixing…been thinking about it for a while, but now I see it could be useful to folks…again, many thanks!

  3. Thank You Thank You Thank You, thats about it really. Didnt know what I was going to do, projects saved in back up, laptop dropped, hard drive fried, new laptop(complete with Vista) couldnt get FLEX to work, the world is a better place for people like you!

  4. Mike,

    Glad that you got it figured out. Having these kinds of issues stops all production and can be very frustrating.

    Ryan,

    Glad this post on getting Flex installed on Vista helped you also.

    Curtis J. Morley

  5. ok it’s good

    in fact the swc file exported from Flach was included in Flex Library project and this last was calling the swc file ^^ recursive call !!

  6. Finally I think my problem is only relative to the Flex Library project which import swc file exported from Flash, because if I close the AS3 project and work only with the FlexLibrary project I have always the stackOverFlow error.

    Is it possible for a Flex library project to import a swc file in the Library Path section? I don’t know why I can’t 🙁

  7. Hello and thanks for your response,

    In fact I only develop in AS3 with Flex Builder 2.01, so I don’t have MXML file ^^

    I have 2 projects, one is a Flex Library and the other an ActionScript project, the last reference the FlexLIbrary project and these twese two projects import a same other library swc exported from Flash, I think this cross reference cause a stackOverflow error.

    So I don’t know how do this without stackOverFlow because my 2 projects (AS3 Project and FlexLibrary Project) need the other library exported from Flash. So maybe I must use 2 copies of this library Flash ?

    So I test……………….no no no same error with 2 copies of the swc exported from Flash…??

    If you want I can mail you my projects folders?

    thx

  8. You may want to rename or remove the project that you were last working on. Look at how Flex Builder loads and you may see that the MXML file is the real issue and not Flex Builder.

    Hope this helps. If not let me know what version you are using etc…

    Happy Flashing

  9. HI,

    I did it but after restarting Flex 2 on Vista I have this error :
    !ENTRY org.eclipse.ui.workbench 4 0 2007-08-29 10:25:11.169
    !MESSAGE Widget disposed too early!
    !STACK 0
    java.lang.RuntimeException: Widget disposed too early!
    at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:151)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:101)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:848)

  10. Thanks Curtis! Not sure how you found the time to write this up – really made my night. I’ve been stuck on this and have been so generally frustrated with Vista. I hope you find the just the post you need at some point in the future. Thanks.

    Peter

Comments are closed.