[fedora-java] Proposal to deprecate _prefer_jre

Aleksandar Kurtakov akurtako at redhat.com
Mon May 18 06:29:40 UTC 2015


----- Original Message -----
> From: "Mikolaj Izdebski" <mizdebsk at redhat.com>
> To: "Fedora Java Development List" <java-devel at lists.fedoraproject.org>
> Sent: Monday, 18 May, 2015 8:07:15 AM
> Subject: [fedora-java] Proposal to deprecate _prefer_jre
> 
> _prefer_jre is environmental variable, which once set to true causes
> javapackages-tools to prefer JRE over JDK when choosing JVM to use.
> 
> _prefer_jre was most useful in multi-JVM scenario. For example when
> there was JDK 1.5 and JRE 1.7 installed, javapackages-tools would choose
> JDK 1.5 by default. Setting _prefer_jre=true would allow more recent JRE
> 1.7 to be used instead.
> 
> Currently in Fedora there is only one Java implementation. Moreover,
> with Java 9 distinction between JDK and JRE becomes less clear.
> Therefore I propose to deprecate _prefer_jre environmental variable and
> remove it in a future release of javapackages-tools, in a year or so.
> 
> Any objections or comments?

+1 . It's not widely used and is yet another reason for unpredictability.


Alexander Kurtakov
Red Hat Eclipse team

> 
> --
> Mikolaj Izdebski
> Software Engineer, Red Hat
> IRC: mizdebsk
> --
> java-devel mailing list
> java-devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/java-devel


More information about the java-devel mailing list