LinuxQuestions.org
Help answer threads with 0 replies.
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-26-2013, 04:37 PM   #1
neymac
Member
 
Registered: May 2009
Distribution: Slackware64-14.1
Posts: 138

Rep: Reputation: 19
JDK and Slackbuilds.org


I tried install JDK using SlackBuild script from SlackBuild.org and the download link does not work because Oracle demands acceptance of the terms (on their site), and I had to search and download the source tgz from Oracles`s site, Is there any way to fix that link to send the acceptance? Without this fix the link from JDK slackbuild.org is useless.
 
Old 11-26-2013, 04:40 PM   #2
arfon
Member
 
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 421

Rep: Reputation: Disabled
It works, I built it the other night... Go to Oracle and manually download it after accepting it. Then run the slack build.

-or-

If you are building for 64 bit, you can use my package: http://www.slackwarepackages.com/sla...6_64-1_SBo.tgz
 
1 members found this post helpful.
Old 11-26-2013, 04:45 PM   #3
neymac
Member
 
Registered: May 2009
Distribution: Slackware64-14.1
Posts: 138

Original Poster
Rep: Reputation: 19
@arfon: that is what I said, I went to Oracle and downloaded the source and installed it, but when I used sbopkg to try install it didn`t work due the acceptance demand by Oracle. Thanks for the tip anyway.
 
Old 11-26-2013, 05:12 PM   #4
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157
Quote:
Originally Posted by neymac View Post
I tried install JDK using SlackBuild script from SlackBuild.org and the download link does not work because Oracle demands acceptance of the terms (on their site), and I had to search and download the source tgz from Oracles`s site, Is there any way to fix that link to send the acceptance? Without this fix the link from JDK slackbuild.org is useless.
Or you can just use one of these:

http://www.microlinux.fr/slackware/d...microlinux.txz

http://www.microlinux.fr/slackware/d...microlinux.txz

http://www.microlinux.fr/slackware/d....0-source/jdk/
 
2 members found this post helpful.
Old 11-26-2013, 06:43 PM   #5
neymac
Member
 
Registered: May 2009
Distribution: Slackware64-14.1
Posts: 138

Original Poster
Rep: Reputation: 19
@kikinovak: Thanks.
 
Old 11-26-2013, 08:17 PM   #6
bosth
Member
 
Registered: Apr 2011
Location: British Columbia, Canada
Posts: 304

Rep: Reputation: 127Reputation: 127
Is it legal to redistribute the Oracle JDK?
 
Old 11-26-2013, 09:13 PM   #7
arfon
Member
 
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 421

Rep: Reputation: Disabled
The SBOPKG may not work. I built it with the slackbuild.
 
Old 11-27-2013, 12:27 AM   #8
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157
Quote:
Originally Posted by bosth View Post
Is it legal to redistribute the Oracle JDK?
Probably not. I've redistributed it under the WTFPL.
 
1 members found this post helpful.
Old 11-27-2013, 03:49 AM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120
Quote:
Originally Posted by kikinovak View Post
Probably not. I've redistributed it under the WTFPL.
It is indeed against the license terms to re-distribute the binaries. Why do you think Slackware no longer ships packages?
The only proper way is to use and distribute OpenJDK. This is also what Oracle recommends.

Eric
 
Old 11-27-2013, 04:33 AM   #10
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157
Quote:
Originally Posted by Alien Bob View Post
It is indeed against the license terms to re-distribute the binaries. Why do you think Slackware no longer ships packages?
The only proper way is to use and distribute OpenJDK. This is also what Oracle recommends.

Eric
My tone may seem light-hearted, but I'm aware of the problem, Eric. And if folks look closely, they will probably find other not so legal things in MLED, or things that would make Richard Stallman's beard light up in flames of wrath.

This being said, I'm considering the move to OpenJDK for MLED 14.1.

Cheers,

Niki
 
Old 11-27-2013, 08:02 AM   #11
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Easy way is just use the SlackBuild in the /extra/java directory on your distribution disk... you do have the distribution disk, right? Of course, you could download the content of /extra from a mirror somewhere or other too. Actually, what you want is the content of /extra/source/java.

It's a pain where you sit that Oracle has Java (and other useful stuff) from it's purchase of Sun Microsystems and that they've changed the licensing but that's Oracle. Note that they gave OpenOffice to Apache and I, for one anyway, hope they'll do the same with Java; Larry doesn't believe in supporting anything he can't charge money for -- gotta pay for that boat somehow -- so maybe the future will be a little brighter.

In my own case, I must use Oracle JDK because an important application will not build with Open JDK -- the application is built from source with Apache Ant, Apace Maven and it runs in Tomcat. Installing Oracle JDK in Slackware 14.1 went just fine with the SlackBuild from the /extra directory (and has through multiple releases of JDK previously in 14.0) and the application built quickly and cleanly and is working with no problems (I did try building with Open JDK and it went blooey quickly, don't know why, don't care).

Ain't gonna be Oracle JDK without clicking the accept button for the license, hold you nose and accept it, eh?

Oh, yeah, the SlackBuild installs the browser plug-in but disables it (in Firefox and SeaMonkey anyway); make sure to check and see that the Java Plug-in is disabled in whatever browser you're using unless you absolutely must have that plug-in for a given web site.

Hope this helps some.
 
2 members found this post helpful.
  


Reply

Tags
jdk, slackbuilds


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
[SOLVED] Installed latest jdk from slackbuilds, but browser can't see it in plugins irgunII Slackware 4 05-21-2013 06:04 PM
openbox on slack13.37 (x86) -- Thanks to linuxquestions.org, slackbuilds.org & many vectrum Linux - Member Desktop Screenshots 5 02-03-2013 12:22 PM
Slackbuilds.org Knightron Slackware 8 02-06-2012 07:44 PM
slackbuilds.org harkonen Slackware 16 08-22-2007 02:01 PM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM

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

All times are GMT -5. The time now is 07:24 AM.

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