Closed justaddcoffee closed 10 months ago
I think we might need to create different versions for new and old Macs. Are you on an M1? I believe the release was compiled on an M1 and might not be great for intel Macs.
Nope, this is an Intel i5 chip, not an M1
Hi, I thought it might be helpful to know that I am getting the same error on a Windows machine. I have the Windows and Java version below along with the error message.
Microsoft Windows [Version 10.0.19043.2006] (c) Microsoft Corporation. All rights reserved.
java -version java version "18.0.2.1" 2022-08-18 Java(TM) SE Runtime Environment (build 18.0.2.1+1-1) Java HotSpot(TM) 64-Bit Server VM (build 18.0.2.1+1-1, mixed mode, sharing)
java -jar isopret-gui.jar Sep 18, 2022 12:29:55 PM com.sun.javafx.application.PlatformImpl startup WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @78fce68b' 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:283) at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:254) at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:264) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163) at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659) at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:95) at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125) ... 1 more Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) Caused by: java.lang.RuntimeException: No toolkit found at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:276) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163) at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659) at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196) at java.base/java.lang.Thread.run(Thread.java:833)
Thanks! PS., How did you build/start the app? Was it the downloadable jar file, self-built using maven, or otherwise?
I started it in my Windows console. java -jar isopret-gui.jar
From: Peter Robinson @.> Sent: Monday, September 19, 2022 7:16 AM To: TheJacksonLaboratory/isopret @.> Cc: Chariker, Julia @.>; Comment @.> Subject: Re: [TheJacksonLaboratory/isopret] Error when using precompiled jar file - "Error initializing QuantumRenderer: no suitable pipeline found" (Issue #127)
CAUTION: This email originated from outside of our organization. Do not click links, open attachments, or respond unless you recognize the sender's email address and know the contents are safe.
Thanks! PS., How did you build/start the app? Was it the downloadable jar file, self-built using maven, or otherwise?
- Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FTheJacksonLaboratory%2Fisopret%2Fissues%2F127%23issuecomment-1250883749&data=05%7C01%7Cjulia.chariker%40louisville.edu%7C22d4b719917643f1bdbb08da9a305078%7Cdd246e4a54344e158ae391ad9797b209%7C0%7C0%7C637991829555104942%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=YEDAizzP1BFn2oHZDqe5MW9EtRUQ%2BfRKJ0ccRfeIImE%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACYK6ZPKL6B56FVO76MDSYLV7BDORANCNFSM5WGOB7VA&data=05%7C01%7Cjulia.chariker%40louisville.edu%7C22d4b719917643f1bdbb08da9a305078%7Cdd246e4a54344e158ae391ad9797b209%7C0%7C0%7C637991829555104942%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=EECRUaUc%2BMh3RfqpLkv5tGuoSmk08Mm7P2iru4LSunE%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>
Using the instructions on PACKAGE, I was able to build a dmg file myself that worked on M2 (see Issue #146).
We will need to return to this issue before the first "public" release of isopretGO. Does anybody here have experience with graalVM by chance?
closing for now, we can reopen if the problem reappears. I cannot reproduce the error and the code is very different now from two years ago.
Following the direction here, I downloaded this precompiled jar file.
When I start this up, I see the error below. When I use a jar that I compile myself, it works fine though.
Using a Macbook Pro, MacOS 11.5.2, and java 18: