LinuxQuestions.org
Visit Jeremy's Blog.
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 08-06-2012, 11:06 AM   #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 11:07 AM. Reason: Added info.
 
Old 08-06-2012, 11:23 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
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, 11:30 AM   #3
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
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
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, 01:29 PM   #5
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331

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

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


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
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

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

All times are GMT -5. The time now is 07:14 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