Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95916 - Azureus fails with NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
Summary: Azureus fails with NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-12 18:38 UTC by Sumit Khanna
Modified: 2005-11-02 10:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sumit Khanna 2005-06-12 18:38:48 UTC
I started Azureus like I normally do and it fails with the following:

$ azureus
Attempting to start Azureus...
Exception in thread "main" java.lang.NoClassDefFoundError:
org/gudy/azureus2/ui/swt/Main

I emerged up to azureus-bin-2.3.0.2 and got the same problem.

Reproducible: Always
Steps to Reproduce:
1. open a terminal
2. type "azureus"
3.

Actual Results:  
Azurus failed with a NoClassDefFoundError for the class
org/gudy/azureus2/ui/swt/Main

Expected Results:  
Started up normally

Portage 2.0.51.22-r1 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130, glibc-2
.3.4.20041102-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(tm) MP 1900+
Gentoo Base System version 1.6.12
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled ]
dev-lang/python:     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-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-mp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/shar
e/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/defa
ults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-mp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.binaryco
mpass.org http://mirror.datapipe.net/gentoo http://www.gigaload.org/gentoo.org/ "
MAKEOPTS="-j3"
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 3dnowex X aalib acpi aim alsa apm arts audiofile avi berkdb bitm
ap-fonts cdr crypt cups curl divx4linux dvd dvdr dvdread eds emboss encode esd
fam flac flash foomaticdb fortran ftp gdbm gif gnome gpm gstreamer gtk gtk2 gtk
html imagemagick imap imlib ipv6 java jpeg junit kde libg++ libwww mad mikmod m
mx motif mozilla mp3 mpeg msn ncurses nls ogg oggvorbis opengl pam pda pdflib p
erl png python qt quicktime readline samba sdl slang spell sse ssl svg svga tcl
tk tcpd tiff truetype truetype-fonts type1-fonts vorbis xine xml2 xmms xpm xv x
vid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-13 03:48:24 UTC
Looks like Bug 94454.
Comment 2 Andreas Eriksson 2005-06-27 15:30:46 UTC
I'm having the same problem, azureus refuses to start and shows that error
before it does.

@comment 1: the fix for that bug was to downgrade swt, and swt isn't even
installed on my system nor is it a dep of the -bin ebuild so I don't see how
downgrading it is releated.

@original poster: What version of java are you using? I'm trying out sun's 1.5
java when I get this problem, I haven't tested to see if it goes away if I use
blackdown, but it worked fine for the first week that I tested with 1.5, it just
stopped working after that.
Comment 3 Andreas Eriksson 2005-06-27 15:43:37 UTC
I just found out, the problem is with java-config, re-emerging java-config makes
it work again.
Comment 4 Karol Wojtaszek (RETIRED) gentoo-dev 2005-08-02 08:18:45 UTC
it's java problem, not net-p2p
Comment 5 Andrew Dorney 2005-08-09 07:41:39 UTC
Oddly enough, re-emerging java-config fixed my issue over here too. I re-emerged
1.2.11.
Comment 6 Aniruddha Shankar 2005-10-10 01:14:48 UTC
Confirm, re-emerging java-config fixed the problem.

karim@splat ~ $ java-config -L
[blackdown-jdk-1.4.2.02] "Blackdown JDK 1.4.2.02"
(/etc/env.d/java/20blackdown-jdk-1.4.2.02) *
[blackdown-jre-1.4.2.02] "Blackdown JRE 1.4.2.02"
(/etc/env.d/java/20blackdown-jre-1.4.2.02)
[blackdown-jdk-1.4.1] "Blackdown JDK 1.4.1" (/etc/env.d/java/20blackdown-jdk-1.4.1)
Comment 7 Joël 2005-10-12 00:34:16 UTC
Same here..

And before re-emerging java-config, it says this:

----------------------------------------------
joel@panasonic-t1 ~ $ java-config -L
Traceback (most recent call last):
  File "/usr/bin/java-config", line 14, in ?
    from java_config import jc_options
ImportError: No module named java_config
----------------------------------------------

I just had a very similar problem with getmail (python-based program as well).

Re-emerging getmail (in the getmail case) and java-config (in the Azureus case)
solves the problem for me too.
Comment 8 Joseph Roback 2005-10-12 23:58:29 UTC
Yea, I have same java-config output as Jo
Comment 9 Joseph Roback 2005-10-12 23:58:29 UTC
Yea, I have same java-config output as Joël, re-emerged java-config and
everything is good-to-go now. :)
Comment 10 Red Sonja 2005-10-14 08:11:58 UTC
Same here, after a emerge form java_config, everything was OK. I use blackdown
1.4.2 and it's probably something with the new Python version.
Comment 11 Petteri Räty (RETIRED) gentoo-dev 2005-11-02 10:32:48 UTC
After you update python you need to run python-updater to make your python
applications work again.