On 04/03/2015 01:01 PM, Farkas Levente wrote:
the real problem here is that java-1.8.0-openjdk do NOT provides
so all other packages which requires java try to install older version,
but since it's install java-1.8.0-openjdk it can't install
and this itself cause a lot's of other problems:
- first of all older jdk will be installed (sun, ibm, oracle) and if it
can't find any other version then the build failed.
RHEL packages are built and tested with default Java version and that's
why they require it. Running them with OpenJDK8 was not tested and may
- the system default java never will be java-1.8.0-openjdk so all
will be use a different java.
You can configure default system JDK/JRE version in /etc/java/java.conf
file. You can set JAVA_HOME to OpenJDK8 home if you want.
- even if i set in the spec file:
Error: Could not find or load main class
the reason probably the same as in:
but jpackage-utils not updated on epel-6 and epel-7 (javapackages-tools)
Known problem. Will be fixed in RHEL 6.7. RHEL 7 is not affected AFAIK
(if it is then please file a bug).
Software Engineer, Red Hat