JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 16.12.2016, 07:24
spaceace76 spaceace76 is offline
Baby Loader
 
Join Date: Oct 2014
Posts: 8
Default JDownloader not working or installing

I've been using JD for years now and suddenly the program stopped working and refused to open. I then uninstalled JD2 and tried reinstalling, but that gives me an error message and closes immediately.

I have downloaded the installer from multiple sources and tried installing with and without admin rights but nothing seems to make a difference.

I'm on windows 10 using JD2, and the only error details JD provides are:

org.jdownloader.update.launcher.JDLauncherFailedException: java.lang.NoClassDefFoundError: org/jdownloader/startup/Main
at org.jdownloader.update.launcher.SecondLevelLauncher.launchJDownloader(SecondLevelLauncher.java:797)
at org.jdownloader.update.launcher.SecondLevelLauncher.init(SecondLevelLauncher.java:562)
at org.jdownloader.update.launcher.SecondLevelLauncher.runMain(SecondLevelLauncher.java:331)
at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/jdownloader/startup/Main
at org.jdownloader.update.launcher.SecondLevelLauncher.launchJDownloader(SecondLevelLauncher.java:729)
... 10 more
Caused by: java.lang.ClassNotFoundException: org.jdownloader.startup.Main
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 11 more



The problem appears Java related but I updated, then uninstalled and reinstalled it, with no change.

Any idea what's causing this?
Reply With Quote
  #2  
Old 16.12.2016, 10:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

Download
mega.nz/#!jZET0TiD!4YsImupRaM1KjQGEmwFuTR2KV2IKHndhqkQLsfIFCoc
and place JDownloader.jar in your JDownloader folder
Delete the file Core.jar and the folders 'tmp' and 'update'

Then JDownloader will update itself and should work fine again
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 16.12.2016, 10:59
spaceace76 spaceace76 is offline
Baby Loader
 
Join Date: Oct 2014
Posts: 8
Default

Just did as you asked, it gives the exact same error as before.
Reply With Quote
  #4  
Old 17.12.2016, 00:14
spaceace76 spaceace76 is offline
Baby Loader
 
Join Date: Oct 2014
Posts: 8
Default

Please, the issue is not solved. I tried the steps you listed (although the Core.jar was nowhere to be found) and it didn't change the error I received.
Reply With Quote
  #5  
Old 17.12.2016, 04:51
tony2long's Avatar
tony2long tony2long is online now
English Supporter
 
Join Date: Jun 2009
Posts: 6,287
Default

Have you tried to double click that .jar?
__________________
FAQ: How to upload a Log
Reply With Quote
  #6  
Old 17.12.2016, 20:03
spaceace76 spaceace76 is offline
Baby Loader
 
Join Date: Oct 2014
Posts: 8
Default

Yes, all that does is activate the updater, which just gives me the same error. I have tried multiple install procedures and installed in different places but it just gives me the same error no matter what.


the actual error details are slightly different with the .jar, but the end result is the same:


org.appwork.exceptions.WTFException: org.appwork.storage.StorageException: Can not write to C:\Program Files\JDownloader v2.0\cfg\ProxySelector.proxies.json.tmp
at org.appwork.storage.config.handler.ListHandler.getValue(ListHandler.java:117)
at org.appwork.storage.config.handler.StorageHandler.invoke(StorageHandler.java:775)
at com.sun.proxy.$Proxy17.getProxies(Unknown Source)
at org.appwork.updatesys.client.defaultimpl.http.ProxySelectorImpl.<init>(ProxySelectorImpl.java:109)
at org.appwork.updatesys.client.defaultimpl.http.HttpClientImpl.initProxySelector(HttpClientImpl.java:1 17)
at org.appwork.updatesys.client.defaultimpl.http.HttpClientImpl.<init>(HttpClientImpl.java:110)
at org.jdownloader.update.UpdateManager$2$1.<init>(UpdateManager.java:231)
at org.jdownloader.update.UpdateManager$2.createHTTPClient(UpdateManager.java:231)
at org.appwork.updatesys.client.UpdateClient.initHTTPClient(UpdateClient.java:266)
at org.appwork.updatesys.client.UpdateClient.<init>(UpdateClient.java:223)
at org.jdownloader.update.JDUpdateClient.<init>(JDUpdateClient.java:117)
at org.jdownloader.update.UpdateManager.<init>(UpdateManager.java:140)
at org.jdownloader.update.launcher.SecondLevelLauncher.init(SecondLevelLauncher.java:359)
at org.jdownloader.update.launcher.SecondLevelLauncher.runMain(SecondLevelLauncher.java:228)
at org.jdownloader.update.launcher.JDLauncherViaClassLoader.main(JDLauncherViaClassLoader.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:78)
Caused by: org.appwork.storage.StorageException: Can not write to C:\Program Files\JDownloader v2.0\cfg\ProxySelector.proxies.json.tmp
at org.appwork.storage.JSonStorage.saveTo(JSonStorage.java:515)
at org.appwork.storage.config.handler.StorageHandler$17.run(StorageHandler.java:713)
at org.appwork.storage.config.handler.StorageHandler.enqueueWrite(StorageHandler.java:228)
at org.appwork.storage.config.handler.StorageHandler.writeObject(StorageHandler.java:716)
at org.appwork.storage.config.handler.ListHandler.write(ListHandler.java:325)
at org.appwork.storage.config.handler.ListHandler.read(ListHandler.java:307)
at org.appwork.storage.config.handler.ListHandler.getValue(ListHandler.java:115)
... 19 more
Caused by: java.io.IOException: Access is denied
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(Unknown Source)
at org.appwork.utils.IO.writeToFile(IO.java:724)
at org.appwork.utils.IO.writeToFile(IO.java:712)
at org.appwork.storage.JSonStorage.saveTo(JSonStorage.java:501)
... 25 more



