On 04/03/2015 01:31 PM, Farkas Levente wrote: > On 04/03/2015 01:17 PM, Mikolaj Izdebski wrote: >>> - the system default java never will be java-1.8.0-openjdk so all tools >>> 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. > > but during the build you can't modify /etc/java/java.conf. There are other ways of setting JDK to be used, which don't require root access. 1. user-specific config file: $HOME/.java/java.conf 2. app-specific config files (in case of ant these are $HOME/.ant/ant.conf and $HOME/.antrc) 3. environmental variable JAVA_HOME (as explained by Deepak) >> Known problem. Will be fixed in RHEL 6.7. RHEL 7 is not affected AFAIK >> (if it is then please file a bug). > > so currently it's not possible to build anything in epel-6 with java-8:-( It is possible, but you'd need to use some workaround for bug 1149605. -- Mikolaj Izdebski Software Engineer, Red Hat IRC: mizdebsk -- java-devel mailing list java-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/java-devel