Hello Everyone,
Someone had been used cordademobench in Ubuntu. I have very difficulty to execute it.
Thank you.
Arthur
|
|
Wawrzyniec Niewodniczanski
What JDK/JRE do you run it with?
Wawrzek
On 22/11/2019 19:20, Arthur Souza via Groups.Io wrote:
Hello Everyone,
Someone had been used cordademobench in Ubuntu. I have very difficulty to execute it.
Thank you.
Arthur
--
Dr Wawrzyniec (Wawrzek) Niewodniczański | R3. | DevOps Lead
2 London Wall Place, 12th Floor, | London, EC2Y 5AU
O: +44 207 113 1460 | M: +44 7917-44-79-88 |
wawrzek@... .
www.r3.com
|
|
Wawrzek, I used JDK 1.8.0_222 and Gradle 6.0.
I tried to use this guide below, but it didn't work.
I cloned the corda repository and used this command from corda folder:
./gradlew tools:demobench:installDist cd tools/demobench/build/install/demobench bin/demobench
Best,
Arthur
toggle quoted message
Show quoted text
On Mon, Nov 25, 2019 at 9:56 AM Wawrzyniec Niewodniczanski via Groups.Io <wawrzekn= r3.com@groups.io> wrote:
What JDK/JRE do you run it with?
Wawrzek
On 22/11/2019 19:20, Arthur Souza via Groups.Io wrote:
Hello Everyone,
Someone had been used cordademobench in Ubuntu. I have very difficulty to execute it.
Thank you.
Arthur
|
|
Wawrzyniec Niewodniczanski
Hi,
What's the error message?
I wonder if JDK has JavaFx. Does it?
Wawrzek
On 25/11/2019 13:36, Arthur Souza via Groups.Io wrote:
Wawrzek, I used JDK 1.8.0_222 and Gradle 6.0.
I tried to use this guide below, but it didn't work.
I cloned the corda repository and used this command from corda folder:
./gradlew tools:demobench:installDist
cd tools/demobench/build/install/demobench
bin/demobench
Best,
Arthur
On Mon, Nov 25, 2019 at 9:56 AM Wawrzyniec Niewodniczanski via Groups.Io <wawrzekn= r3.com@groups.io> wrote:
What JDK/JRE do you run it with?
Wawrzek
On 22/11/2019 19:20, Arthur Souza via Groups.Io wrote:
Hello Everyone,
Someone had been used cordademobench in Ubuntu. I have very difficulty to execute it.
Thank you.
Arthur
--
Dr Wawrzyniec (Wawrzek) Niewodniczański | R3. | DevOps Lead
2 London Wall Place, 12th Floor, | London, EC2Y 5AU
O: +44 207 113 1460 | M: +44 7917-44-79-88 |
wawrzek@... .
www.r3.com
|
|
Hi Wawrzek,
I checked JavaFX and now compiled with success..thank you!
But now when I have been started JAR in the bin folder and I received this message, I tried this commando below: ./demobench (shell script init) Error: JavaFX runtime components are missing, and are required to run this application
or : java -Djava.util.logging.config.class=net.corda.demobench.config.LoggingConfig -jar lib/demobench-4.4-SNAPSHOT-jdk11.jar Error: JavaFX runtime components are missing, and are required to run this application
and after tried this:
java -Djava.util.logging.config.class=net.corda.demobench.config.LoggingConfig -jar --module-path /Users/arthur/Library/JavaFX/javafx-sdk-11.0.2/lib --add-modules javafx.controls,javafx.graphics --add-exports=javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.iio=ALL-UNNAMED lib/demobench-4.4-SNAPSHOT-jdk11.jar
and show this error: Caused by: java.lang.IllegalAccessError: class com.sun.javafx.fxml.FXMLLoaderHelper (in unnamed module @0x229bfeec) cannot access class com.sun.javafx.util.Utils (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.util to unnamed module @0x229bfeec at com.sun.javafx.fxml.FXMLLoaderHelper.<clinit>(FXMLLoaderHelper.java:38) at javafx.fxml.FXMLLoader.<clinit>(FXMLLoader.java:2056) at tornadofx.UIComponent.loadFXML(Component.kt:989) at tornadofx.UIComponent$fxml$1.<init>(Component.kt:979) at tornadofx.UIComponent.fxml(Component.kt:978) at tornadofx.UIComponent.fxml$default(Component.kt:978) at net.corda.demobench.views.DemoBenchView.<init>(DemoBenchView.kt:18) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at java.base/java.lang.Class.newInstance(Class.java:584) at tornadofx.FXKt.find(FX.kt:405) at tornadofx.FXKt.find$default(FX.kt:391) at tornadofx.App.start(App.kt:77) at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428) at java.base/java.security.AccessController.doPrivileged(Native Method) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427) at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96) Exception running application net.corda.demobench.DemoBench
I believed is something on JavaFX modules export. Did you see this?
Best,
Arthur
toggle quoted message
Show quoted text
On Mon, Nov 25, 2019 at 10:42 AM Wawrzyniec Niewodniczanski via Groups.Io <wawrzekn= r3.com@groups.io> wrote:
Hi,
What's the error message?
I wonder if JDK has JavaFx. Does it?
Wawrzek
On 25/11/2019 13:36, Arthur Souza via Groups.Io wrote:
Wawrzek, I used JDK 1.8.0_222 and Gradle 6.0.
I tried to use this guide below, but it didn't work.
I cloned the corda repository and used this command from corda folder:
./gradlew tools:demobench:installDist
cd tools/demobench/build/install/demobench
bin/demobench
Best,
Arthur
On Mon, Nov 25, 2019 at 9:56 AM Wawrzyniec Niewodniczanski via Groups.Io <wawrzekn= r3.com@groups.io> wrote:
What JDK/JRE do you run it with?
Wawrzek
On 22/11/2019 19:20, Arthur Souza via Groups.Io wrote:
Hello Everyone,
Someone had been used cordademobench in Ubuntu. I have very difficulty to execute it.
Thank you.
Arthur
--
Dr Wawrzyniec (Wawrzek) Niewodniczański | R3. | DevOps Lead
2 London Wall Place, 12th Floor, | London, EC2Y 5AU
O: +44 207 113 1460 | M: +44 7917-44-79-88 |
wawrzek@... .
www.r3.com
|
|
Wawrzyniec Niewodniczanski
Shell script might be using a different Java to the one you used for building the JAR. It might be Java 11 vs Java 8 (lib/demobench-4.4-SNAPSHOT-jdk11.jar indicates you built DemoBench for JDK 11).
Wawrzek
On 26/11/2019 19:46, Arthur Souza via Groups.Io wrote:
Hi Wawrzek,
I checked JavaFX and now compiled with success..thank you!
But now when I have been started JAR in the bin folder and I received this message, I tried this commando below:
./demobench (shell script init)
Error: JavaFX runtime components are missing, and are required to run this application
or :
java -Djava.util.logging.config.class=net.corda.demobench.config.LoggingConfig -jar lib/demobench-4.4-SNAPSHOT-jdk11.jar
Error: JavaFX runtime components are missing, and are required to run this application
and after tried this:
java -Djava.util.logging.config.class=net.corda.demobench.config.LoggingConfig -jar --module-path /Users/arthur/Library/JavaFX/javafx-sdk-11.0.2/lib --add-modules javafx.controls,javafx.graphics --add-exports=javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.javafx.iio=ALL-UNNAMED lib/demobench-4.4-SNAPSHOT-jdk11.jar
and show this error:
Caused by: java.lang.IllegalAccessError: class com.sun.javafx.fxml.FXMLLoaderHelper (in unnamed module @0x229bfeec) cannot access class com.sun.javafx.util.Utils (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.util
to unnamed module @0x229bfeec
at com.sun.javafx.fxml.FXMLLoaderHelper.<clinit>(FXMLLoaderHelper.java:38)
at javafx.fxml.FXMLLoader.<clinit>(FXMLLoader.java:2056)
at tornadofx.UIComponent.loadFXML(Component.kt:989)
at tornadofx.UIComponent$fxml$1.<init>(Component.kt:979)
at tornadofx.UIComponent.fxml(Component.kt:978)
at tornadofx.UIComponent.fxml$default(Component.kt:978)
at net.corda.demobench.views.DemoBenchView.<init>(DemoBenchView.kt:18)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.lang.Class.newInstance(Class.java:584)
at tornadofx.FXKt.find(FX.kt:405)
at tornadofx.FXKt.find$default(FX.kt:391)
at tornadofx.App.start(App.kt:77)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
Exception running application net.corda.demobench.DemoBench
I believed is something on JavaFX modules export. Did you see this?
Best,
Arthur
On Mon, Nov 25, 2019 at 10:42 AM Wawrzyniec Niewodniczanski via Groups.Io <wawrzekn= r3.com@groups.io> wrote:
Hi,
What's the error message?
I wonder if JDK has JavaFx. Does it?
Wawrzek
On 25/11/2019 13:36, Arthur Souza via Groups.Io wrote:
Wawrzek, I used JDK 1.8.0_222 and Gradle 6.0.
I tried to use this guide below, but it didn't work.
I cloned the corda repository and used this command from corda folder:
./gradlew tools:demobench:installDist
cd tools/demobench/build/install/demobench
bin/demobench
Best,
Arthur
On Mon, Nov 25, 2019 at 9:56 AM Wawrzyniec Niewodniczanski via Groups.Io <wawrzekn= r3.com@groups.io> wrote:
What JDK/JRE do you run it with?
Wawrzek
On 22/11/2019 19:20, Arthur Souza via Groups.Io wrote:
Hello Everyone,
Someone had been used cordademobench in Ubuntu. I have very difficulty to execute it.
Thank you.
Arthur
--
Dr Wawrzyniec (Wawrzek) Niewodniczański | R3. | DevOps Lead
2 London Wall Place, 12th Floor, | London, EC2Y 5AU
O: +44 207 113 1460 | M: +44 7917-44-79-88 |
wawrzek@...
.
www.r3.com
--
Dr Wawrzyniec (Wawrzek) Niewodniczański | R3. | DevOps Lead
2 London Wall Place, 12th Floor, | London, EC2Y 5AU
O: +44 207 113 1460 | M: +44 7917-44-79-88 |
wawrzek@... .
www.r3.com
|
|
Please use Java 8. Java 11 support is experimental.
Rick.
From: <corda-dev@groups.io> on behalf of "Wawrzyniec Niewodniczanski via Groups.Io" <wawrzekn@...>
Reply to: "corda-dev@groups.io" <corda-dev@groups.io>
Date: Wednesday, 27 November 2019 at 08:49
To: "corda-dev@groups.io" <corda-dev@groups.io>
Subject: Re: [corda-dev] CordaDemoBench
Shell script might be using a different Java to the one you used for building the JAR. It might be Java 11 vs Java 8 (lib/demobench-4.4-SNAPSHOT-jdk11.jar indicates you built DemoBench for JDK 11).
Wawrzek
toggle quoted message
Show quoted text
On 26/11/2019 19:46, Arthur Souza via Groups.Io wrote:
Hi Wawrzek,
I checked JavaFX and now compiled with success..thank you!
But now when I have been started JAR in the bin folder and I received this message, I tried this commando below:
./demobench (shell script init)
Error: JavaFX runtime components are missing, and are required to run this application
java -Djava.util.logging.config.class=net.corda.demobench.config.LoggingConfig -jar lib/demobench-4.4-SNAPSHOT-jdk11.jar
Error: JavaFX runtime components are missing, and are required to run this application
java -Djava.util.logging.config.class=net.corda.demobench.config.LoggingConfig -jar --module-path /Users/arthur/Library/JavaFX/javafx-sdk-11.0.2/lib --add-modules javafx.controls,javafx.graphics --add-exports=javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.javafx.iio=ALL-UNNAMED lib/demobench-4.4-SNAPSHOT-jdk11.jar
Caused by: java.lang.IllegalAccessError: class com.sun.javafx.fxml.FXMLLoaderHelper (in unnamed module @0x229bfeec) cannot access class com.sun.javafx.util.Utils (in module javafx.graphics) because module javafx.graphics does not export
com.sun.javafx.util to unnamed module @0x229bfeec
at com.sun.javafx.fxml.FXMLLoaderHelper.<clinit>(FXMLLoaderHelper.java:38)
at javafx.fxml.FXMLLoader.<clinit>(FXMLLoader.java:2056)
at tornadofx.UIComponent.loadFXML(Component.kt:989)
at tornadofx.UIComponent$fxml$1.<init>(Component.kt:979)
at tornadofx.UIComponent.fxml(Component.kt:978)
at tornadofx.UIComponent.fxml$default(Component.kt:978)
at net.corda.demobench.views.DemoBenchView.<init>(DemoBenchView.kt:18)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.lang.Class.newInstance(Class.java:584)
at tornadofx.FXKt.find(FX.kt:405)
at tornadofx.FXKt.find$default(FX.kt:391)
at tornadofx.App.start(App.kt:77)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
Exception running application net.corda.demobench.DemoBench
I believed is something on JavaFX modules export. Did you see this?
On Mon, Nov 25, 2019 at 10:42 AM Wawrzyniec Niewodniczanski via Groups.Io <wawrzekn=r3.com@groups.io> wrote:
Hi,
What's the error message?
I wonder if JDK has JavaFx. Does it?
Wawrzek
On 25/11/2019 13:36, Arthur Souza via Groups.Io wrote:
Wawrzek, I used JDK 1.8.0_222 and Gradle 6.0.
I tried to use this guide below, but it didn't work.
I cloned the corda repository and used this command from corda folder:
./gradlew tools:demobench:installDist
cd tools/demobench/build/install/demobench
bin/demobench
On Mon, Nov 25, 2019 at 9:56 AM Wawrzyniec Niewodniczanski via Groups.Io <wawrzekn=r3.com@groups.io> wrote:
What JDK/JRE do you run it with?
Wawrzek
On 22/11/2019 19:20, Arthur Souza via Groups.Io wrote:
Hello Everyone,
Someone had been used cordademobench in Ubuntu. I have very difficulty to execute it.
--
Dr Wawrzyniec (Wawrzek) Niewodniczański | R3. | DevOps Lead
2 London Wall Place, 12th Floor, | London, EC2Y 5AU
O: +44 207 113 1460 | M: +44 7917-44-79-88 |
wawrzek@... .
www.r3.com
--
Dr Wawrzyniec (Wawrzek) Niewodniczański | R3. | DevOps Lead
2 London Wall Place, 12th Floor, | London, EC2Y 5AU
O: +44 207 113 1460 | M: +44 7917-44-79-88 |
wawrzek@... .
www.r3.com
|
|