LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Installing softlink to java? (https://www.linuxquestions.org/questions/mandriva-30/installing-softlink-to-java-283880/)

usernameddr 01-29-2005 07:58 PM

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

Micro420 01-29-2005 09:39 PM

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

usernameddr 01-30-2005 07:47 AM

I fixed it its ok but there it uses JRE I use JDK I just switch the filenaems.

Gitzo645 01-30-2005 11:52 AM

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)

Lakota 01-30-2005 12:33 PM

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)

sbassett 02-04-2005 01:47 PM

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.


All times are GMT -5. The time now is 05:37 AM.