LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   How do you install Java in slackware? (http://www.linuxquestions.org/questions/slackware-14/how-do-you-install-java-in-slackware-256941/)

gbdavidx 11-19-2004 02:09 PM

How do you install Java in slackware?
 
I've gone to sun.com and all they have are rpm's, is there a .tar.gz file i can compile or something? Thanks

mdg 11-19-2004 02:39 PM

It's on the slack installation disks. Check disk one, I think it's in the "d" directory. If you did a full install, it should be included.

If you want the slightly newer version, go to this page and download the self-extracting file (not RPM)

Peacedog 11-19-2004 02:42 PM

Do they provide anything other than an rpm? If not try rpm2tgz to make a slackpak.
good luck.

ilubtofart 11-19-2004 09:00 PM

get the self-extracting bin... it should install itself when executed.

ringwraith 11-19-2004 09:44 PM

As said above, there are self extracting bin files that you can get, but also as stated above, if you did a full install you already have it. It is now included in Slackware.

jong357 11-20-2004 01:37 AM

Yea, but JRE 5.0 just came out.... ;) I had to ditch the older SDK just so I would have a major version bump.... Don't need SDK anyway....

rotvogel 11-20-2004 06:16 AM

Extract the self extracting bin file. It will create a directory structure. Copy or move that to /usr/lib and recreate the /usr/lib/java symlink to point to your new java directory. After that run ldconfig.

If you're installing Java 5 (1.5.x) you could recreate the symlink to the browser plugin as well, since the location was changed in Java 5.

gbonvehi 11-20-2004 06:33 AM

Well if you've a decent connection you could just update the j2sdk package to current since it's 1.5.0 version there.

AxelFendersson 11-20-2004 10:51 PM

Quote:

Quoth jong357
Yea, but JRE 5.0 just came out...
Then grab the updated package from -current:
ftp://ftp.slackware.com/pub/slackwar...5_0-i586-1.tgz
(Or your preferred mirror)

jong357 11-21-2004 02:35 AM

hmm.. No kiddin... I need to start checking the PB more often... Too used to going upstream for everything... Nice heads up.


All times are GMT -5. The time now is 08:09 AM.