@derreisende77
Mit der letzten Nightly gibt es einen Fehler beim Schreiben der Einstellungen. Die Datei settings.xml wird nicht aus dem portablen Verzeichnis verwendet.
Ich starte MV mit folgendem Skript in meinem lokalen Git mit einem eigenen 2portablen" mediathek3 Verzeichnis:
#!/usr/bin/sh
cd target
../../jdk-25.0.1/bin/java -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact -XX:+UseStringDeduplication -XX:MaxRAMPercentage=50.0 \
--enable-native-access=ALL-UNNAMED --add-modules jdk.incubator.vector --add-exports=java.desktop/sun.swing=ALL-UNNAMED \
--add-opens java.desktop/sun.awt.X11=ALL-UNNAMED -ea -cp "MediathekView.jar:dependency/*" mediathek.Main ../mediathek3
Im Logfile sehe ich folgendes (auszugsweise)
INFO 2026-07-01 12:18:02,888 [main @coroutine#1] mediathek.Main (Main.kt:469) - Configuring baseFilePath ../mediathek3 for portable mode
INFO 2026-07-01 12:18:02,927 [main @coroutine#1] mediathek.Main (Main.kt:427) - Programmstart: 2026-07-01T12:18:02.925787605
INFO 2026-07-01 12:18:02,937 [main @coroutine#1] mediathek.Main (Main.kt:428) - Version: 15.0.0-nightly
INFO 2026-07-01 12:18:02,937 [main @coroutine#1] mediathek.Main (Main.kt:429) - Build Git: develop @ d14dd4937
INFO 2026-07-01 12:18:02,971 [main @coroutine#1] mediathek.Main (Main.kt:323) - Startparameter: ../mediathek3
INFO 2026-07-01 12:18:02,973 [main @coroutine#1] mediathek.Main (Main.kt:835) - Verzeichnis Einstellungen: ../mediathek3
INFO 2026-07-01 12:18:03,044 [AWT-EventQueue-0 @coroutine#1] mediathek.Main (Main.kt:577) - Registering ../mediathek3/flatlaf as custom FlatLaf config folder
INFO 2026-07-01 12:18:03,614 [AWT-EventQueue-0 @coroutine#1] config.DatenConfigurationPersistence (DatenConfigurationPersistence.kt:51) - Konfig wurde gelesen!
DEBUG 2026-07-01 12:18:03,622 [AWT-EventQueue-0 @coroutine#1] mediathek.Main (Main.kt:782) - User-Agent: MediathekView
DEBUG 2026-07-01 12:18:06,169 [AWT-EventQueue-0 @coroutine#1] update.ProgramUpdateCheck (ProgramUpdateCheck.kt:53) - ProgramUpdateCheck Started.
INFO 2026-07-01 12:18:06,187 [AWT-EventQueue-0 @coroutine#1] http.MVHttpClient (MVHttpClient.kt:101) - MVHttpClient: Proxy not configured
ERROR 2026-07-01 12:18:11,925 [TimerPool-virtual-thread-1] application.ApplicationConfiguration$TimerTaskListener (ApplicationConfiguration.kt:1035) - writing app config file:
org.apache.commons.configuration2.ex.ConfigurationException: Unable to save to file /home/user/.mediathek3/settings.xml
Die letzte Zeile zeigt, dass MV versucht auf meine operative settings.xml zu schreiben und nicht auf die Datei im portablen Verzeichnis. Glücklicherweise habe ich hier einen Schreibschutz drauf, daher kommt “nur” eine Fehlermeldung.
Bitte korrigieren, sonst zerstöre ich mir mein Stable-MV.