PCGEN is not launching on Linux

Description

Instead of starting, it exits with this output:

Available memory: 317856 kB
There is less than 1 GB of free memory available. Will keep default memory limits
min: 256 MB, max: 512 MB
2019-06-15T03:02:56.120080 INFO main Main:133 Starting PCGen v6.09.00
2019-06-15T03:02:56.161644 INFO main LanguageBundle:134 Initialising language bundle with locale en_US.
Graphics Device initialization failed for : es2, 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:243)
at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:260)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)
at javafx.embed.swing.JFXPanel.initFx(JFXPanel.java:241)
at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:257)
at pcgen.system.Main.startupWithGUI(Main.java:227)
at pcgen.system.Main.main(Main.java:152)
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)
at java.base/java.lang.Thread.run(Thread.java:834)
2019-06-15T03:02:58.878624 SEVERE main Main:474 Uncaught error on thread Thread[main,5,main] - ignoring
java.lang.RuntimeException: No toolkit found
at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:272)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)
at javafx.embed.swing.JFXPanel.initFx(JFXPanel.java:241)
at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:257)
at pcgen.system.Main.startupWithGUI(Main.java:227)
at pcgen.system.Main.main(Main.java:152)

Environment

Linux

Activity

Show:
starcraft.man
September 4, 2019, 5:40 PM
Edited

Hello, I don’t think there’s a bug here. Rather I’d like to note two things:

  1. You have a very small amount of memory free, 310mb really isn’t much and it may impact pcgen but I cannot know for sure as I haven’t tested it at such low allocation. At this small an amount of free memory you may experience issues with your OS being slow due to being forced to swap. If you can, free more memory. If you are hardware limited then that is understandable.

  2. Did you run this using openJDK 11 and above? Can you tell me what version it was, we don’t support very old versions that may be installed by default in linux. You can check the verison of java installed with java --version on the command line. If it says Java (TM) then you’ve the Oracle java, else you have the default openJDK. Please reply with the output of the command.

    You can find instructions on installing an approved JDK on the RC release. I have used both JDK 12 from Oracle and openJDK 12 on linux and know it works.

    Let me know if that helps.


Edit: Alternatively, this could indicate that no supported GUI toolkit is available, do you have GTK installed? I know javafx supports that.

starcraft.man
September 18, 2019, 8:10 PM

Left this open for sufficient time. Closing. If you have further issue either reopen if same issue or make a new ticket.

Zach Callear
September 21, 2019, 4:42 PM

The output in this ticket is very similar to the Oracle Java 13 output I’ve included in .

Darth Borehd
November 12, 2019, 3:24 AM

Same thing happening to me.

Assignee

starcraft.man

Reporter

Darth Borehd

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

Yes

Components

Affects versions

Priority

Minor
Configure