LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 08-06-2012, 12:06 PM   #1
Laxman_prodigy
Member
 
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?


Hi.
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 12:07 PM. Reason: Added info.
 
Old 08-06-2012, 12:23 PM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
This is the README from the /extra/java in Slackware-current
Quote:
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, 12:30 PM   #3
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 609

Rep: Reputation: 180Reputation: 180
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, 02:10 PM   #4
Laxman_prodigy
Member
 
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, 02:29 PM   #5
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 327

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

http://www.linuxquestions.org/questi...-a-4175418118/
 
  


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


All times are GMT -5. The time now is 08:49 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration