Thread: [User feedback required] Problems updating on Raspberry Pi
View Single Post
Old 06.05.2019, 14:49
Sinon Sinon is offline
Baby Loader
Join Date: Dec 2009
Posts: 7
Default Problems updating on Raspberry Pi


I wasn't able to do a proper update for JDownloader on my old Pi 1 for ages, because I always get the same error at about 75%:
I start JDownloader via "java -jar JDownloader.jar"
Installed Java is
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) Client VM (build 24.60-b09, mixed mode)
Error messages:

org.jdownloader.update.SelfUpdateException: Unexpected Selftest Result: FAILED org.jdownloader.update.lastchance.FailedException: java.lang.Exception: No Client set yet
	at org.jdownloader.update.SelfUpdateClient.validateSelfTestFile(
	at org.jdownloader.update.SelfUpdateClient.finishSelfUpdate(
	at org.jdownloader.update.UpdateManager.runFinishSelfUpdate(
	at org.jdownloader.update.DefaultCallbackHandler.onResults(
	at org.jdownloader.update.UpdateManager.runUpdateLoop(
	at org.jdownloader.update.UpdateManager$
This happens twice in a row, then I get
org.jdownloader.update.launcher.JDLauncherFailedException: java.lang.NoClassDefFoundError: org/jdownloader/startup/Main
	at org.jdownloader.update.launcher.SecondLevelLauncher.launchJDownloader(
	at org.jdownloader.update.launcher.SecondLevelLauncher.init(
	at org.jdownloader.update.launcher.SecondLevelLauncher.runMain(
	at org.jdownloader.update.launcher.JDLauncherViaClassLoader.main(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.jdownloader.update.launcher.JDLauncher.main(
Caused by: java.lang.NoClassDefFoundError: org/jdownloader/startup/Main
	at org.jdownloader.update.launcher.SecondLevelLauncher.launchJDownloader(
	... 8 more
Caused by: java.lang.ClassNotFoundException: org.jdownloader.startup.Main
	at Method)
	at java.lang.ClassLoader.loadClass(
	at sun.misc.Launcher$AppClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	... 9 more
I tried downloading a new Jdownloader.jar, deleting tmp and update folders, but to no avail. Any ideas?

Update: While writing this I had my Pi running "java -Djava.awt.headless=true -jar JDownloader.jar -norestart" which apparantly got through with all the updates. So this seems to be a GUI problem?
Reply With Quote