SlackwareThis 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.
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.
[1] The build doesn't parallelize properly, see http://mail.openjdk.java.net/piperma...er/016062.html
[2] When README-builds.html says "NOTE: The Complete OpenJDK Source Bundles will contain the JAXP and JAX-WS sources", it's lying
[3] If you're running kernel 3.0 or 3.1, the build fails -- towards the end -- with "This OS is not supported"
I have packages for OpenJDK (a jdk and a jre package) which I created for Slackware-current. It took a while because I wanted OpenJDK to compile against the GCC java compiler after removing all traces of the Oracle java packages.
That "bootstrapping" of OpenJDK is quite complicated and it also required that I modified Slackware's gcc and seamonkey packages.
The reason for wanting to bootstrap the compilation is that I want to see if I can get OpenJDK built for ARMedslack. That does not yet have a JRE or JDK package at all (apart from "gcc-java").
I hope (once I re-built them from scratch to test the script and added a browser plugin for Java) that Pat Volkerding will accept all of this so that we can have a free JDK in Slackware (Oracle no longer allows for the new releases of their JDK and JRE to be bundled with distros).
Also, I have not even tried the packages to see if they actually work :-) I literally just finished compiling them. Today's post reminded me that I had a failed attempt at building OpenJDK sitting on my computer (I promised Pat early november that I would come up with a package to replace the Oracle stuff). And today I saw the flaw in my SlackBuild which prevented me from bootstrapping it against gnu java.
I can confirm that the OpenJDK package works on my Slackware-current laptop - including the separate browser plugin package (icedtea-web) which I also created.
I have uploaded the sources and scripts to Pat Volkerding's server so he can have a look at the required changes to gcc and seamonkey.
Let's hope we'll see movement in slackware-current soon.
I hope (once I re-built them from scratch to test the script and added a browser plugin for Java) that Pat Volkerding will accept all of this so that we can have a free JDK in Slackware (Oracle no longer allows for the new releases of their JDK and JRE to be bundled with distros).
But, would it still be allowed for an end user to download the official Oracle binaries and install them by repackaging them using a local SlackBuild? eg: what we do for Google Chrome or Google Earth?
Is there room for a third-party developed SlackBuild (SBo, for instance) that simply downloads the official Oracle binaries and converts them into a Slackware package?
Will the OpenJDK be full compliant with the official Oracle java binaries? I ask this because I've happened to use OpenJDK browser plugin on an Ubuntu distribution some months ago, and some specific applet did not work correctly until I removed the OpenJDK packages and installed the official ones.
Is there room for a third-party developed SlackBuild (SBo, for instance) that simply downloads the official Oracle binaries and converts them into a Slackware package?
Of course. There will definitely be a Sun JDK7 SlackBuild on SBo.
If you want to have Sun JDK 7 *now*, btw, you can use Pat's Sun JDK6 SlackBuild to build it.
I can confirm that the OpenJDK package works on my Slackware-current laptop - including the separate browser plugin package (icedtea-web) which I also created.
I have uploaded the sources and scripts to Pat Volkerding's server so he can have a look at the required changes to gcc and seamonkey.
Let's hope we'll see movement in slackware-current soon.
Eric
The slackbuild of OpenJDK is available somewhere?
If not it is possible to make it public?
The slackbuild of OpenJDK is available somewhere?
If not it is possible to make it public?
Thanks for your effort
I have uploaded all sources, patches and scripts as well as 64bit packages to Pat Volkerding's server. I hope he approves those and adds them as updates to slackware-current soon.
Otherwise, if Pat does not show signs of activity, I will make all of that stuff public and create 32bit packages as well.
I have uploaded all sources, patches and scripts as well as 64bit packages to Pat Volkerding's server. I hope he approves those and adds them as updates to slackware-current soon.
Otherwise, if Pat does not show signs of activity, I will make all of that stuff public and create 32bit packages as well.
Eric
Thanks.
Is there any advantage or disadvantage on using OpenJDK instead of JDK?
Is there any advantage or disadvantage on using OpenJDK instead of JDK?
I have no idea. My guess is that Oracle adds stuff to its own JDK which is not part of OpenJDK. The OpenJDK packages which I built are my first attempt and there are several variations in the choice of VM's and JIT compilers. I picked the defaults and it remains to be seen if that is the optimal choice. Also, the open source java webbbrowser plugin (icedtea-web) is not as good as the plugin which is included with the binary builds from Oracle. It will be a matter of choice and/or principle which version you choose to install.
The good thing is that this choice exists of course. I presume that Slackware will be shipping OpenJDK/JRE packages in future and http://slackbuilds.org/ would be a good place to provide a version of Slackware's current jdk.SlackBuild script which simply re-packages the Oracle binaries. It is absolutely allowed to download the Oracle binaries for private use. Oracle's binary license just no longer allows 3rd parties to re-distribute those. A shame, and illustrative of Oracle's view of the Open Source community and Free Software, but that's how it is.
I can confirm that the OpenJDK package works on my Slackware-current laptop - including the separate browser plugin package (icedtea-web) which I also created.
I have uploaded the sources and scripts to Pat Volkerding's server so he can have a look at the required changes to gcc and seamonkey.
Let's hope we'll see movement in slackware-current soon.
Eric
Oh great. Thanks, I shall have a look on your site.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.