LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-18-2010, 03:41 PM   #1
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
how do I install java jdk on slackware


I want to install it system wide not just for one user
I downloaded the jdk-6u23-linux-x64.bin file ran it
I now have a ~/tmp/jdk1.6.0_23 with everything java in it
so where do I put what ?
and is there a slackbuild scrit for installing this ?
 
Old 12-18-2010, 03:45 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
'jdk.SlackBuild' , etc.

ftp://ftp.slackware.org.uk/slackware.../source/jdk-6/
→ →
The file HOWTO-BUILD-TXZ tells how to use your version of jdk.

Just download all 12 files + the profile folder,
move it all to a "jdk" folder and run # sh jdk.SlackBuild
..

Last edited by knudfl; 12-18-2010 at 03:52 PM.
 
Old 12-18-2010, 04:17 PM   #3
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 74
i think there is a ready-made jdk txz in /extra, as well.
 
Old 12-18-2010, 04:20 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@trademark91

As you can see, the above link says 'extra'
ftp.slackware.org.uk/slackware/slackware-13.1/extra/source/jdk-6/

But that's version 6u20.
..
 
Old 12-18-2010, 05:00 PM   #5
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
thanks guys
downloaded and ran the script installed the package
 
  


Reply



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
slackware 13.1 java jdk path problems with netbeans molossus Slackware 7 08-19-2011 07:49 AM
[SOLVED] Java Woes: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available ... chytraeus Slackware 10 11-27-2010 10:04 AM
How to install a very specific subversion of Java (JDK/JRE) rose_bud4201 Linux - Software 2 06-16-2008 09:45 AM
LXer: How To Install Sun Java SE 6 JDK and NetBeans 5.5.1 - Fedora 7 LXer Syndicated Linux News 0 08-22-2007 06:51 PM
How do I install java jdk 1.5 on RHEL? daveb1040 Linux - Software 2 12-23-2006 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration