F22 System Wide Change: Legacy implementations of the Java platform in Fedora

Mikolaj Izdebski mizdebsk at redhat.com
Wed Feb 25 10:07:19 UTC 2015


On 02/25/2015 10:55 AM, Hedayat Vatankhah wrote:
> 
> /*Mikolaj Izdebski <mizdebsk at redhat.com>*/ wrote on Wed, 25 Feb 2015
> 10:07:28 +0100:
>> On 02/25/2015 06:39 AM, Hedayat Vatankhah wrote:
>>> However, if there are JAR files which are useful
>>> for a developer, they can have a -legacy version too!
>> There is no technical reason to suffix anything - you can put JARs that
>> depend on old version of JDK in /usr/{share,lib}/java-x.y.z, for example
>> /usr/share/java-1.7.0/ for JARs that require JDK 7.
>>
> There is: I'm talking about rpm packages, and you can't install multiple
> rpm packages with the same name simultaneously. So, you'll need to
> change the name. BTW, -legacy was just an example. I'd prefer 'versioned
> package names' as in my proposal for libraries.

Java compat package names should be suffixed with version, not "-legacy"
string.
See: http://fedoraproject.org/wiki/Packaging:Java#Compatibility_packages

-- 
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk


More information about the devel mailing list