Problem installing jdk1.3 in RedHat Linux Version 8.0
Hi,
I'm facing some problems with my Java installation due to which I'm not able to install another software which requires the JDK. Below is the steps that I'm following for the installation: 1. I have "j2sdk-1_3_1_01-linux-i386-rpm.bin" in /install directory 2. Code:
# cd install Code:
# ./j2sdk-1_3_1_01-linux-i386-rpm.bin 5. Code:
# rpm –ivh jdk-1.3.1_01.i386.rpm 7. Setting the path: Code:
# PATH=/usr/java/jdk1.3.1_01:/usr/java/jdk1.3.1_01/bin:$PATH I'm not able to install another software which requires this JDK. On further investigation, I find the following: 1. Commands like Code:
java -version Code:
javac 2. I can see the directories Code:
/usr/java/jdk1.3.1_01 Code:
/usr/java/jdk1.3.1_01/bin Code:
lrwxrwxrwx ..... javac -> Java_Wrapper I hope I have been able to explain my problem. Any help regarding this will be highly appreciated. Thanks in Advance. |
you do realise you are installing an ancient version of java on an ancient version of linux, right? You *REALLY* don't want to be doing this at all.
Navigating to the directories they are in will not help, the commands just need to be on your PATH variable and they will be found. as you current directory should NOT be on that list of locations to look it, it doesn't have any effect. |
Hey there coolprosu!
WOW! Way back machine! Can you believe I started out on this very forum/site with ... RehHat 8! All those CD's... :D Then I was given the same advice I'll give you now: switch to a newer distro. Reasons are simple: there are new challenges in the Internet an old(er) setup like ReHat8/Java1.3 cannot meet anymore, there are no updates for this software, up-to-date platforms to "play" with, ... the list goes on. I see you just registered. New to Linux? If so, I'll slide some links your way: Choose a distro you're comfortable with: http://www.zegeniestudios.net/ldc/ Networking in Linux http://www.comptechdoc.org/os/linux/...ide/index.html Intro to Linux http://tldp.org/LDP/intro-linux/intro-linux.pdf I see the windows logo...crossing over? Comparative info: http://linux.oneandoneis2.org/LNW.htm One day you'll need Java...so: http://www.wikihow.com/Install-Java-on-Linux And, of course you'll need answers too...but, you're already here! Welcome to the forum! Enjoy! Thor |
Quote:
Quote:
Code:
# PATH=/usr/java/jdk1.3.1_01:/usr/java/jdk1.3.1_01/bin:$PATH |
Quote:
Yes I know it's old. I explained why :) Thanks a lot for the links. I have been working with Java on Linux platforms for quite sometime, but never went too deep into Linux. Your links will help. I appreciate the welcome to this forum. Thanks again. |
Just to avoid confusion, my problem still remains.
Do I need to add anything else in the path? |
where did you set the path? do an "echo $PATH" to show what it really thinks it is where you're trying to run it from. Note that setting it in one shell like that and running something from another won't work.
|
Quote:
Code:
[root@localhost root]# echo $PATH |
|
Problem Resolved
Thanks everyone for guiding me towards the solution. Searching with the error message really helped.
All I needed to do was create a symbolic link: Code:
ln -s /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2 /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so was existing in my system |
i'm glad you found your solution and if you're happy with it and have no further questions relating to this thread, please mark this thread as solved ;-)
Kind regards Brownie |
Hi Brownie
Yes, did all three :) |
All times are GMT -5. The time now is 01:55 AM. |