Slackware carries a pre-packaged version of Sun Java on its mirrors, and has done so for several years. This comes from the Changelog for Slackware 8.0:
Mon Apr 2 15:30:09 PDT 2001
contrib/java/: Added Java(TM) 2 SDK, Standard Edition,
Version 1.3.0_02. Thanks to Sun Microsystems for
allowing us to include this with Slackware.
Prior to that, Slackware distributed the Blackdown JDK. I'm not sure what Patrick Volkerding did to get distribution rights, but there apparently has not been any issue getting the Sun version of Java included in the freely-downloadble version and even repackaged as a Slackware tarball.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds