Bug 360529

Summary: java-1_6_0-sun-src package is missing in the main repository
Product: [openSUSE] openSUSE 11.0 Reporter: Anton Moiseev <benderamp>
Component: JavaAssignee: Ruediger Oertel <ro>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ciaran.farrell, forgotten_O-K8b4H4Da, hugo.a.garcia, jfrantzius, meissner
Version: Final   
Target Milestone: ---   
Hardware: 64bit   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Anton Moiseev 2008-02-11 12:03:21 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).
Comment 5 Jörg von Frantzius 2008-07-17 12:16:31 UTC
Java 1.6 source package is also missing in opensuse 11 repositories (i586).
Comment 6 Jörg von Frantzius 2008-07-21 11:15:04 UTC
Removing NEEDINFO, as there is no further info needed?
Comment 7 Anton Moiseev 2008-07-21 11:33:28 UTC
Also move it to opensuse 11.0 as it is mainstream now
Comment 8 Hugo Garcia 2008-08-01 16:28:07 UTC
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.


Comment 9 Michal Vyskocil 2008-08-04 08:42:53 UTC
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.
Comment 10 Hugo Garcia 2008-08-04 12:15:38 UTC
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?


Comment 17 Forgotten User O-K8b4H4Da 2008-10-13 13:50:52 UTC
Legal issues? But why is there java-1.5 src package then?

It would be really nice to ship src package for 1.6.
Comment 18 Jörg von Frantzius 2009-01-09 09:20:51 UTC
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...
Comment 20 Marcus Meissner 2009-01-09 09:52:10 UTC
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.
Comment 21 Ruediger Oertel 2009-01-09 10:57:14 UTC
okay, maintenance data updated for 10.3-11.1