JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 12.08.2011, 00:49
simonbcn simonbcn is offline
DSL Light User
 
Join Date: May 2010
Location: Dinamarca
Posts: 30
Unhappy JD doesn't start in Natty 64 bits

Ubuntu Natty 64 bits
jdownloader 0.2-0jd1~natty installed from PPA (**External links are only visible to Support Staff****External links are only visible to Support Staff**)
When I execute jdownloader:
Code:
$ jdownloader 
JAR
00s.001 - FINEST [jd.utils.JDUtilities(getJDClassLoader)] -> Create Classloader: for: /home/simon/.jdownloader
00s.005 - FINEST [jd.JDClassLoader(<init>)] -> rootDir:/home/simon/.jdownloader
/home/simon/.jdownloader
 null
00s.057 - FINER [jd.config.DatabaseConnector(<init>)] -> Loading database
00s.300 - FINER [jd.config.DatabaseConnector(<init>)] -> No CONFIGURATION database found. Creating new one.
00s.310 - FINER [jd.config.DatabaseConnector(<init>)] -> Starting database wrapper
/home/simon/.jdownloader/config/WEBUPDATE.cfg (No such file or directory)
{}

/home/simon/.jdownloader/config/PACKAGEMANAGER.cfg (No such file or directory)
{}

java.awt.HeadlessException
	at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
	at java.awt.Window.<init>(Window.java:476)
	at java.awt.Frame.<init>(Frame.java:419)
	at java.awt.Frame.<init>(Frame.java:384)
	at javax.swing.JFrame.<init>(JFrame.java:174)
	at jd.update.Main.initGUI(Main.java:459)
	at jd.update.Main.main(Main.java:129)
ERROR null
And If I execute jdupdater:
Code:
$ java -jar jdupdate.jar 
JAR
00s.000 - FINEST [jd.utils.JDUtilities(getJDClassLoader)] -> Create Classloader: for: /home/simon/.jdownloader
00s.004 - FINEST [jd.JDClassLoader(<init>)] -> rootDir:/home/simon/.jdownloader
/home/simon/.jdownloader
 null
00s.055 - FINER [jd.config.DatabaseConnector(<init>)] -> Loading database
00s.345 - WARNING [jd.config.DatabaseConnector(getData)] -> Database not available. Create new one: WEBUPDATE
00s.345 - FINEST [jd.controlling.JDLogger(exception)] -> FINEST Exception occurred
java.sql.SQLException: Table not found in statement [SELECT * FROM config]
	at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
	at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
	at org.hsqldb.jdbc.jdbcStatement.executeQuery(Unknown Source)
	at jd.config.DatabaseConnector.getData(DatabaseConnector.java:216)
	at jd.config.SubConfiguration.<init>(SubConfiguration.java:77)
	at jd.config.SubConfiguration.getConfig(SubConfiguration.java:106)
	at jd.update.WebUpdater.getConfig(WebUpdater.java:74)
	at jd.update.Main.main(Main.java:121)
First save WEBUPDATE
00s.348 - WARNING [jd.config.DatabaseConnector(saveConfiguration)] -> Database save error: WEBUPDATE
00s.348 - FINEST [jd.controlling.JDLogger(exception)] -> FINEST Exception occurred
java.sql.SQLException: Table not found in statement [INSERT INTO config VALUES (?,?)]
	at org.hsqldb.jdbc.Util.throwError(Unknown Source)
	at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
	at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
	at jd.config.DatabaseConnector.saveConfiguration(DatabaseConnector.java:285)
	at jd.config.SubConfiguration.save(SubConfiguration.java:87)
	at jd.config.SubConfiguration.getConfig(SubConfiguration.java:109)
	at jd.update.WebUpdater.getConfig(WebUpdater.java:74)
	at jd.update.Main.main(Main.java:121)
/home/simon/.jdownloader/config/WEBUPDATE.cfg (No such file or directory)
First save WEBUPDATE
00s.352 - WARNING [jd.config.DatabaseConnector(saveConfiguration)] -> Database save error: WEBUPDATE
00s.352 - FINEST [jd.controlling.JDLogger(exception)] -> FINEST Exception occurred
java.sql.SQLException: Table not found in statement [INSERT INTO config VALUES (?,?)]
	at org.hsqldb.jdbc.Util.throwError(Unknown Source)
	at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
	at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
	at jd.config.DatabaseConnector.saveConfiguration(DatabaseConnector.java:285)
	at jd.config.SubConfiguration.save(SubConfiguration.java:87)
	at jd.update.WebUpdater.getConfig(WebUpdater.java:81)
	at jd.update.Main.main(Main.java:121)
