View previous topic :: View next topic |
Author |
Message |
RealityMage Apprentice
Joined: 15 Dec 2003 Posts: 151
|
Posted: Tue Jun 14, 2005 5:40 am Post subject: Azureus stopped working suddenly |
|
|
Code: | Creating ~/.Azureus...
Attempting to start Azureus...
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
|
Code: | shepherd realitymage # emerge --info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-morph9 i686)
=================================================================
System uname: 2.6.11-morph9 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python: 2.2.3-r5, 2.3.5, 2.4.1
sys-apps/sandbox: 1.2.9
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.18
virtual/os-headers: 2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts bmp cdparanoia cdr crypt cups curl dba directfb dvd emboss encode ethereal fam fbcon ffmpeg flac foomaticdb fortran gd gd-external gdbm gif gphoto2 gpm gtk gtk2 ieee1394 imagemagick imlib ipv6 java javascript joystick jpeg kde kdeenablefinal kdexdeltas kipi ldap libg++ libwww mad mikmod mmx mozilla mozsvg mp3 mpeg mysql ncurses network nls nowin nptl nvidia ogg oggvorbis openal opengl pam pcre pdflib perl php png python qt quicktime readline real samba sdl slang speex spell sqlite sse ssl staircase stroke svga symlink tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode v4l vcd vidix visualization vorbis wifi win32codecs xft xine xml xml2 xprint xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
|
_________________ http://tommy.impulsestorm.com/ |
|
Back to top |
|
|
leends n00b
Joined: 25 Nov 2004 Posts: 7
|
Posted: Tue Jun 14, 2005 7:03 am Post subject: Same here |
|
|
Booted my computer, started Azureus and there it was - same error as RealityMage. Anyone an idea? _________________ He who fights and runs away... |
|
Back to top |
|
|
leends n00b
Joined: 25 Nov 2004 Posts: 7
|
Posted: Tue Jun 14, 2005 7:49 am Post subject: Solved |
|
|
Due to some upgrades it appeared java-config was broken, which in turn led to Azureus not finding the correct classpath. Re-emerging java-config did the trick for me.
I found it because jedit failed to start as well, but with a less cryptic error message than Azureus. I don't know which other programs would be affected, but I suspect that all Java-based programs that do not define their own class-loader will be broken by this. Eclipse for example started up fine, but I think they do define their own class-loader.
Anyway, the simplest fix is re-emerging java-config.
Hope it works for you too. _________________ He who fights and runs away... |
|
Back to top |
|
|
lego86 n00b
Joined: 12 Jun 2005 Posts: 2
|
Posted: Tue Jun 14, 2005 8:48 am Post subject: |
|
|
I had the same problem. Eclipse was working properly but Azureus always threw that exception. leends method did the trick. Now Azureus is back and working. Tkanks! |
|
Back to top |
|
|
Triptol Tux's lil' helper
Joined: 21 Feb 2004 Posts: 107
|
Posted: Sat Jun 18, 2005 8:53 am Post subject: Not quite sure |
|
|
leends trick seems to work. I do not completely understand what went wrong, but since java-config is a python program and we recently have had a lot of changes in both the python and java environment chances are that the python part needed to be recompiled. An update of the python libraries as suggested by the python emerge could do the trick as well. |
|
Back to top |
|
|
Triptol Tux's lil' helper
Joined: 21 Feb 2004 Posts: 107
|
Posted: Sat Jun 18, 2005 9:01 am Post subject: And... |
|
|
After java-config was re-emerged still returned the errot that java could not be found. The path it returned was correct.
So I re-emerged blackdown-jdk as well and ran an Code: | /usr/sbin/env-update && source /etc/profile | I'm not sure whether the re-emerge was necessary though. maybe the env-update was enough. |
|
Back to top |
|
|
williamvergara n00b
Joined: 15 Sep 2004 Posts: 47 Location: Germany
|
Posted: Thu Aug 11, 2005 10:37 am Post subject: |
|
|
Same behaviour in my machine. After re-emerging java-config azureus was once again able to start.Thanx for posting and making things easier. But, has anyone an idea, why this happens?? |
|
Back to top |
|
|
thagame Apprentice
Joined: 07 Mar 2004 Posts: 210 Location: Windsor, Ontario, Canada
|
Posted: Fri Aug 12, 2005 1:17 am Post subject: |
|
|
mine stopped working once i updated python. from 2.3 to 2.4. java-config was using files in /usr/lib/python2.3/site-packages/java_config when it should have been looking in /usr/lib/python2.4/site-packages/java_config |
|
Back to top |
|
|
kamagurka Veteran
Joined: 25 Jan 2004 Posts: 1026 Location: /germany/munich
|
Posted: Sun Aug 21, 2005 7:35 am Post subject: |
|
|
I still get Code: | java-config -J
jc_options: java not found at /opt/blackdown-jre-1.4.2.01/bin/java or /opt/blackdown-jre-1.4.2.01/jre/bin/java |
Azureus fails with a "/usr/bin/azureus: line 47: java: command not found"
Any ideas? _________________ If you loved me, you'd all kill yourselves today.
--Spider Jerusalem, the Word |
|
Back to top |
|
|
mambro l33t
Joined: 22 Mar 2004 Posts: 752 Location: Mira (VE) - Italy
|
Posted: Thu Sep 08, 2005 8:46 am Post subject: |
|
|
The problem happened after the upgrad of python from 2.3 to 2.4
Remerging java-config has solved my problem.
Thanks _________________ "The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems. |
|
Back to top |
|
|
|