LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   JDK and Slackbuilds.org (https://www.linuxquestions.org/questions/slackware-14/jdk-and-slackbuilds-org-4175485968/)

neymac 11-26-2013 04:37 PM

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.:mad:

arfon 11-26-2013 04:40 PM

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

neymac 11-26-2013 04:45 PM

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

kikinovak 11-26-2013 05:12 PM

Quote:

Originally Posted by neymac (Post 5071061)
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.:mad:

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/

neymac 11-26-2013 06:43 PM

@kikinovak: Thanks.

bosth 11-26-2013 08:17 PM

Is it legal to redistribute the Oracle JDK?

arfon 11-26-2013 09:13 PM

The SBOPKG may not work. I built it with the slackbuild.

kikinovak 11-27-2013 12:27 AM

Quote:

Originally Posted by bosth (Post 5071138)
Is it legal to redistribute the Oracle JDK?

Probably not. I've redistributed it under the WTFPL. ;)

Alien Bob 11-27-2013 03:49 AM

Quote:

Originally Posted by kikinovak (Post 5071233)
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

kikinovak 11-27-2013 04:33 AM

Quote:

Originally Posted by Alien Bob (Post 5071323)
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

tronayne 11-27-2013 08:02 AM

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.


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