Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-16-2004, 10:27 PM   #1
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Rep: Reputation: 30
Java Symbiolic Links Problem


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?

Old 02-16-2004, 10:30 PM   #2
Registered: Jul 2003
Posts: 658

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
links (hard links and soft links..) sachitha Programming 1 08-10-2005 12:10 PM
how to change relitive links to specific links? wolfe2554 Linux - General 4 07-03-2004 12:40 AM
How do you set up links or paths in LINUX? Mandrake 9.2 Java VM Ygarl Linux - Newbie 4 03-29-2004 03:00 PM
http links problem antken Linux - General 2 09-18-2002 11:08 AM
Links Section updated - Please add your Linux links. jeremy Linux - General 2 11-24-2001 11:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:06 PM.

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