| HOWTO: Install JBuilder on a Debian Linux | |
|
zurück |
Autor : Marcin Brzoza This is a small description "how to install jb on debian", if the JBuilder installation breaks with the following error: This application will now exit. (LAX) Stack Trace: java.lang.NoClassDefFoundErrorThis happens, because JBuilder uses Sun's JDK and this needs the old glibc. To solve this problem you should fist check, which glibc is installed: bash:~# ls -la /usr/lib/libstdc++-libc6.1-1.so.2 ls: /usr/lib/libstdc++-libc6.1-1.so.2: No such file or directoryIf the old glibc is not installed, you have two possibilities: the first is to install the old lib in this way: apt-get install libstdc++2.9-glibc2.1or the second possibility is to create a symbolic link to the new glibc. You can realize this in this way: (1) bash:~$ la -la /usr/lib/libstdc++-* ... 256240 Feb 19 2000 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so ... 288444 Feb 27 01:18 /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so(2) make the symbolic link: bash:~# ln -s /usr/lib/libstdc++-libc6.1-1.so.2 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.soand (3) check it: debuger:~# ls -la /usr/lib/libstdc++-libc6.1-1.so.2 ... 30 Feb 9 17:45 /usr/lib/libstdc++-libc6.1-1.so.2 -> libstdc++-2-libc6.1-1-2.9.0.soNow Java will run. To test this, install the Sun JDK (1.3.x or 1.4.x) and start any swing application. If the Application is running, you can try to install JBuilder. it should work now top of page zurück |