Java seems to be having trouble with permissions for some reason, as JD can't write to its temp files

Last edited by spaceace76; 17.12.2016 at 20:12.
Reply With Quote
  #7  
Old 18.12.2016, 00:15
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,446
Default

move the installation outside of program files. In modern windows os its protected path, this is why default installation path is %localappdata%

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #8  
Old 18.12.2016, 22:07
spaceace76 spaceace76 is offline
Baby Loader
 
Join Date: Oct 2014
Posts: 8
Default

I have a SSD and HDD, and normally JD2 is on my SSD in the default install path.

Just tried installing on the HDD and it gives the same error:


org.jdownloader.update.launcher.JDLauncherFailedException: java.lang.NoClassDefFoundError: org/jdownloader/startup/Main
at org.jdownloader.update.launcher.SecondLevelLauncher.launchJDownloader(SecondLevelLauncher.java:797)
at org.jdownloader.update.launcher.SecondLevelLauncher.init(SecondLevelLauncher.java:562)
at org.jdownloader.update.launcher.SecondLevelLauncher.runMain(SecondLevelLauncher.java:331)
at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/jdownloader/startup/Main
at org.jdownloader.update.launcher.SecondLevelLauncher.launchJDownloader(SecondLevelLauncher.java:729)
... 10 more
Caused by: java.lang.ClassNotFoundException: org.jdownloader.startup.Main
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 11 more
Reply With Quote
  #9  
Old 19.12.2016, 14:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

Please let us do a teamviewer session.Send me ID and PW to support@jdownloader.org so we can check this out together. I guess firewall/av are messing with your installation
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 19.12.2016, 21:04
spaceace76 spaceace76 is offline
Baby Loader
 
Join Date: Oct 2014
Posts: 8
Default

Message has been sent. Thank you for the help!
Reply With Quote
  #11  
Old 20.12.2016, 11:00
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

I've answered via e-mail
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 20.12.2016, 15:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

Solved via Teamviewer. Something on computer blocked read/write access to JDownloader files/folders. We had to move to new location on different drive to make it work again. I guess some update of firewall/av/antimalware tools
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 31.12.2016, 20:44
spaceace76 spaceace76 is offline
Baby Loader
 
Join Date: Oct 2014
Posts: 8
Default

I have since rectified the issue. Some malware prevented read/write access to the AppData folder and many other folders, which caused JD to break since it couldn't access extensions or even begin downloading. I then uninstalled JD and because the system still couldn't access the folder, reinstalling didn't work.

I tried changing ownership in the Windows Security settings but this didn't work. Eventually I tried a third party program called TakeOwnershipEX and returned permissions of my drive to myself. I then deleted the entire JD folder and downloaded a fresh install package and everything worked perfectly. This was following an extensive cleaning of my drive to ensure any malware was gone, as its presence prevented me from fixing the permissions issues.

Huge thanks to the JD team for working with me while I figured this out. You guys are amazing and HAPPY NEW YEAR!!!

Last edited by spaceace76; 31.12.2016 at 20:49.
Reply With Quote
  #14  
Old 04.01.2017, 19:11
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

Thanks for the feedback! Hope you had a good start into 2017
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 15:21.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.