Karanbir Singh wrote:
John Summerfield wrote:
We cant build and ship out the java stuff without using some jre / jvm - IcedTea is not quite there yet. And I dont think we can actually ship any jdk due to licensing issues. Could we ?
I'm sure you can ship jre, always have "with your application." Wrt jdk, I'd check the licence with the latest, and if in doubt ask Sun or ship something to download it and install it from Sun's site.
I am relatively sure that putting jre in a repo didnt meet the criteria of 'with the app'. Sun had something called the DDL for distro's that wanted to ship their Java stack, however their terms didnt go down well with the CentOS developers and also they wanted various bits of paper signed etc. So, imho, Sun's stuff is quite far off the radar.
RedHat seem to rely on Bea stack, does anyone have a decent idea on what their terms might be ? Would someone like to actually knock on their door and ask ?
Or there's the OpenNMS guys that are probably using the 'distributing with application' approach. But, if you set up the yum repository here http://www.opennms.org/index.php/Installation:Yum you can 'yum install opennms' which is a really nice network management/monitoring tool. Or you can just 'yum install jdk'and get a working Sun Java 1.5.
There's also the jpackage nosrc approach if you want to stay on the safe side. You pick up your own non-rpm copy of the jdk from sun and it builds a packaged version with all the 'provides' and symlinks to keep rpm and the alternatives system happy. I've never understood why that hasn't been in the stock repo from the start, especially for 5.x where there isn't a jpackage repo that works.