First save WEBUPDATE
00s.353 - WARNING [jd.config.DatabaseConnector(saveConfiguration)] -> Database save error: WEBUPDATE
00s.353 - FINEST [jd.controlling.JDLogger(exception)] -> FINEST Exception occurred
java.sql.SQLException: Table not found in statement [INSERT INTO config VALUES (?,?)]
	at org.hsqldb.jdbc.Util.throwError(Unknown Source)
	at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
	at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
	at jd.config.DatabaseConnector.saveConfiguration(DatabaseConnector.java:285)
	at jd.config.SubConfiguration.save(SubConfiguration.java:87)
	at jd.update.WebUpdater.getConfig(WebUpdater.java:81)
	at jd.update.Main.main(Main.java:124)
First save WEBUPDATE
00s.353 - WARNING [jd.config.DatabaseConnector(saveConfiguration)] -> Database save error: WEBUPDATE
00s.353 - FINEST [jd.controlling.JDLogger(exception)] -> FINEST Exception occurred
java.sql.SQLException: Table not found in statement [INSERT INTO config VALUES (?,?)]
	at org.hsqldb.jdbc.Util.throwError(Unknown Source)
	at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
	at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
	at jd.config.DatabaseConnector.saveConfiguration(DatabaseConnector.java:285)
	at jd.config.SubConfiguration.save(SubConfiguration.java:87)
	at jd.update.WebUpdater.getConfig(WebUpdater.java:81)
	at jd.update.Main.main(Main.java:125)
{}

00s.354 - WARNING [jd.config.DatabaseConnector(getData)] -> Database not available. Create new one: PACKAGEMANAGER
00s.354 - FINEST [jd.controlling.JDLogger(exception)] -> FINEST Exception occurred
java.sql.SQLException: Table not found in statement [SELECT * FROM config]
	at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
	at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
	at org.hsqldb.jdbc.jdbcStatement.executeQuery(Unknown Source)
	at jd.config.DatabaseConnector.getData(DatabaseConnector.java:216)
	at jd.config.SubConfiguration.<init>(SubConfiguration.java:77)
	at jd.config.SubConfiguration.getConfig(SubConfiguration.java:106)
	at jd.update.WebUpdater.getConfig(WebUpdater.java:74)
	at jd.update.Main.main(Main.java:126)
First save PACKAGEMANAGER
00s.354 - WARNING [jd.config.DatabaseConnector(saveConfiguration)] -> Database save error: PACKAGEMANAGER
00s.355 - FINEST [jd.controlling.JDLogger(exception)] -> FINEST Exception occurred
java.sql.SQLException: Table not found in statement [INSERT INTO config VALUES (?,?)]
	at org.hsqldb.jdbc.Util.throwError(Unknown Source)
	at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
	at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
	at jd.config.DatabaseConnector.saveConfiguration(DatabaseConnector.java:285)
	at jd.config.SubConfiguration.save(SubConfiguration.java:87)
	at jd.config.SubConfiguration.getConfig(SubConfiguration.java:109)
	at jd.update.WebUpdater.getConfig(WebUpdater.java:74)
	at jd.update.Main.main(Main.java:126)
/home/simon/.jdownloader/config/PACKAGEMANAGER.cfg (No such file or directory)
First save PACKAGEMANAGER
00s.355 - WARNING [jd.config.DatabaseConnector(saveConfiguration)] -> Database save error: PACKAGEMANAGER
00s.355 - FINEST [jd.controlling.JDLogger(exception)] -> FINEST Exception occurred
java.sql.SQLException: Table not found in statement [INSERT INTO config VALUES (?,?)]
	at org.hsqldb.jdbc.Util.throwError(Unknown Source)
	at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
	at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
	at jd.config.DatabaseConnector.saveConfiguration(DatabaseConnector.java:285)
	at jd.config.SubConfiguration.save(SubConfiguration.java:87)
	at jd.update.WebUpdater.getConfig(WebUpdater.java:81)
	at jd.update.Main.main(Main.java:126)
{}

First save PACKAGEMANAGER
00s.356 - WARNING [jd.config.DatabaseConnector(saveConfiguration)] -> Database save error: PACKAGEMANAGER
00s.356 - FINEST [jd.controlling.JDLogger(exception)] -> FINEST Exception occurred
java.sql.SQLException: Table not found in statement [INSERT INTO config VALUES (?,?)]
	at org.hsqldb.jdbc.Util.throwError(Unknown Source)
	at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
	at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
	at jd.config.DatabaseConnector.saveConfiguration(DatabaseConnector.java:285)
	at jd.config.SubConfiguration.save(SubConfiguration.java:87)
	at jd.update.WebUpdater.getConfig(WebUpdater.java:81)
	at jd.update.Main.main(Main.java:127)
java.awt.HeadlessException
	at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
	at java.awt.Window.<init>(Window.java:476)
	at java.awt.Frame.<init>(Frame.java:419)
	at java.awt.Frame.<init>(Frame.java:384)
	at javax.swing.JFrame.<init>(JFrame.java:174)
	at jd.update.Main.initGUI(Main.java:459)
	at jd.update.Main.main(Main.java:129)
ERROR null

Last edited by Jiaz; 12.08.2011 at 08:43.
Reply With Quote
  #2  
Old 12.08.2011, 01:11
simonbcn simonbcn is offline
DSL Light User
 
Join Date: May 2010
Location: Dinamarca
Posts: 30
Default

If I use my old config folder, it doesn't show error but it doesn't show nothing: **External links are only visible to Support Staff****External links are only visible to Support Staff**

I use Unity desktop.
Reply With Quote
  #3  
Old 12.08.2011, 08:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,527
Default

at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
you start jdownloader without any graphical desktop
somethings wrong with your java/desktop setup
seems no X11 variable is set in your shell
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 12.08.2011, 12:39
simonbcn simonbcn is offline
DSL Light User
 
Join Date: May 2010
Location: Dinamarca
Posts: 30
Default

Quote:
Originally Posted by Jiaz View Post
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
you start jdownloader without any graphical desktop
somethings wrong with your java/desktop setup
seems no X11 variable is set in your shell
I'm executing JDownloader in a Gnome session, with Unity.
X11 variable? I haven't configured nothing special to execute jdownloader:
Code:
$ env
ORBIT_SOCKETDIR=/tmp/orbit-simon
TERM=xterm
SHELL=/bin/bash
XDG_SESSION_COOKIE=3f528852cbe82cbd6d7558a400000004-1313143501.231353-1902528136
GNOME_KEYRING_CONTROL=/tmp/keyring-WjTiVp
GTK_MODULES=canberra-gtk-module
LC_ALL=
DESKTOP_AUTOSTART_ID=10f7afbf458f529e54131314350210876900000021160019
USERNAME=simon
DEFAULTS_PATH=/usr/share/gconf/gnome.default.path
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/etc/xdg
PATH=/home/simon/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:~/bin
DESKTOP_SESSION=gnome
LC_MESSAGES=C
LC_COLLATE=C
PWD=/home/simon
GDM_KEYBOARD_LAYOUT=es
GNOME_KEYRING_PID=2097
LANG=es_ES.UTF-8
GDM_LANG=es_ES.utf8
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
UBUNTU_MENUPROXY=libappmenu.so
COMPIZ_CONFIG_PROFILE=ubuntu
GDMSESSION=gnome
HOME=/home/simon
SHLVL=1
LANGUAGE=es_ES:en
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LOGNAME=simon
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-zRfOqOEACX,guid=8b371f1905e4c5876ea7f9af00000010
LESSOPEN=| /usr/bin/lesspipe %s
WINDOWPATH=7
DISPLAY=:0
LESSCLOSE=/usr/bin/lesspipe %s %s
XAUTHORITY=/var/run/gdm/auth-for-simon-xXdhTN/database
_=/usr/bin/env

Last edited by simonbcn; 12.08.2011 at 12:42.
Reply With Quote
  #5  
Old 12.08.2011, 12:48
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,527
Default

maybe use another shell
or use sun java instead of openjdk
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 12.08.2011, 12:52
simonbcn simonbcn is offline
DSL Light User
 
Join Date: May 2010
Location: Dinamarca
Posts: 30
Default

Quote:
Originally Posted by Jiaz View Post
maybe use another shell
or use sun java instead of openjdk
Solved, you're right.
I don't know why but Natty installs the icedtea-java by default.
Reply With Quote
  #7  
Old 12.08.2011, 12:54
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,527
Default

thanks for feedback
__________________
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 20:16.
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 - 2019, Jelsoft Enterprises Ltd.