LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-19-2004, 03:09 PM   #1
gbdavidx
Member
 
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 sun.com and all they have are rpm's, is there a .tar.gz file i can compile or something? Thanks
 
Old 11-19-2004, 03:39 PM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
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, 03:42 PM   #3
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Do they provide anything other than an rpm? If not try rpm2tgz to make a slackpak.
good luck.
 
Old 11-19-2004, 10:00 PM   #4
ilubtofart
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, 10:44 PM   #5
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
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, 02:37 AM   #6
jong357
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, 07:16 AM   #7
rotvogel
Member
 
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, 07:33 AM   #8
gbonvehi
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, 11:51 PM   #9
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 30
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)
 
Old 11-21-2004, 03:35 AM   #10
jong357
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.
 
  


Reply


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 09:24 PM
Problems with Java Web Start (java 1.4.2 - 1.5.0) on Slackware Egy Slackware 11 05-10-2005 07:30 AM
install java in Slackware The Chain Linux - General 5 11-13-2004 11:50 PM
Slackware 10, Where is Java? atogbe Slackware 7 08-06-2004 09:13 AM
Java and Linux Slackware Juan Araya Linux - Newbie 1 04-30-2003 03:11 PM


All times are GMT -5. The time now is 11:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration