LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-29-2005, 07:58 PM   #1
usernameddr
Member
 
Registered: Jan 2005
Posts: 47

Rep: Reputation: 15
Installing softlink to java?


I am installing java form this web site as help
http://www.fedoraforum.org/forum/sho...9&postcount=12
And it says to make a softlink
3. Create soft link of java to /usr/bin ' ln -s /usr/java/jre1.5.0_01/bin/java /usr/bin/java
What do I do I don't under stand it!?
Im useing JDK 1.5.0_01
 
Old 01-29-2005, 09:39 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Re: Installing softlink to java?

Quote:
Originally posted by usernameddr
I am installing java form this web site as help
http://www.fedoraforum.org/forum/sho...9&postcount=12
And it says to make a softlink
3. Create soft link of java to /usr/bin ' ln -s /usr/java/jre1.5.0_01/bin/java /usr/bin/java
What do I do I don't under stand it!?
Im useing JDK 1.5.0_01
You're supposed to get JRE, not JDK

www.java.com --> manual download
 
Old 01-30-2005, 07:47 AM   #3
usernameddr
Member
 
Registered: Jan 2005
Posts: 47

Original Poster
Rep: Reputation: 15
I fixed it its ok but there it uses JRE I use JDK I just switch the filenaems.
 
Old 01-30-2005, 11:52 AM   #4
Gitzo645
Member
 
Registered: Jan 2005
Location: Dallas
Distribution: Mandriva, CentOS
Posts: 41

Rep: Reputation: 15
i dunno exactly if this is what they ment, but it worked for me... make a link from your java folder/bin to /bin....i did that and all my java programs worked (limewire)
 
Old 01-30-2005, 12:33 PM   #5
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
Never change filenames of the file themselves to suite the instructions you are following. You will need to change the filename in the command to suit what you have downloaded. Usually due to you getting a more recent version than the guy who wrote the instructions in a forum, so the version numbers are different. That is when you change his instructions (fileversion number) to reflect what you downloaded.
Changing filenames in this case (&most cases) is bad, not just different version, but different packages altogether. Jre = java runtime environment (what we want to use on our machine to make java appz work), Jdk = java developers kit ( for programmers to use to create java appz)
 
Old 02-04-2005, 01:47 PM   #6
sbassett
Member
 
Registered: Dec 2004
Location: USA
Distribution: CentOS 4.4,Ubuntu 6.10&7.04,Win XP(the wife's)
Posts: 151

Rep: Reputation: 30
Quote:
Originally posted by Lakota
Never change filenames of the file themselves to suite the instructions you are following. You will need to change the filename in the command to suit what you have downloaded. Usually due to you getting a more recent version than the guy who wrote the instructions in a forum, so the version numbers are different. That is when you change his instructions (fileversion number) to reflect what you downloaded.
Changing filenames in this case (&most cases) is bad, not just different version, but different packages altogether. Jre = java runtime environment (what we want to use on our machine to make java appz work), Jdk = java developers kit ( for programmers to use to create java appz)
It looks as if he might have been talking about the actual path that he switched /usr/java/jdk-1 instead of /usr/java/jre-1. At least I hope that is what he is talking about.
 
  


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
how to create softlink from liblo.so.0.4.0 to liblo.so.0.5.0 farpoint Linux - Software 3 10-20-2005 03:21 PM
Softlink Smart Modem -- not connecting voyciz Linux - Software 1 08-02-2005 05:43 PM
softlink /usr to /home/usr ??? mlsfit Linux - General 4 11-09-2003 12:16 AM
Cannot create Linux softlink on smbfs neqboan Linux - General 0 07-30-2003 02:21 PM
Cannot make Linux softlink on smbfs neqboan Linux - Networking 0 07-30-2003 01:54 PM

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

All times are GMT -5. The time now is 08:05 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