JDownloader Community - Appwork GmbH

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 29.01.2011, 08:18
Zordon Zordon is offline
JD Alpha
Join Date: Jun 2010
Posts: 21
Default JDownloader doesn't compile after OS reinstall

I used to be able to compile JD on my old OS after spending days on nearly the same problem.... :(

I downloaded all the files from svn like mentioned here: http://jdownloader.org/knowledge/wik...nt/get-started
I can run jd.Main in eclipse without problems.
The build.xml file compiles without problems. However, when I run it with "java -jar downloader.jar" I get the following error:
>java -jar jdownloader.jar

------------------------  Thread: 10  -----------------------
10 29.01.11 07:07:06 - INFO [jd.Main(main)] -> Start JDownloader
Exception in thread "main" java.lang.NoClassDefFoundError: jd/nutils/encoding/En
        at jd.nutils.Formatter.filterInt(Formatter.java:144)
        at jd.utils.JDUtilities.getJavaVersion(JDUtilities.java:239)
        at jd.Main.javaCheck(Main.java:139)
        at jd.Main.preInitChecks(Main.java:405)
        at jd.Main.main(Main.java:273)
Caused by: java.lang.ClassNotFoundException: jd.nutils.encoding.Encoding
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        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)
        ... 5 more
The manifest.mf looks like this:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: JD-Team and AppWork UG
Main-Class: jd.Main
Class-Path: libs/BrowserLauncher2.jar libs/Filters.jar libs/JAntiCaptc
 ha.jar libs/JDGUI.jar libs/JDHttp.jar libs/JDUtils.jar libs/appworkut
 ilities.jar libs/clink170.jar libs/cobra.jar libs/dbus/debug-disable.
 jar libs/dbus/hexdump.jar libs/dbus/libdbus-java.jar libs/dbus/unix.j
 ar libs/flex-messaging-common.jar libs/flex-messaging-core.jar libs/h
 sqldb.jar libs/htmlcleaner2_0.jar libs/image4j.jar libs/irclib.jar li
 bs/jackson-core.jar libs/jackson-mapper.jar libs/jetty-io-7.1.6.v2010
 0715.jar libs/jetty-security-7.1.6.v20100715.jar libs/jetty-server-7.
 1.6.v20100715.jar libs/jetty-servlet-7.1.6.v20100715.jar libs/jetty-u
 til-7.1.6.v20100715.jar libs/jna.jar libs/jpfm-fs.jar libs/jpfm.jar l
 ibs/js.jar libs/laf/substance-swingx.jar libs/laf/substance.jar libs/
 laf/synthetica.jar libs/laf/syntheticaBatik.jar libs/laf/syntheticaBl
 ackEye.jar libs/laf/syntheticaBlackMoon.jar libs/laf/syntheticaBlackS
 tar.jar libs/laf/syntheticaBlueIce.jar libs/laf/syntheticaBlueMoon.ja
 r libs/laf/syntheticaBlueSteel.jar libs/laf/syntheticaGreenDream.jar 
 libs/laf/syntheticaMauveMetallic.jar libs/laf/syntheticaOrangeMetalli
 c.jar libs/laf/syntheticaSilverMoon.jar libs/laf/syntheticaSimple2D.j
 ar libs/laf/syntheticaSkyMetallic.jar libs/laf/syntheticaWhiteVision.
 jar libs/laf/trident.jar libs/miglayout.jar libs/savemytube.jar libs/
 sevenzipjbinding-AllPlatforms.jar libs/sevenzipjbinding.jar libs/svnk
 it.jar libs/swingworker.jar libs/swingx.jar plugins/Customizer.jar pl
I run jdownloader in a folder with all the libs mentioned here. So why does it crash on every startup within it's main function? (it stops on line 139 of the current sources on the call of JDUtilities.getJavaVersion() - tested it by adding log lines)
When I try to run jdupdate.jar (also self compiled) it just says: Could not find th main class: jd.update.Main. Programm will exit.

So I guess again a "simple" class path problem which is affecting both jars??


edit. uploaded the JDownloader.jar file packed as rar
Attached Files
File Type: rar JDownloader.jar.rar (640.7 KB, 313 views)

Last edited by Jiaz; 31.01.2011 at 11:04.
Reply With Quote

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 13:01.
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.