JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #21  
Old 14.06.2010, 17:33
Zordon Zordon is offline
JD Alpha
 
Join Date: Jun 2010
Posts: 21
Default

of course
here it is. just remove the .rar from its filename
Attached Files
File Type: rar JDownloader.jar.rar (572.0 KB, 428 views)
Reply With Quote
  #22  
Old 15.06.2010, 21:32
Greeny
Guest
 
Posts: n/a
Default

When i try to start your JAR File in an existing JDownloader directory I get the following error:

Code:
Exception in thread "AWT-EventQueue-0" java.lang.IllegalAccessError: tried to ac
cess method jd.gui.swing.jdgui.events.waitcursor.WaitCursorEventQueue.<init>()V
from class jd.JDInit
        at jd.JDInit.initGUI(JDInit.java:222)
        at jd.Main$4.runSave(Main.java:402)
        at jd.gui.swing.GuiRunnable.run(GuiRunnable.java:86)
        at jd.gui.swing.GuiRunnable.start(GuiRunnable.java:110)
        at jd.gui.swing.GuiRunnable.waitForEDT(GuiRunnable.java:67)
        at jd.Main.go(Main.java:405)
        at jd.Main.access$0(Main.java:352)
        at jd.Main$3.run(Main.java:262)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Do you get the same? Please copy the jar file in a directory where a working jdownloader copy is located... then start the jar from the console (java -jar JDownloader.jar when you are "in" the directory") and paste the log here or somewhere else
Reply With Quote
  #23  
Old 15.06.2010, 23:42
Zordon Zordon is offline
JD Alpha
 
Join Date: Jun 2010
Posts: 21
Default

Thanks again for your time.

My log says something different. How is that possible since we tried to start the SAME jar file??
I copied the jar file in my JDownloader installation directory (where the JD binaries from here are running perfectly fine).
Code:
C:\Tools\JDownloader>java -jar JDownloader.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/appwork/utils/sin
gleapp/AnotherInstanceRunningException
Caused by: java.lang.ClassNotFoundException: org.appwork.utils.singleapp.Another
InstanceRunningException
        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)
Could not find the main class: jd.Main. Program will exit.
Reply With Quote
  #24  
Old 16.06.2010, 08:39
Greeny
Guest
 
Posts: n/a
Default

is this version a running STABLE version or a NIGHTLY (preferred) ?
Reply With Quote
  #25  
Old 16.06.2010, 17:40
Zordon Zordon is offline
JD Alpha
 
Join Date: Jun 2010
Posts: 21
Default

I got the source code from your SNV (svn://svn.jdownloader.org/jdownloader) and I guess you put stable versions there?
Reply With Quote
  #26  
Old 16.06.2010, 21:27
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 75,084
Default

you forgot the appwork lib

Required Dependencies

* AppWork Utilities Repo: svn://svn.appwork.org/utils
__________________
JD-Dev & Server-Admin
Reply With Quote
  #27  
Old 17.06.2010, 00:41
Zordon Zordon is offline
JD Alpha
 
Join Date: Jun 2010
Posts: 21
Default

I have my Source folder for Java.
Within that folder I have both projects, i.e.: Java/JDownloader and Java/AppWorkUtils

Has the AppWorkUtils folder to be within the JDownloader source folder??

Both projects are imported in eclipse and on JDownloader -> Build Path -> configure Build Path I have added the AppWorkUtils as a project. Maybe I did something wrong here?? (see screenshot)
Attached Images
File Type: jpg AppWork.jpg (57.5 KB, 441 views)
Reply With Quote
  #28  
Old 17.06.2010, 08:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 75,084
Default

did you create working environment by starting updatedevworkspace.java ?
did you set vm parameter -Xmx512m ?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #29  
Old 17.06.2010, 11:46
Zordon Zordon is offline
JD Alpha
 
Join Date: Jun 2010
Posts: 21
Default

Quote:
did you set vm parameter -Xmx512m ?
Yes

Quote:
did you create working environment by starting updatedevworkspace.java ?
No, but now that I did the problem changed. So I really hope we're close to solving it. If I now copy the created JDownloader.jar from the JDownloader/dist folder to the jd_home folder and start it, I don't get any errors and I can see javaw.exe in the task manager. But JDownloader doesn't show up (like it's running without GUI?).

Any ideas on this?
I uploaded the new JDownloader.jar as attachement (just remove ".rar").

When I start JDownloader with java -jar I get "NoClassDefFoundError":
Spoiler:
Code:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Name>cd .jd_home

C:\Users\Name\.jd_home>java -jar JDownloader.jar

------------------------  Thread: 10  -----------------------
10 17.06.10 11:43:54 - INFO [jd.Main(main)] -> Start JDownloader
10 17.06.10 11:43:54 - INFO [jd.utils.JDUtilities(getJDHomeDirectoryFromEnvironm
ent)] -> JD_HOME:C:\Users\Name\.jd_home
10 17.06.10 11:43:55 - FINEST [jd.utils.JDUtilities(getJDClassLoader)] -> Create
 Classloader: for: C:\Users\Name\.jd_home
10 17.06.10 11:43:55 - FINEST [jd.JDClassLoader(<init>)] -> rootDir:C:\Users\Name\.jd_home
C:\Users\Name\.jd_home
 file:/C:/Users/Name/.jd_home/jd
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDChat.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDExternInterface.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDFolderWatch.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDGrowl.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDHJMerge.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDHTTPLiveHeaderScripter.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDInfoFileWriter.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDLangFileEditor.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDPackageCustomizer.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDRemoteControl.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDShutdown.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDTray.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDUnrar.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\JDWebinterface.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: C:\U
sers\Name\.jd_home\plugins\schedule.jar
10 17.06.10 11:43:55 - SEVERE [jd.JDClassLoader(<init>)] -> Not loaded due to si
g violation: C:\Users\Name\.jd_home\JDownloader.jar
10 17.06.10 11:43:55 - SEVERE [jd.JDClassLoader(<init>)] -> Not loaded due to si
g violation: C:\Users\Name\.jd_home\tinyupdate.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\substance-swingx.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\substance.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\synthetica.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaBatik.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaBlackEye.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaBlackMoon.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaBlackStar.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaBlueIce.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaBlueMoon.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaBlueSteel.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaGreenDream.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaMauveMetallic.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaOrangeMetallic.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaSilverMoon.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaSimple2D.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaSkyMetallic.jar
10 17.06.10 11:43:55 - FINER [jd.JDClassLoader(<init>)] -> Look and Feel JAR loa
ded: C:\Users\Name\.jd_home\libs\laf\syntheticaWhiteVision.jar
10 17.06.10 11:43:55 - FINER [jd.config.DatabaseConnector(<init>)] -> Loading da
tabase
10 17.06.10 11:43:55 - FINER [jd.config.DatabaseConnector(checkDatabaseHeader)]
-> Checking database
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: jd/gui/sw
ing/jdgui/events/waitcursor/WaitCursorEventQueue
        at jd.Main.go(Main.java:353)
        at jd.Main.access$0(Main.java:352)
        at jd.Main$3.run(Main.java:262)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: jd.gui.swing.jdgui.events.waitcurso
r.WaitCursorEventQueue
        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)
        ... 11 more
Attached Files
File Type: rar JDownloader.jar.rar (573.4 KB, 371 views)
Reply With Quote
  #30  
Old 17.06.2010, 11:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 75,084
Default

there is something very wrong with your compiled jar
better visit supportchannel we will do a teamviewer seesion, im sure just a little misstake at your side
__________________
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 09:56.
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 - 2022, Jelsoft Enterprises Ltd.