LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Help. Dumb down Java install (https://www.linuxquestions.org/questions/linux-software-2/help-dumb-down-java-install-137417/)

mikedeatworld 01-22-2004 07:58 AM

Help. Dumb down Java install
 
Welp. I don't get it. I have read so many different tutorials and walk throughs on how to install Java VM.

The installation goes well. However, I need help finding how to do the "sim link?" so Java knows what folder to point to.

I am running slackware and am somewhat new to Linux. Please Dumb this down a bit. This is the only application I have had trouble installing since day one. Advice?

Thanks.

Mike

hw-tph 01-22-2004 08:56 AM

A "symlink", or symbolic link, is created using the ln command with the -s (for symbolic) switch. There are several different ways of actually using the command, but I recommend cd'ing to the directory where you want the link located, and then create the link with the command ln -s <location we want to link to> .
The dot means "current directory", so the command above basically means "create a link named like the file or directory we're linking to in this directory".

So, for a real-world test: cd to /usr/lib/mozilla/plugins, and if the plugin file is in /usr/local/java/j2sdk-1.4.2_03/jre/plugin/ns610-gcc32 then type ln -s /usr/local/java/j2sdk-1.4.2_03/jre/plugin/ns610-gcc32 .
It's that simple. Make sure that you're linking to the correct file - I made up the location above so you may have better luck if you thoroughly research where the file is first. :)


Håkan

rocannon 01-22-2004 12:25 PM

go to this link: http://java.sun.com/j2se/1.4.2/manua...all_linux.html

it's on the sun website and explains how to create the necessary symbolic link.

RolledOat 01-22-2004 10:37 PM

Or, do this...

http://www.linuxquestions.org/questi...hreadid=137662

R.O.


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