i'm try to build a java package for epel-6 which use java-8.
unfortunately it seem it's not enough to simple add
since it's install it, but also still install during the mock setup
session old java packages ie:
java-1.5.0-gcj x86_64 184.108.40.206-29.1.el6 os
java-1.6.0-sun x86_64 1:220.127.116.11-1jpp.1.el6 os
java-1.7.0-ibm x86_64 1:18.104.22.168.0-1jpp.2.el6_4 os
java-1.7.0-ibm-devel x86_64 1:22.214.171.124.0-1jpp.2.el6_4 os
java-1.7.0-oracle x86_64 1:126.96.36.199-1jpp.2.el6_4 os
and i'm not bale to exclude them. in rpm the is a Obsoletes: but there
is no such thing as "BuildRequiresObsoletes":-(
what's more i can't run system-switch-java since it's required root
access and there is no command line option to switch to a given specific
so during build the system use the default javac which is not java8 but
ibm's java7 (IBM J9 VM (build 2.6, JRE 1.7.0).
is there any way to force java8? or is there any way to exclude other
java vm jre to install into mock during build?
thanks in advance.
Levente "Si vis pacem para bellum!"