ConradDecker.com

Random ramblings of this Jax Beach based software developer


ConradDecker.com is the online playground of, you guessed it, Conrad Decker. He's a small business owner and web developer located in the Jacksonville, FL area.

Phew…I’ve finally cracked the craziness that is installing Zend Studio on a 64 bit linux architecture!

I recently purchased a new computer, a computer that I’ve been so excited to setup and get running in the new office. Unfortunately, it’s taken me much longer then anticipated as I’ve decided to make the jump to running only Linux as my OS. Don’t get me wrong…I’m still planning on running a virtualized Windows, just in case I need it for anything, but I’ve been wanting to make this jump for a little while especially since I spend about 95% of my development time navigating through linux.

I definitely met some struggles along the way, some that I’ll probably document here as I have time, but the most recent struggle that I came across, was installing Zend Studio. I’ve installed Zend Studio on linux before, but I was unaware that there wasn’t a 64bit distribution. In an effort to document my steps in case I need to do this again, and also in hopes of lending a hand to other individuals out there that are having the same problem - I figured I’d blog about it. So without further ado - here are my instructions on how to Install Zend Studio for Eclipse version 6.0.1 on a 64bit Fedora Core 9 machine. For the abridge version - scroll to the bottom of the page.

Before I realized ZS didn’t come with a 64bit version, I downloaded the installer and gave it ago. Only to get the following output.

Preparing to install…
Extracting the JRE from the installer archive…
Unpacking the JRE…
Extracting the installation resources from the installer archive…
Configuring the installer for this system’s environment…

Launching installer…

‘SWING’ UI not supported by VM. Reverting to AWT.
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.UnsatisfiedLinkError: /tmp/install.dir.24722/Linux/resource/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.(Unknown Source)
at java.awt.Component.
(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.g(DashoA8113)
at com.zerog.ia.installer.LifeCycleManager.h(DashoA8113)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
at com.zerog.ia.installer.Main.main(DashoA8113)
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 com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

From there…I looked a little further and realized that there was in fact no 64-bit installer. I followed my tried and true method of googling my problem to see if anyone else ran across the same snafu, at which time I found this site. While, it opened my eyes a little bit, it didn’t help in my process much as I realized it was from 2005. Being a paying customer I reached out to the Zend technical support. They informed me that they don’t support ZS on 64bit architectures, but the gentleman was nice enough to try and point me in the right direction. He told me that ZS should be able to run, as long as I have the 32bit libraries installed. I wasn’t overly impressed with their support as they weren’t very helpful, but I did appreciate the pointers.

At this point I was getting a little pissed, why couldn’t this be easier? I knew jumping to Linux was gonna be a pain, but I needed to get this working otherwise the computer was pointless to me. Back on the horse…

A little bit of time went by before I was able to find someone else who was having similar problems. I came across this site, and noticed Josh was getting similar errors - by the way, thanks so much for posting your experience Josh it was definitely helpful. While I was actually taking tiny steps in the right direction, Josh’s solution to the error was to install the ia32-libs which don’t exist for Fedora - so I had to figure out what the equivalent of those were.

More googling led me to this thread on the Fedora Forums. I followed those instructions paying specific attention to the last post regarding editing your “/etc/yum.conf” file and adding “multilib_policy=all”. After following these tips, I was able to install the libXtst.i386 libraries, but I still got errors when I tried to run the Zend Studio installer. Errors about loading shared libraries blah, blah, blah. At this point, it’s obvious to me that this isn’t going to be an easy transition to Linux. However, I didn’t know everything about Windows when I first started either, so I’m attributing all of this to a learning experience :-)

After my most recent error - I hit Google again using this search. That, of course, led me back to a thread on the Fedora Forums. I know it doesn’t look like it’s related because it’s based around getting flash working on a 64bit version of FC9, but don’t leave yet. The last piece of information that I needed came from this post on the thread - where stevea states that the file /usr/lib/libgtk-x11-2.0.so.0 is missing and we’ll need to install the gtk2 libraries by running “yum -y install gtk2.i386″. After doing that I tried running the installer again - and VOILA!! I had Zend Studio for eclipse running on my 64bit version of Fedora Core 9. PHEW!!!

Okay…so where does this leave me on my feelings for my transition to Linux? Well, I’ll be honest…it makes me a little nervous. I am worried that if I move away from windows totally, that I may run into some issues along the way with Linux that I will have to figure out, and may take some time for me to nail down. However, I must also say that I’ve been using Fedora Core since version 3 and I’ve really liked the progression. As I become more and more engrained in Linux during my daily work - I know I’ll be pumped to finally escape the expensive grasp that is Microsoft. For those of you that are looking to make the jump - I say go for it, as long as you’re up for a learning experience. Overall though, Linux probably isn’t quite ready for the casual desktop user…YET.

After all of that talking, here’s my abridged version for those of you trying to install Zend Studio for Eclipse on a 64bit Fedora Core 9 installation.

  1. Install Fedora Core
  2. Download the Zend Studio installer from the Zend.com website.
  3. Make sure that you’ve got all of the necessary libraries installed.
    • Modify /etc/yum.conf by adding multilib_policy=all to the bottom of the configuration settings, but above the repository listings.
    • Install the libXtst libraries by running yum install libXtst.i386
    • Install the gtk2 libraries by running yum -y install gtk2.i386
  4. Install Zend Studio by running ./ZendStudioForEclipse-6_0_1.bin

And that should be it, you should get a gui for the installer that will walk you through the installation process. I hope this helps anyone that reads it.

3 Responses to “Installing Zend Studio for Eclipse on 64 bit Fedora Core 9”

  1. The site you link to with the post about Zend Studio on 64bit linux from 2005 is mine.

    I’ve long since moved on from the world of PHP, but I am *stunned* that they still haven’t sorted this out.

    It’s Java for goodness sake!

    Congrats for figuring it out :)

    Chris Jones

  2. Awesome, well thanks for the post!

    I’m surprised Zend hasn’t worked it out either, however…I was actually contacted by a Zend rep recently in hopes of getting some information on how I got it working. It sounds like they’re putting some documentation together to make it easier.

    That will certainly be nice :-)

    Conrad Decker

  3. […] public links >> gtk2 Installing Zend Studio for Eclipse on 64 bit Fedora Core 9 First saved by Skyentertaiment | 1 days ago Learning PHP-GTK2 First saved by HannahDora | 8 […]

    Recent Faves Tagged With "gtk2" : MyNetFaves

Leave a Reply