Try to execute "java -version". If it doesn't report JDK 11, then you need to set it using alternatives:
https://github.com/oVirt/ovirt-engine/blob/master/README.adoc#prepare-your-dev-envrionment-for-java-11 On Tue, Oct 29, 2019 at 7:33 AM Kaustav Majumder <[email protected]> wrote: > yes have done that > echo $JAVA_HOME > /usr/lib/jvm/java-11-openjdk-11.0.4.11-0.fc29.x86_64/ > > On Tue, Oct 29, 2019 at 12:01 PM Benny Zlotnik <[email protected]> > wrote: > >> Did you set JAVA_HOME to point to java 11 jdk? >> >> >> On Tue, Oct 29, 2019 at 5:43 AM Kaustav Majumder <[email protected]> >> wrote: >> > >> > Hi, >> > I am currently facing this error while building ovirt-engine master >> (commit da774d861d5a593666932f6e678f5383222ed8d5) on fedora 29. >> > >> > [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile >> (default-compile) on project ovirt-checkstyle-extension: Fatal error >> compiling: invalid flag: --release -> [Help 1] >> > >> > full build log here: https://pastebin.com/rJA5PHWu >> > -- >> > >> > Thanks, >> > >> > Kaustav Majumder >> > >> > _______________________________________________ >> > Devel mailing list -- [email protected] >> > To unsubscribe send an email to [email protected] >> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/ >> > oVirt Code of Conduct: >> https://www.ovirt.org/community/about/community-guidelines/ >> > List Archives: >> https://lists.ovirt.org/archives/list/[email protected]/message/MA7LF23VDYLIHSCJCLP5BTQBC6LOSAF2/ >> > > > -- > > Thanks, > > Kaustav Majumder > _______________________________________________ > Devel mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Privacy Statement: https://www.ovirt.org/site/privacy-policy/ > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ > List Archives: > https://lists.ovirt.org/archives/list/[email protected]/message/WTKNMRZ2U5WTVAZZPFF52YK5AO2EWJHQ/ > -- Martin Perina Manager, Software Engineering Red Hat Czech s.r.o.
_______________________________________________ Devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/MLDRXVZSSJZOPS5ZIGYWMJP4C6ZRFB7U/
