jdownloader / Java issues Please Help

YDL running on the Sony Playstation 3

Moderator: billb

jdownloader / Java issues Please Help

Postby Robat » 09 Oct 2008, 22:37

hey folks!

i was wondering if its possible to install the jdownloader.i got the newest java runtime environment (6.0-2.0) set up, downloaded the jdownloader and tried to start it with this command:

Code: Select all
java -jar "/root/Desktop/jdownloader v3.262/jdownloader/JDownloader.jar"


if i do so my ps3 is half a minute busy and then...nothing.

there is a How-To for ubuntuusers here http://wiki.ubuntuusers.de/jDownloader

unfortunetaly it is in german language.but the main thing it says is to execute following command:

Code: Select all
bash -c "java -Xmx512m -jar /Path/to/directory/JDownloader.jar"


as i tried this nothing happened either.

does anybody has a solution for this?...because i'd love to use my my ps3 for couple of downloading via RS and so on.

thx
Last edited by Robat on 10 Oct 2008, 21:47, edited 1 time in total.
Robat
ydl newbie
ydl newbie
 
Posts: 10
Joined: 14 Aug 2008, 10:52

Re: jdownloader?

Postby ppietro » 09 Oct 2008, 23:14

Robat wrote:hey folks!

i was wondering if its possible to install the jdownloader.i got the newest java runtime environment (6.0-2.0) set up, downloaded the jdownloader and tried to start it with this command:

Code: Select all
java -jar "/root/Desktop/jdownloader v3.262/jdownloader/JDownloader.jar"


if i do so my ps3 is half a minute busy and then...nothing.

there is a How-To for ubuntuusers here http://wiki.ubuntuusers.de/jDownloader

unfortunetaly it is in german language.but the main thing it says is to execute following command:

Code: Select all
bash -c "java -Xmx512m -jar /Path/to/directory/JDownloader.jar"


as i tried this nothing happened either.

does anybody has a solution for this?...because i'd love to use my my ps3 for couple of downloading via RS and so on.

thx


Okay - first of all - do you have IBM's Java installed? This probably won't work with the default GCJ that comes standard in YDL.

Instructions for installing IBM's Java is here:
viewtopic.php?t=2935

Next, if you want to follow this procedure, you'll have to make sure that IBM is set to the default Java. The quickest way to check this is to open up a terminal window, and type
Code: Select all
java -version
. If it doesn't return IBM, then you need to bring IBM's Java higher up in the path. My quick fix for this is, as root user,
Code: Select all
ln -s /opt/ibm/java-ppc-60/jre/bin/java /usr/local/bin
if you're using IBM's Java 6.0. If you're using IBM's Java 5.0, the code is
Code: Select all
ln -s /opt/ibm/java2-ppc-50/jre/bin/java /usr/local/bin


Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: jdownloader?

Postby Robat » 10 Oct 2008, 13:27

Thanks Paul for the quick help!

i highered up the IBM java in the path and it worked fine.this is the result:

Code: Select all
[root@noname ~]# java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxp3260sr2-20080818_01(SR2))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux ppc-32 jvmxp3260-20080816_22093 (JIT enabled, AOT enabled)
J9VM - 20080816_022093_bHdSMr
JIT  - r9_20080721_1330ifx2
GC   - 20080724_AA)
JCL  - 20080808_02


but still i cannot start the jdownloader with the command:

Code: Select all
java -jar "/root/Desktop/jdownloader v3.262/jdownloader/JDownloader.jar"


if i enter this is the result:

