-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find or load main class com.tomeraberbach.mano.application.Main #5
Comments
could it be I need to re-compile jar archive using jdk 11 so its format will fit java of jdk 11? |
Possibly. I probably won't have time to do that for a little while so you can either try to do it yourself or you can wait until I have time. |
Have you solve this error?? |
Hey @audioresearch74 and @karanmistry1804. I found the time to make this work for Java 11+. Please try the new release and let me know if it works! |
G:\karan mistry\DM>java -jar mano-simulator.jar
Graphics Device initialization failed for : d3d, sw
Error initializing QuantumRenderer: no suitable pipeline found
java.lang.RuntimeException: java.lang.RuntimeException: Error initializing
QuantumRenderer: no suitable pipeline found
at
com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280)
at
com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:244)
at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:261)
at
com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)
at
com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)
at
com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)
at
com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
at
com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer:
no suitable pipeline found
at
com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:94)
at
com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)
... 1 more
Exception in thread "main" java.lang.RuntimeException: No toolkit found
at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:273)
at
com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)
at
com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)
at
com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)
at
com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
at
com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
at java.base/java.lang.Thread.run(Thread.java:832)
This error is coming now.
…On Tue, Apr 27, 2021 at 6:55 AM Tomer Aberbach ***@***.***> wrote:
Hey @audioresearch74 <https://github.com/audioresearch74> and
@karanmistry1804 <https://github.com/karanmistry1804>. I found the time
to make this work for Java 11+. Please try the new release
<https://github.com/TomerAberbach/mano-simulator/releases/tag/mano-simulator-1.0-SNAPSHOT>
and let me know if it works!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APWMRJMSNLKNSJWB734E4Q3TKYHB5ANCNFSM4ZMVSYVA>
.
|
@karanmistry1804, I tweaked some stuff and uploaded a new JAR to the same release. Can you redownload and try again? Make sure you run |
Thanks TomerAberbach/mano-simulator for helping me out .The new release
worked.
…On Wed, Apr 28, 2021 at 5:02 AM Tomer Aberbach ***@***.***> wrote:
@karanmistry1804 <https://github.com/karanmistry1804>, I tweaked some
stuff and uploaded a new JAR to the same release. Can you redownload and
try again? Make sure you run java -jar on the new JAR!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APWMRJPUWO2QLIUM57SZ323TK5CPJANCNFSM4ZMVSYVA>
.
|
No problem! I'm glad it's working for you now 😄 I'm going to close this issue @audioresearch74, but feel free to reopen if you run into any problems! |
fail to launch the application
this is the output:
~/Public/HelpFaceBookFriends2020/ManoSimulator$ java -jar mano-simulator.jar
Error: Could not find or load main class com.tomeraberbach.mano.application.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
~/Public/HelpFaceBookFriends2020/ManoSimulator$
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu219.10)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu219.10, mixed mode, sharing)
installed JDK and FX from synaptic (Ubuntu19.10)
how to fix this?
The text was updated successfully, but these errors were encountered: