Open aphsa opened 4 years ago
I think the issue is that javafx is no longer bundled with the openjdk. Not sure how to fix that. Help would be welcome here.
Even it's already an older issue.
The reported error looks more like an issue with the JAVA_PATH
(extracted from the initial post)
the following problem occurred while I was using OpenCards:
OpenCards version: 2.5
Platform: Linux 4.15.0-123-genericJava Version: 11.0.9.1 - Ubuntu
Thread[main,5,main]
java.lang.NoClassDefFoundError: org/jfree/data/category/CategoryDataset
info.opencards.ui.ltmstats.LongTermMemStatsPanel.initComponents(LongTermMemStatsPanel.java:68)
info.opencards.ui.ltmstats.LongTermMemStatsPanel.<init>(LongTermMemStatsPanel.java:30)
info.opencards.ui.LearnManagerUI.initComponents(LearnManagerUI.java:279)
info.opencards.ui.LearnManagerUI.<init>(LearnManagerUI.java:58)
info.opencards.OpenCards.<init>(OpenCards.java:96)
info.opencards.OpenCards.main(OpenCards.java:41)
Add more comments here if necessary!!
Best, ...
despite that error it seems that with Java 11 and JFX there was a change introduced which breaks OpenCards
OpenJDK Runtime Environment (build 11.0.20.1+1-post-Ubuntu-0ubuntu120.04)
OpenCards version: 2.5
Platform: Linux 5.15.0-87-genericJava Version: 11.0.20.1 - Ubuntu
Thread[AWT-EventQueue-0,6,main]
java.lang.NoClassDefFoundError: javafx/scene/Parent
info.opencards.CardFileBackend.getSlideManager(CardFileBackend.java:52)
info.opencards.ui.AbstractLearnDialog.prepareFileSession(AbstractLearnDialog.java:159)
info.opencards.core.LearnProcessManager.startProcessing(LearnProcessManager.java:93)
info.opencards.core.LearnProcessManager.startProcessing(LearnProcessManager.java:63)
info.opencards.ui.actions.StartLearningAction.learnCardFiles(StartLearningAction.java:166)
info.opencards.ui.actions.StartLearningAction.actionPerformed(StartLearningAction.java:64)
java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
Add more comments here if necessary!!
Best, ...
it fails the same for Oracle Java(TM) SE Runtime Environment 18.9 (build 11.0.20+9-LTS-256)
but it still works with Azul OpenJDK Runtime Environment Zulu11.66+19-CA (build 11.0.20.1+1-LTS)
.
Yes openjfx is already installed.