Java Symbiolic Links Problem
Heyas,
I was trying to help my friend get into Linux, and we were setting up Java. However, when he went to create the links from the java folder ot /usr/bin he had the command slightly wrong, now Java can't be found and he cannot use teh correct command. Here is what he typed: ln -s /usr/java/j2sdk-1_4_2_03/bin/* /usr/bin Here is what he should have typed: ln -s /usr/java/j2sdk-1.4.2_03/bin/* /usr/bin This is the error that he gets when he types what he should have typed: ln: `/usr/bin/*': File exists This is on Mandrake 9.2. I am assuming it is trying to create a link to the original directory, even though it does not exist. Now, we need to remove the original links so that he can create the ones that are correct. Does anyone know how we would go about doing this? Thanks, Chris |
There is no need for symlinks.
U just need to add the /usr/java/j2sdk-1_4_2_03/bin/ to ur path variable. U can add that in /etc/profile |
All times are GMT -5. The time now is 12:18 PM. |