Installing Zend Studio on Ubuntu 64-bit
Today I tried to install Zend Studio 7.0 on the latest 64-bit version of Ubuntu (9.10). Initially, it would just throw an error. (exec: 2481: /tmp/install.dir.2855/Linux/resource/jre/bin/java: not found). Since, the error was related to the installer not being able to find the java JRE that came bundled with the installer, I decided to install with the system’s JRE using:
./ZendStudio7_0_0.bin LAX_VM /usr/bin/java
That seemed to do the trick, but, once the installer had finished. Trying to open Zend Studio would give me an error (Failed to execute child process “/usr/local/Zend/Zend Studio-7.0.0/ZendStudio” (No such file or directory)). At this point I was about to give up, until I did a little bit of research and found that the problem was more simple that I imagined.
Just run the following command in your terminal window:
sudo aptitude install libc6-i386 ia32-libs
ia32 is a package that contains runtime libraries for the ia32/i386 architecture, configured for use on systems running a 64-bit kernel. This will allow to install and run Zend Studio, but It will enable compatibility with any other application designed for 32-bit processors.
After running the above command, and installing Zend Studio, I ran into my second problem. A bug in eclipse that would not allow me to click on next or finish in certain windows. In my case, was when I was trying to create a new remote connection. To fix this problem I had to do the following steps:
- 1). Open terminal and go to Zend Studio Directory.
- 2). Create a new file called ZendStudio.sh and open it.
vi ZendStudio.sh - 3). Paste the following code, save and then close it:
#!/bin/sh
CURDIR=`dirname $0`
export GDK_NATIVE_WINDOWS=1
$CURDIR/ZendStudio - 4). Change the permissions of the file for execution
chmod +w ZendStudio.sh - 5). Go to your application launcher, and right click and select properties.
Once in the properties dialog, modify the command field.Change the path from:
"/home/{USER}/Zend/ZendStudio-7.0.0/ZendStudio"to
"/home/{USER}/Zend/ZendStudio-7.0.0/ZendStudio.sh"So basically you are adding the .sh extension.
- 6). Close the window and open Zend Studio, everything should be working fine now.
I hope this information helps you if you happen to run with the same problem I did. Let me know if you have a different solution.
This entry was posted on Monday, November 2nd, 2009 at 2:38 pm and is filed under Solutions. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.




juliancc November 2nd, 2009 at 8:51 pm
Roy,
Thanks for letting me know. Will try it out.