You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run test e.g. ./run-tests.sh it generated many errors, e.g. ERROR 403: Forbidden and location of system modules is not set in conjunction with -source 11 etc. let see them:
maqboolstudiopc@MSC-30:/mnt/d/GraalVM-Projects/gluonhq/substrate-fork$ ./run-tests.sh
Downloading JavaFX 13.0.1-linux jars...
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:get (default-cli) @ standalone-pom ---
[INFO] Resolving org.openjfx:javafx-base:jar:linux:13.0.1 with transitive dependencies
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.968 s
[INFO] Finished at: 2024-09-15T22:47:49+05:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (default-cli) @ standalone-pom ---
[INFO] Configured Artifact: org.openjfx:javafx-base:linux:13.0.1:jar
[INFO] Copying javafx-base-13.0.1-linux.jar to /mnt/d/GraalVM-Projects/gluonhq/substrate-fork/libs/javafx/javafx-base-13.0.1-linux.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.048 s
[INFO] Finished at: 2024-09-15T22:48:18+05:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:get (default-cli) @ standalone-pom ---
[INFO] Resolving org.openjfx:javafx-controls:jar:linux:13.0.1 with transitive dependencies
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34.301 s
[INFO] Finished at: 2024-09-15T22:49:16+05:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (default-cli) @ standalone-pom ---
[INFO] Configured Artifact: org.openjfx:javafx-controls:linux:13.0.1:jar
[INFO] Copying javafx-controls-13.0.1-linux.jar to /mnt/d/GraalVM-Projects/gluonhq/substrate-fork/libs/javafx/javafx-controls-13.0.1-linux.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.173 s
[INFO] Finished at: 2024-09-15T22:49:44+05:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:get (default-cli) @ standalone-pom ---
[INFO] Resolving org.openjfx:javafx-graphics:jar:linux:13.0.1 with transitive dependencies
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45.401 s
[INFO] Finished at: 2024-09-15T22:50:48+05:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (default-cli) @ standalone-pom ---
[INFO] Configured Artifact: org.openjfx:javafx-graphics:linux:13.0.1:jar
[INFO] Copying javafx-graphics-13.0.1-linux.jar to /mnt/d/GraalVM-Projects/gluonhq/substrate-fork/libs/javafx/javafx-graphics-13.0.1-linux.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.056 s
[INFO] Finished at: 2024-09-15T22:51:18+05:00
[INFO] ------------------------------------------------------------------------
Downloading JavaFX jars completed!
Downloading JavaFX static SDK 14-ea+gvm1-linux-x86_64...
--2024-09-15 22:51:18-- https://download2.gluonhq.com/substrate/javafxstaticsdk/openjfx-14-ea+gvm1-linux-x86_64-static.zip
Resolving download2.gluonhq.com (download2.gluonhq.com)... 178.128.135.159
Connecting to download2.gluonhq.com (download2.gluonhq.com)|178.128.135.159|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2024-09-15 22:51:25 ERROR 403: Forbidden.
Archive: libs/javafxstatic/openjfx-14-ea+gvm1-linux-x86_64-static.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
note: libs/javafxstatic/openjfx-14-ea+gvm1-linux-x86_64-static.zip may be a plain executable, not an archive
unzip: cannot find zipfile directory in one of libs/javafxstatic/openjfx-14-ea+gvm1-linux-x86_64-static.zip or
libs/javafxstatic/openjfx-14-ea+gvm1-linux-x86_64-static.zip.zip, and cannot find libs/javafxstatic/openjfx-14-ea+gvm1-linux-x86_64-static.zip.ZIP, period.
Downloading JavaFX static SDK completed!
Downloading substrate dependencies...
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:get (default-cli) @ standalone-pom ---
[INFO] Resolving com.googlecode.plist:dd-plist:jar:1.22 with transitive dependencies
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.628 s
[INFO] Finished at: 2024-09-15T22:51:58+05:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (default-cli) @ standalone-pom ---
[INFO] Configured Artifact: com.googlecode.plist:dd-plist:1.22:jar
[INFO] Copying dd-plist-1.22.jar to /mnt/d/GraalVM-Projects/gluonhq/substrate-fork/libs/substrate/dd-plist-1.22.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.032 s
[INFO] Finished at: 2024-09-15T22:52:31+05:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:get (default-cli) @ standalone-pom ---
[INFO] Resolving com.github.jnr:jnr-ffi:jar:2.1.11 with transitive dependencies
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.923 s
[INFO] Finished at: 2024-09-15T22:53:01+05:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (default-cli) @ standalone-pom ---
[INFO] Configured Artifact: com.github.jnr:jnr-ffi:2.1.11:jar
[INFO] Copying jnr-ffi-2.1.11.jar to /mnt/d/GraalVM-Projects/gluonhq/substrate-fork/libs/substrate/jnr-ffi-2.1.11.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.398 s
[INFO] Finished at: 2024-09-15T22:53:34+05:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:get (default-cli) @ standalone-pom ---
[INFO] Resolving org.bouncycastle:bcpkix-jdk15on:jar:1.49 with transitive dependencies
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.460 s
[INFO] Finished at: 2024-09-15T22:54:16+05:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (default-cli) @ standalone-pom ---
[INFO] Configured Artifact: org.bouncycastle:bcpkix-jdk15on:1.49:jar
[INFO] Copying bcpkix-jdk15on-1.49.jar to /mnt/d/GraalVM-Projects/gluonhq/substrate-fork/libs/substrate/bcpkix-jdk15on-1.49.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.455 s
[INFO] Finished at: 2024-09-15T22:54:53+05:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:get (default-cli) @ standalone-pom ---
[INFO] Resolving org.bouncycastle:bcprov-jdk15on:jar:1.49 with transitive dependencies
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.176 s
[INFO] Finished at: 2024-09-15T22:55:38+05:00
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.1.1:copy (default-cli) @ standalone-pom ---
[INFO] Configured Artifact: org.bouncycastle:bcprov-jdk15on:1.49:jar
[INFO] Copying bcprov-jdk15on-1.49.jar to /mnt/d/GraalVM-Projects/gluonhq/substrate-fork/libs/substrate/bcprov-jdk15on-1.49.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.132 s
[INFO] Finished at: 2024-09-15T22:56:20+05:00
[INFO] ------------------------------------------------------------------------
Downloading substrate dependencies completed!
Compiling substrate...
warning: [options] location of system modules is not set in conjunction with -source 11
not setting the location of system modules may lead to class files that cannot run on JDK 11
--release 11 is recommended instead of -source 11 -target 11 because it sets the location of system modules automatically
src/main/java/module-info.java:8: error: module not found: svm
requires svm;
^
src/main/java/module-info.java:9: error: module not found: aot
requires aot;
^
src/main/java/module-info.java:10: error: module not found: vm4brwsr
requires vm4brwsr;
^
3 errors
1 warning
substrate compilation done!
Compiling test HelloWorld...
warning: [options] location of system modules is not set in conjunction with -source 11
not setting the location of system modules may lead to class files that cannot run on JDK 11
--release 11 is recommended instead of -source 11 -target 11 because it sets the location of system modules automatically
1 warning
test HelloWorld compilation done!
Running test HelloWorld...
Error: Could not find or load main class com.gluonhq.substrate.SubstrateDispatcher
Caused by: java.lang.ClassNotFoundException: com.gluonhq.substrate.SubstrateDispatcher
test HelloWorld completed
Compiling test HelloFX...
warning: [options] location of system modules is not set in conjunction with -source 11
not setting the location of system modules may lead to class files that cannot run on JDK 11
--release 11 is recommended instead of -source 11 -target 11 because it sets the location of system modules automatically
1 warning
test HelloFX compilation done!
Running test HelloFX
Error: Could not find or load main class com.gluonhq.substrate.SubstrateDispatcher
Caused by: java.lang.ClassNotFoundException: com.gluonhq.substrate.SubstrateDispatcher
test HelloFX completed
The text was updated successfully, but these errors were encountered:
Have you tried updating them? Personally, when I change substrate, I just mvn install it and have a real project reference it while building a native image.
E.g., put this into your HelloWorld/other project's pom.xml: <substrate.version>0.0.999-SNAPSHOT</substrate.version>
@jperedadnr: when you're working on substrate, do you still use this script?
If this file is no longer relevant / useful, it might be better to remove it to avoid confusion...?
On Mon, 16 Sept 2024 at 14:37, Cormac Redmond ***@***.***> wrote:
This file hasn't changed in 5 years and it's trying to download from very
old libs based off these variables:
JAVAFX_PLATFORM=linux
JAVAFX_VERSION=13.0.1
JAVAFX_STATIC_PLATFORM=linux-x86_64
JAVAFX_STATIC_VERSION=14-ea+gvm1
Have you tried updating them? Personally, when I change substrate, I just
mvn install it and and have a real project reference it while building a
native image.
E.g., put this into your HelloWorld/other project's pom.xml:
<substrate.version>0.0.999-SNAPSHOT</substrate.version>
@jperedadnr <https://github.com/jperedadnr>: when you're working on
substrate, do you still use this script?
If this file is no longer relevant / useful, it might be better to remove
it to avoid confusion...?
—
Reply to this email directly, view it on GitHub
<#1283 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPS2XW4G5PY5E4JGWDKAYDZW3GIVAVCNFSM6AAAAABOHQGY62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJSHAYDANBRGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
I have forked substrate-fork.
When I run test e.g.
./run-tests.sh
it generated many errors, e.g.ERROR 403: Forbidden
andlocation of system modules is not set in conjunction with -source 11
etc. let see them:The text was updated successfully, but these errors were encountered: