LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   error installing java sdk on debian (https://www.linuxquestions.org/questions/debian-26/error-installing-java-sdk-on-debian-412254/)

packinNoVa 02-06-2006 11:01 AM

error installing java sdk on debian
 
I searched the forum and found something similar, but the answers given to that person didn't work for me(suggested updating - did that didnt work, suggested symlink - tried that - no work). I initially thought it was because my libstdc++ was older(libstdc++5) so I apt'd it. It's now at libstdc++6 vs3. I still get the same error. I also checked my $PATH and it includes the lib dir. I'm fairly new at this so any help is greatly appreciated.

cms01:/home/"user"# ./j2eesdk-1_4_03-linux.bin
./j2eesdk-1_4_03-linux.bin: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
cms01:/home/"user"# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/lib

deroB 02-06-2006 11:20 AM

Hi, try using this method:
http://wiki.serios.net/wiki/Debian_J...gettingstarted

this uses java-package to create a debian package:
eg.
Quote:

apt-get install java-package fakeroot
fakeroot make-jpkg jre-1_5_0_06-linux-i586.bin
dpkg -i sun-j2re1.5_1.5.0+update06_i386.deb

mrcheeks 02-07-2006 07:26 AM

try
Code:

apt-get install libstdc++6


All times are GMT -5. The time now is 09:31 PM.