LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-06-2006, 11:01 AM   #1
packinNoVa
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
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
 
Old 02-06-2006, 11:20 AM   #2
deroB
Member
 
Registered: Dec 2005
Location: Sydney, Australia
Distribution: Arch Linux
Posts: 208

Rep: Reputation: 30
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

Last edited by deroB; 02-06-2006 at 11:25 AM.
 
Old 02-07-2006, 07:26 AM   #3
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
try
Code:
apt-get install libstdc++6
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Java SDK 1.4.2_05 hevykevy7 Linux - Software 4 09-11-2004 04:39 AM
Installing JAVA SDK 1.3 on RedHat7.3 jenze76 Linux - Software 2 08-15-2004 10:31 AM
JAVA:problem in installing ECLIPSE SDk on LINUX nedian123 Programming 1 06-26-2004 09:37 PM
Java (jre/sdk) debian install Zaskar Debian 6 04-01-2004 06:32 PM
Installing Java SDK 1.4.2 grrr........... hadding Linux - Newbie 1 11-09-2003 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration