* Adrian Schröter <adrian@suse.de> [2008-03-02 08:18]:
In general all java version should work for almost all java packages. Therefore it is better to use java-devel .
In an ideal world or in reality? Do you have a statistics about that statement? Especially for desktop applications that make use of Swing. E.g. http://forums.fedoraforum.org/archive/index.php/t-178068.html ,----- | 2) Forget IcedTea, disable Selinux, install Sun's java, and use | standard jarfiles to install the applications you require. I have not | tested this approach on Fedora 8, but it worked fine for jEdit and | Squirrel SQL on Fedora 7. If you require a proprietary JDBC driver to | connect to a database, how likely is it to have been tested against | IcedTea? `----- Or are you talking *only* abuild building, not running?
Better use java-devel everywhere and tell us, which java version by default should be selected dependening on the architecture.
But that has to be provided by the packages themselves, not (only) by OBS tricks.
A java package should in general work with all java versions, otherwise we can never upgrade a java or switch to some other java. This is esp. important when it comes to other architectures, Sun Java does not exist for all. So an explicit requirement to Sun java would mean that your java package needs to get disabled on these architectures.
Of course -- but I guess IBM Java 1.5 on POWER/Seriesz and BEA Java on IA64 is fully or nearly (99.9 %) compatible with Sun Java 1.5, but Sun Java 1.4 is not to 1.5, of course, -- so versioning is important while the vendor is not necessarily important. Bernhard --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org