Build openjfx8 that need openjdk 1.8 impossible on rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I'm trying to build the package openjfx8 on rawhide but it seems that with the new version of xmvn, it's impossible.

In the past, this instuction was sufficent before build:

export JAVA_HOME=%{_jvmdir}/java-1.8.0-openjdk
%mvn_build

The problem is that in pom.xml, I have (for example) the instruction -bootclasspath with the openjdk 1.8 but xmvn replace it by openjdk 11:
<plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
            <source>1.8</source>
            <target>1.8</target>
            <compilerArgs>
                  <arg>-bootclasspath</arg>
                  <arg>${java.home}/lib/rt.jar</arg>
                  <arg>-XDignore.symbol.file</arg>
                  <arg>-XDuseUnsharedTable=true</arg>
                  <arg>-proc:none</arg>
                  <arg>-g:source,lines,vars</arg>
                  <arg>-h</arg>
<arg>modules/graphics/build/gensrc/headers/</arg>
          </compilerArgs>
   </configuration>
</plugin>

Here the log of the build:
[DEBUG] -d /builddir/build/BUILD/rt-8u202-b07/modules/base/target/classes -classpath /builddir/build/BUILD/rt-8u202-b07/modules/base/target/classes:/builddir/build/BUILD/rt-8u202-b07/buildSrc/target/buildSrc-8.0.202.jar:/usr/share/java/antlr3.jar:/usr/share/java/antlr3-runtime.jar:/usr/share/java/stringtemplate4/ST4.jar:/usr/share/java/stringtemplate.jar:/usr/share/java/antlr.jar: -sourcepath /builddir/build/BUILD/rt-8u202-b07/modules/base/src/main/java:/builddir/build/BUILD/rt-8u202-b07/modules/base/target/generated-sources/annotations: -s /builddir/build/BUILD/rt-8u202-b07/modules/base/target/generated-sources/annotations -g -nowarn -target 1.8 -source 1.8 -bootclasspath /usr/lib/jvm/java-11-openjdk-11.0.11.0.9-5.fc35.x86_64/lib/rt.jar:/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-5.fc35.x86_64/lib/jce.jar -XDignore.symbol.file -XDuseUnsharedTable=true -proc:none -g:source,lines,vars [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[DEBUG] incrementalBuildHelper#beforeRebuildExecution
[INFO] Compiling 283 source files to /builddir/build/BUILD/rt-8u202-b07/modules/base/target/classes
Fatal Error: Unable to find package java.lang in classpath or bootclasspath

Help is appreciate, thanks

Nicolas De Amicis
_______________________________________________
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/java-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux