Bugzilla – Bug 360529
java-1_6_0-sun-src package is missing in the main repository
Last modified: 2009-01-09 10:57:14 UTC
There is no jdk source code package available for jdk 1.6 in the main repository, which is highly needed during development. There is java-1_5_0-sun-src source package for java 1.5, but no 1.6 analog. Also there is no javadoc packages neither for 1.5, no for 1.6 javas. But for jdk 1.5 this is ok - both eclipse and netbeans can generate javadoc from jdk sources on a fly; but for jdk 1.6 I even can't see javadoc comments for jdk standard classes during code autocompletion for example (this could be still solved just by adding jdk1.6 source code package, so probably separate javadoc packages are not needed).
Java 1.6 source package is also missing in opensuse 11 repositories (i586).
Removing NEEDINFO, as there is no further info needed?
Also move it to opensuse 11.0 as it is mainstream now
Can someone please do one of the following: a) Whoever did the current Java packaging, can you please look in the directories created by the Sun distribution *.bin for the src.zip and create the java-1_6_0-sun-src package? In case you can't find it... it is here: http://java.sun.com/products/archive/j2se/6u6/index.html b) Grab a newer version of Java than the one in the SuSE repo and just create a new update that this time includes the src zip and push it down the pipe as an update... we developers will automatically look for the src zip. WORKAROUND FOR DEVELOPERS: Download the current JDK in SuSE 11 from http://java.sun.com/products/archive/j2se/6u6/index.html run it, and point your IDE to the src.zip in the distro.
The packaging of the Java src.zip is not complicated and it's easy to do that. There're some legal issues so we don't have a permission to distribute that package. BTW: Better workaround is usage of the java-1_6_0-openjdk-src package.
Must be a new legal problem? The package used to be provided. As for using the java-1_6_0-openjdk-src package, there is the possibility that they are not the same. We would have to do a diff between the two source trees plus run it inside the different IDE's to confirm that it works. On the other hand we are assured that the one from Sun is the one that works. Can someone attach the instructions or script on how to package the Sun zip?
Legal issues? But why is there java-1.5 src package then? It would be really nice to ship src package for 1.6.
Right now there are no sourcecodes in the 1.5.0u17 devel packages anymore as well. What exactly are those legal issues? Have these arosen only lately, as the sourcecodes used to be distributed previously? Any java developer for commercial applications (of which the majority is running on Sun JVMs) now must go and download and install the JDK manually from Sun. That does make openSUSE not very attractive for Java developers...
I am having the maintained data be updated so the java-1_5_0-sun-src and java-1_6_0-sun-src will be delivered with the next updates. A java-1_5_0-sun-src for u17 is at http://download.opensuse.org/update/11.0/rpm/i586/java-1_5_0-sun-src-1.5.0_update17-0.1.i586.rpm -> Rudi ... I already sent you an email with the details.
okay, maintenance data updated for 10.3-11.1