Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-26-2013, 04:37 PM
|
#1
|
Member
Registered: May 2009
Distribution: Slackware64-14.1
Posts: 138
Rep:
|
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. 
|
|
|
11-26-2013, 04:40 PM
|
#2
|
Member
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 421
Rep: 
|
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.
|
11-26-2013, 04:45 PM
|
#3
|
Member
Registered: May 2009
Distribution: Slackware64-14.1
Posts: 138
Original Poster
Rep:
|
@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.
|
|
|
11-26-2013, 06:43 PM
|
#5
|
Member
Registered: May 2009
Distribution: Slackware64-14.1
Posts: 138
Original Poster
Rep:
|
@kikinovak: Thanks.
|
|
|
11-26-2013, 08:17 PM
|
#6
|
Member
Registered: Apr 2011
Location: British Columbia, Canada
Posts: 304
Rep: 
|
Is it legal to redistribute the Oracle JDK?
|
|
|
11-26-2013, 09:13 PM
|
#7
|
Member
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 421
Rep: 
|
The SBOPKG may not work. I built it with the slackbuild.
|
|
|
11-27-2013, 12:27 AM
|
#8
|
MLED Founder
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453
|
Quote:
Originally Posted by bosth
Is it legal to redistribute the Oracle JDK?
|
Probably not. I've redistributed it under the WTFPL. 
|
|
1 members found this post helpful.
|
11-27-2013, 03:49 AM
|
#9
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Quote:
Originally Posted by kikinovak
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
|
|
|
11-27-2013, 04:33 AM
|
#10
|
MLED Founder
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453
|
Quote:
Originally Posted by Alien Bob
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
|
|
|
11-27-2013, 08:02 AM
|
#11
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
|
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.
|
All times are GMT -5. The time now is 07:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|