LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 30
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
 
Old 02-16-2004, 11:30 PM   #2
vinay_s_s
Member
 
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
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:02 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration