Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-06-2012, 11:06 AM   #1
Registered: Mar 2010
Location: New Delhi, India
Distribution: Slackware64 13.37
Posts: 104

Rep: Reputation: 0
How to install Java 7 in Slackware 13.37?

Just downloaded the source.tar.gz from the Oracle webpage. But, how do I install it? The instructions over there say, its a bin file but it isn't. Any help would be appreciated.

Edit: Please have mercy on me, I am quite a newbie to Slackware. Detailed how-to or info if any, somewhere would be helpful and much appreciated.

Last edited by Laxman_prodigy; 08-06-2012 at 11:07 AM. Reason: Added info.
Old 08-06-2012, 11:23 AM   #2
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,539

Rep: Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419Reputation: 1419
This is the README from the /extra/java in Slackware-current
This is a SlackBuild that will repackage Oracle Java into a package that
can be easily installed, upgraded, or removed using Slackware's native
package management tools.

To use it, you'll need Oracle's JDK or JRE package for Linux. Get the
appropriate version for your architecture, either 32-bit i586 or 64-bit
x64. Be sure to get the version that is packaged as a .tar.gz!

Then, run the script like this:

./java.SlackBuild /tmp/jre-7u5-linux-x64.tar.gz

A Slackware txz package will be created in /tmp. Install or upgrade it
with a command like this one (adjust for jdk or jre, arch, and version):

upgradepkg --install-new jre-7u5-x86_64-1.txz
1 members found this post helpful.
Old 08-06-2012, 11:30 AM   #3
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 635

Rep: Reputation: 186Reputation: 186
Well, seems you downloaded the source archive. You need to compile that but it's a long and tedious process.
You could use Alien's OpenJDK packages.
Old 08-06-2012, 01:10 PM   #4
Registered: Mar 2010
Location: New Delhi, India
Distribution: Slackware64 13.37
Posts: 104

Original Poster
Rep: Reputation: 0
Hey, thanks guys. I'll check that out.
Old 08-06-2012, 01:29 PM   #5
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 328

Rep: Reputation: 50
you could have a look here too


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
how do I install java jdk on slackware rob.rice Slackware 4 12-18-2010 05:00 PM
How to install java in slackware the right way? kummiliim Slackware 4 04-23-2007 12:06 PM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 08:24 PM
How do you install Java in slackware? gbdavidx Slackware 9 11-21-2004 02:35 AM
install java in Slackware The Chain Linux - General 5 11-13-2004 10:50 PM

All times are GMT -5. The time now is 01:02 AM.

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