hello everyone,
I am setting up a development environment in a slack64 box and added quite a few SBo packages (a list is appended).
I tried running eclipse but it wouldn't run giving an error
Quote:
JVM terminated. Exit code=2
|
searching for this error (and finding only threads about all other possible exit code numbers) seems to lead to the conclusion that the most usual problem is difference in architecture between eclipse and Java. As such I checked
which would return 'no such file or directory even though the file was there in the filesystem.
indeed
revealed that the executable that is referred to is the 32-bit one:
Quote:
nass@starcode:~$ which java
/usr/lib/java/bin/java
nass@starcode:~$ file /usr/lib/java/bin/java
/usr/lib/java/bin/java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
nass@starcode:~$
|
going one step further, the $PATH refers first the 32-bit /usr/lib and then the 64-bit /usr/lib64 one.
this is probably due to some of the SBo packages tampering with the the $PATH variable and adding the 32-bit paths as well (or at least prepending them to lib64 java)...
and the guilty script is /etc/profile.d/jdk.sh which prepends to $PATH the /usr/lib/java
since I have other slack64-v13.37 (non devel oriented) boxes without this problem, i assume it is a problem of the jdk package found in extra/. or is it..
should I change the /etc/profile.d/jdk.sh ? disable its execution or it will break other things?
Thank you for your help.
PS:the SBo packages I have installed are the following:
Quote:
nass@starcode:~$ ls -l /var/log/packages/ | grep SBo
-rw-r--r-- 1 root root 12324 May 9 19:06 GConf-2.32.4-x86_64-2_SBo
-rw-r--r-- 1 root root 5094 May 9 18:57 ORBit2-2.14.19-x86_64-1_SBo
-rw-r--r-- 1 root root 11459 May 10 11:46 avahi-0.6.30-x86_64-1_SBo
-rw-r--r-- 1 root root 1475 May 9 17:10 celt051-0.5.1.3-x86_64-1_SBo
-rw-r--r-- 1 root root 803 May 9 17:08 cutecom-0.22.0-x86_64-1_SBo
-rw-r--r-- 1 root root 2663 May 9 18:48 ddd-3.3.12-x86_64-1_SBo
-rw-r--r-- 1 root root 145887 Aug 24 18:47 eclipse-4.2-x86_64-1_SBo
-rw-r--r-- 1 root root 9216 May 10 21:01 fqterm-0.9.6.10-x86_64-1_SBo
-rw-r--r-- 1 root root 1723 Aug 24 15:04 freenx-0.7.3-x86_64-2_SBo
-rw-r--r-- 1 root root 1903 May 10 03:31 gconfmm-2.28.2-x86_64-1_SBo
-rw-r--r-- 1 root root 87009 May 10 03:29 glibmm-2.28.2-x86_64-1_SBo
-rw-r--r-- 1 root root 14188 May 10 01:07 gnome-keyring-2.32.1-x86_64-1_SBo
-rw-r--r-- 1 root root 8960 May 10 11:51 gnome-mime-data-2.18.0-x86_64-2_SBo
-rw-r--r-- 1 root root 8706 May 10 15:27 gnome-sharp-2.24.2-x86_64-1_SBo
-rw-r--r-- 1 root root 20413 May 10 12:00 gnome-vfs-2.24.4-x86_64-1_SBo
-rw-r--r-- 1 root root 20484 May 10 16:25 graphviz-2.28.0-x86_64-1_SBo
-rw-r--r-- 1 root root 11844 May 10 04:54 gtk-sharp-2.12.10-x86_64-1_SBo
-rw-r--r-- 1 root root 966 May 9 17:05 htop-1.0-x86_64-1_SBo
-rw-r--r-- 1 root root 7065 May 9 19:24 icu4c-4.6.1-x86_64-1_SBo
-rw-r--r-- 1 root root 3334 May 10 00:57 js185-1.0.0-x86_64-1_SBo
-rw-r--r-- 1 root root 23138 May 10 16:38 kdesvn-1.5.5-x86_64-1_SBo
-rw-r--r-- 1 root root 20896 May 10 11:50 libbonobo-2.32.1-x86_64-1_SBo
-rw-r--r-- 1 root root 15877 May 10 15:07 libbonoboui-2.24.5-x86_64-1_SBo
-rw-r--r-- 1 root root 3011 May 10 12:07 libcanberra-0.27-x86_64-1_SBo
-rw-r--r-- 1 root root 1122 May 10 03:32 libdaemon-0.14-x86_64-1_SBo
-rw-r--r-- 1 root root 1050 May 10 03:33 libgdiplus-2.10.9-x86_64-1_SBo
-rw-r--r-- 1 root root 14857 May 10 12:09 libgnome-2.32.1-x86_64-1_SBo
-rw-r--r-- 1 root root 8353 May 10 01:02 libgnome-keyring-2.32.0-x86_64-1_SBo
-rw-r--r-- 1 root root 14427 May 10 14:48 libgnomecanvas-2.30.3-x86_64-1_SBo
-rw-r--r-- 1 root root 21075 May 10 15:20 libgnomeui-2.24.5-x86_64-1_SBo
-rw-r--r-- 1 root root 2254 May 10 00:59 libproxy-0.4.7-x86_64-1_SBo
-rw-r--r-- 1 root root 4317 May 9 17:07 libsigc++-2.2.9-x86_64-1_SBo
-rw-r--r-- 1 root root 1061 May 9 17:08 libsigsegv-2.8-x86_64-1_SBo
-rw-r--r-- 1 root root 6120 May 10 01:10 libsoup-2.32.2-x86_64-2_SBo
-rw-r--r-- 1 root root 2541 May 10 01:01 libtasn1-2.9-x86_64-1_SBo
-rw-r--r-- 1 root root 68925 May 10 04:49 mono-2.10.9-x86_64-1_SBo
-rw-r--r-- 1 root root 9232 May 10 14:20 mono-addins-0.6.1-x86_64-1_SBo
-rw-r--r-- 1 root root 2205 May 10 15:36 mono-debugger-2.10-x86_64-1_SBo
-rw-r--r-- 1 root root 20433 May 10 15:46 monodevelop-2.8.6.5-x86_64-1_SBo
-rw-r--r-- 1 root root 1204 May 10 15:46 monodevelop-debugger-gdb-2.8.6.5-x86_64-1_SBo
-rw-r--r-- 1 root root 10007 May 9 17:36 ngspice-21-x86_64-1_SBo
-rw-r--r-- 1 root root 2529 May 10 00:50 nspr-4.8.9-x86_64-1_SBo
-rw-r--r-- 1 root root 5397 Aug 24 14:33 nx-3.5.0-x86_64-2_SBo
-rw-r--r-- 1 root root 3827 May 9 18:33 qemu-1.0.1-x86_64-1_SBo
-rw-r--r-- 1 root root 1926 May 10 20:53 qt-assistant-compat-4.6.3-x86_64-1_SBo
-rw-r--r-- 1 root root 35363 May 10 19:46 qt-creator-2.2.1-x86_64-2_SBo
-rw-r--r-- 1 root root 425506 May 10 20:09 qt-doc-4.7.0-x86_64-1_SBo
-rw-r--r-- 1 root root 34425 May 10 20:52 qt3-3.3.8b-x86_64-2_SBo
-rw-r--r-- 1 root root 901 May 10 20:56 qterminal-20111216_fe3055a-x86_64-1_SBo
-rw-r--r-- 1 root root 3099 May 10 20:55 qtermwidget-20111212_ccb7b88-x86_64-1_SBo
-rw-r--r-- 1 root root 3127 May 10 17:47 rapidsvn-0.12.0_1-x86_64-1_SBo
-rw-r--r-- 1 root root 18082 May 9 17:08 scons-2.1.0-x86_64-1_SBo
-rw-r--r-- 1 root root 2858 May 10 00:49 sound-theme-freedesktop-0.7-noarch-1_SBo
-rw-r--r-- 1 root root 1307 May 10 18:14 spice-0.10.1-x86_64-1_SBo
-rw-r--r-- 1 root root 1762 May 9 17:10 spice-protocol-0.10.1-noarch-1_SBo
-rw-r--r-- 1 root root 9839 May 10 18:02 valgrind-3.7.0-x86_64-1_SBo
-rw-r--r-- 1 root root 2387 May 10 18:06 valkyrie-2.0.0-x86_64-1_SBo
-rw-r--r-- 1 root root 27046 May 10 03:22 webkit-r61056-x86_64-1_SBo
-rw-r--r-- 1 root root 241106 May 10 17:35 wxPython-2.8.12.0-x86_64-1_SBo
nass@starcode:~$
|