Hi there,
I've tried to run Cave Render Pro under Linux with recent Java installation and it fails to start with the following stacktrace :
1
2
3
4
5
6
7
8
9
10
(java:2071): Gdk-WARNING **: 11:27:17.895: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
Exception in Application start method
Exception in thread "JavaFX Application Thread" java.lang.IndexOutOfBoundsException: 0 >= 0
at javafx.controls/javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList.get(MultipleSelectionModelBase.java:664)
at javafx.controls/javafx.scene.control.MultipleSelectionModelBase$SelectedIndicesList.get(MultipleSelectionModelBase.java:627)
at javafx.controls/com.sun.javafx.scene.control.SelectedItemsReadOnlyObservableList.get(SelectedItemsReadOnlyObservableList.java:99)
at de.caverenderpro.controller.SetupController$50.updateItem(SetupController.java:1226)
at de.caverenderpro.controller.SetupController$50.updateItem(SetupController.java:1)
at javafx.controls/javafx.scene.control.TableCell.updateItem(TableCell.java:689)
at javafx.controls/javafx.scene.control.TableCell.indexChanged(TableCell.java:474)
I've launched it this way :
export PATH_TO_FX=~/bin/openjfx-17.0.1_linux-x64_bin-sdk/javafx-sdk-17.0.1/lib/
java --module-path $PATH_TO_FX --add-modules=javafx.controls,javafx.fxml,javafx.web -Xms1g -Xmx2g -Dprism.targetvram=1g -Dprism.maxvram=2g -Dprismvsync=false -jar ~/bin/CaveRenderPro/CaveRenderPro.jar
Java openjdk 17 and openjfx 17
It seems like there no longer any support for Java 8 on Ubuntu 20 (it not available if i run sudo apt install oracle-java8-jdk)
Let's hope you can help me ! :)