Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-19-2004, 02:09 PM   #1
Registered: Oct 2004
Location: Sac, Calif
Distribution: Slackware 10.0
Posts: 123

Rep: Reputation: 15
How do you install Java in slackware?

I've gone to and all they have are rpm's, is there a .tar.gz file i can compile or something? Thanks
Old 11-19-2004, 02:39 PM   #2
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
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)
Old 11-19-2004, 02:42 PM   #3
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Do they provide anything other than an rpm? If not try rpm2tgz to make a slackpak.
good luck.
Old 11-19-2004, 09:00 PM   #4
LQ Newbie
Registered: Jul 2004
Distribution: Slackware 10
Posts: 27

Rep: Reputation: 15
get the self-extracting bin... it should install itself when executed.
Old 11-19-2004, 09:44 PM   #5
Senior Member
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,257

Rep: Reputation: 48
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.
Old 11-20-2004, 01:37 AM   #6
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
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....
Old 11-20-2004, 06:16 AM   #7
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
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.
Old 11-20-2004, 06:33 AM   #8
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Well if you've a decent connection you could just update the j2sdk package to current since it's 1.5.0 version there.
Old 11-20-2004, 10:51 PM   #9
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 31
Quoth jong357
Yea, but JRE 5.0 just came out...
Then grab the updated package from -current:
(Or your preferred mirror)
Old 11-21-2004, 02:35 AM   #10
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

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


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
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 08:24 PM
Problems with Java Web Start (java 1.4.2 - 1.5.0) on Slackware Egy Slackware 11 05-10-2005 06:30 AM
install java in Slackware The Chain Linux - General 5 11-13-2004 10:50 PM
Slackware 10, Where is Java? atogbe Slackware 7 08-06-2004 08:13 AM
Java and Linux Slackware Juan Araya Linux - Newbie 1 04-30-2003 02:11 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration