October 17, 2009
The great Ubuntu Karmik is just around the corner. If you happen to use Eclipse from the official eclipse webpage and you see that some eclipse buttons do not work, then apply the following hack. Make yourself a one line script to execute eclipse like follows:
#!/bin/bash
export GDK_NATIVE_WINDOWS=1
./eclipse
and it will work again. For tptp (the profiling tools for eclipse) you’ll need libstdc++5 package from debian.
1 Comment |
Linux, Ubuntu Linux, java, programming |
Permalink
Posted by jordilin
January 1, 2009
It seems that configuring Eclipse to work with Ubuntu is always a bit painful, mainly tptp and subversion. This post is all about tptp (test and performance tools for Eclipse). I have tested with Ubuntu 32 bit edition. First of all, of course, you’ll need to install tptp from ganymede. When you are going to profile some java app, you’ll get an error code IWAT0435E, saying that the agent could not be started.
First fix:
You’ll need to install libstdc++2.10-glibc2.2_2.95.4-27_i386.deb (no amd64 available) as the ACServer apparently was compiled against that old gcc version. Unfortunately, Ubuntu does not provide this library anymore, so you’ll have to grab it from Debian repos http://ftp.us.debian.org/debian/pool/main/g/gcc-2.95
Just click on it, and Ubuntu will install it. If you like command line (like me) and use 64 bit, then feel free to open a shell and type:
sudo dpkg –force-architecture –install libstdc++2.10-glibc2.2_2.95.4-22_i386.deb
Second fix:
Go to eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32_4.4.1.v200808290100/agent_controller/bin, and edit the files ACStart.sh, ACStop.sh. In first line, when it says #!/bin/sh, it should say #!/bin/bash.
The cool tptp now should work. Have fun, eclipse is an incredible ide
3 Comments |
java, programming | Tagged: eclipse, java, tptp, ubuntu |
Permalink
Posted by jordilin