2
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.
Zend Studio 7.0.2 or 7.1 is provided with a 64-bit version.
7.0.2 – http://www.zend.com/en/products/studio/downloads
7.1 – http://www.zend.com/en/products/studio/downloads-…
Roy,
Thanks for letting me know. Will try it out.
Good tutorial. Gonna keep as a resource since it has the solution for both
Julian,
Thanks for helping me out buddy.. I did an upgrade to 9.04, then to 9.10 and my Zend was totally hosed… I did you lib install and it immediately worked..
Thanks again buddy
No problem Dustin.. Is my pleasure and it makes me happy that with the help of my blog post you were able to fix your issue.
Thanks!