Code: Select all
10.10.2008 14:56:38 - INFO [jd.config.DatabaseConnector(<init>)] -> Loading database
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] -> java.sql.SQLException: General error: java.lang.NoClassDefFoundError: java.math.MathContext
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at org.hsqldb.jdbcDriver.connect(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.sql.DriverManager.getConnection(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.sql.DriverManager.getConnection(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.config.DatabaseConnector.<init>(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.utils.JDUtilities.getDatabaseConnector(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.config.SubConfiguration.<init>(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.utils.JDUtilities.getSubConfig(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.Main.main(Unknown Source)
10.10.2008 14:56:39 - INFO [jd.utils.JDUtilities(getJDClassLoader)] -> Create Classloader: for: /root/Desktop/jdownloader v3.262/jdownloader
10.10.2008 14:56:39 - FINE [jd.JDClassLoader(<init>)] -> rootDir:/root/Desktop/jdownloader v3.262/jdownloader
10.10.2008 14:56:39 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /root/Desktop/jdownloader v3.262/jdownloader/restore.jar
10.10.2008 14:56:39 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /root/Desktop/jdownloader v3.262/jdownloader/JDownloader.jar
JDLocale: /root/Desktop/jdownloader v3.262/jdownloader/jd/languages/german.lng.missing not found
10.10.2008 14:56:39 - INFO [jd.utils.JDSounds(setSoundTheme)] -> SoundTheme default loaded
10.10.2008 14:56:43 - INFO [jd.Main(go)] -> Register plugins
10.10.2008 14:56:43 - FINER [jd.JDInit(loadImages)] -> Loaded image: jd_blog from file:/root/Desktop/jdownloader%20v3.262/jdownloader/jd/img/jd_blog.png
10.10.2008 14:56:43 - FINER [jd.JDInit(loadImages)] -> Loaded image: led_green from file:/root/Desktop/jdownloader%20v3.262/jdownloader/jd/img/led_green.gif
10.10.2008 14:56:43 - FINER [jd.JDInit(loadImages)] -> Loaded image: led_empty from file:/root/Desktop/jdownloader%20v3.262/jdownloader/jd/img/led_empty.gif
10.10.2008 14:56:44 - FINER [jd.JDInit(loadImages)] -> Loaded image: jd_logo from file:/root/Desktop/jdownloader%20v3.262/jdownloader/jd/img/jd_logo.png
10.10.2008 14:56:44 - FINER [jd.JDInit(loadImages)] -> Loaded image: jd_logo_large from file:/root/Desktop/jdownloader%20v3.262/jdownloader/jd/img/jd_logo_large.png
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] -> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.config.DatabaseConnector.saveConfiguration(Unknown Source)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.JDInit.loadConfiguration(Unknown Source)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.Main.go(Unknown Source)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.Main.access$0(Unknown Source)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.Main$1.run(Unknown Source)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:220)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventQueue.dispatchEvent(EventQueue.java:608)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:179)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:171)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventDispatchThread.run(EventDispatchThread.java:132)


after that nothing happens.

any ideas on that?i dont really have to have this jdownloader.maybe there is a whole easier way to manage the downloads of RS-files

greetz
Robat
ydl newbie
ydl newbie
 
Posts: 10
Joined: 14 Aug 2008, 10:52

Re: jdownloader?

Postby ppietro » 10 Oct 2008, 22:48

Robat wrote:Thanks Paul for the quick help!

i highered up the IBM java in the path and it worked fine.this is the result:

Code: Select all
[root@noname ~]# java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxp3260sr2-20080818_01(SR2))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux ppc-32 jvmxp3260-20080816_22093 (JIT enabled, AOT enabled)
J9VM - 20080816_022093_bHdSMr
JIT  - r9_20080721_1330ifx2
GC   - 20080724_AA)
JCL  - 20080808_02


but still i cannot start the jdownloader with the command:

Code: Select all
java -jar "/root/Desktop/jdownloader v3.262/jdownloader/JDownloader.jar"


if i enter this is the result:

Code: Select all
10.10.2008 14:56:38 - INFO [jd.config.DatabaseConnector(<init>)] -> Loading database
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] -> java.sql.SQLException: General error: java.lang.NoClassDefFoundError: java.math.MathContext
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at org.hsqldb.jdbcDriver.connect(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.sql.DriverManager.getConnection(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.sql.DriverManager.getConnection(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.config.DatabaseConnector.<init>(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.utils.JDUtilities.getDatabaseConnector(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.config.SubConfiguration.<init>(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.utils.JDUtilities.getSubConfig(Unknown Source)
10.10.2008 14:56:39 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.Main.main(Unknown Source)
10.10.2008 14:56:39 - INFO [jd.utils.JDUtilities(getJDClassLoader)] -> Create Classloader: for: /root/Desktop/jdownloader v3.262/jdownloader
10.10.2008 14:56:39 - FINE [jd.JDClassLoader(<init>)] -> rootDir:/root/Desktop/jdownloader v3.262/jdownloader
10.10.2008 14:56:39 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /root/Desktop/jdownloader v3.262/jdownloader/restore.jar
10.10.2008 14:56:39 - FINER [jd.JDClassLoader(<init>)] -> Jar file loaded: /root/Desktop/jdownloader v3.262/jdownloader/JDownloader.jar
JDLocale: /root/Desktop/jdownloader v3.262/jdownloader/jd/languages/german.lng.missing not found
10.10.2008 14:56:39 - INFO [jd.utils.JDSounds(setSoundTheme)] -> SoundTheme default loaded
10.10.2008 14:56:43 - INFO [jd.Main(go)] -> Register plugins
10.10.2008 14:56:43 - FINER [jd.JDInit(loadImages)] -> Loaded image: jd_blog from file:/root/Desktop/jdownloader%20v3.262/jdownloader/jd/img/jd_blog.png
10.10.2008 14:56:43 - FINER [jd.JDInit(loadImages)] -> Loaded image: led_green from file:/root/Desktop/jdownloader%20v3.262/jdownloader/jd/img/led_green.gif
10.10.2008 14:56:43 - FINER [jd.JDInit(loadImages)] -> Loaded image: led_empty from file:/root/Desktop/jdownloader%20v3.262/jdownloader/jd/img/led_empty.gif
10.10.2008 14:56:44 - FINER [jd.JDInit(loadImages)] -> Loaded image: jd_logo from file:/root/Desktop/jdownloader%20v3.262/jdownloader/jd/img/jd_logo.png
10.10.2008 14:56:44 - FINER [jd.JDInit(loadImages)] -> Loaded image: jd_logo_large from file:/root/Desktop/jdownloader%20v3.262/jdownloader/jd/img/jd_logo_large.png
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] -> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.config.DatabaseConnector.saveConfiguration(Unknown Source)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.JDInit.loadConfiguration(Unknown Source)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.Main.go(Unknown Source)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.Main.access$0(Unknown Source)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at jd.Main$1.run(Unknown Source)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:220)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventQueue.dispatchEvent(EventQueue.java:608)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:179)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:171)
10.10.2008 14:56:44 - SEVERE [jd.utils.JDUtilities$2(write)] ->         at java.awt.EventDispatchThread.run(EventDispatchThread.java:132)


after that nothing happens.

any ideas on that?i dont really have to have this jdownloader.maybe there is a whole easier way to manage the downloads of RS-files

greetz


Hmm - okay - so I think this line is what's killing you:
Code: Select all
java.sql.SQLException: General error: java.lang.NoClassDefFoundError: java.math.MathContext


The java.math.MathContext class must be in a Java library that Sun supplies and IBM does not. Even though Sun's Java and IBM's Java are 100% compatible, the number of libraries that ships with each Java is not.

However - since they're 100% compatible, if you have access to a Sun java installation, and a bit of patience, you could figure out which .JAR file contains the java.math.MathContext class, and copy that entire JAR file to your IBM installation.

Interesting....

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: jdownloader / Java issues Please Help

Postby padfoot » 24 Jun 2010, 23:57

I's suggest you give up Jdownloader and try out megaupload-dl or plowshare!

Plowshare is better though!

You can find them at code.google.com
padfoot
ydl newbie
ydl newbie
 
Posts: 1
Joined: 24 Jun 2010, 23:52

Re: jdownloader / Java issues Please Help

Postby ppietro » 25 Jun 2010, 00:40

padfoot wrote:I's suggest you give up Jdownloader and try out megaupload-dl or plowshare!

Plowshare is better though!

You can find them at code.google.com


Thanks for posting your solution, but in the future you may want to check the date of the thread. The last post in this thread was by me in October 2008.

In addition, the original poster of the question hasn't posted to our forums since Dec. 26th, 2008, so chances are they aren't even looking here anymore.

I'm not trying to dissuade you from posting - just trying to make sure there's an audience for your posts. :D

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18


Return to Playstation 3

Who is online

Users browsing this forum: No registered users and 77 guests

cron