Package: azureus
Version: 2.3.0.0-1
Severity: important

azureus depends on "sun-j2sdk1.5 | java2-runtime", but on IBM's Java2 runtime, 
azureus fails with the following message:
The java class could not be loaded. java.lang.UnsupportedClassVersionError: 
org/gudy/azureus2/ui/swt/Main (Unsupported major.minor version 49.0)

The IBM Java2 JDK is packaged and installed by the debian "java-package" 
program, and claims to support java2-runtime:

[EMAIL PROTECTED]:~$ apt-cache show ibm-j2sdk1.4
Package: ibm-j2sdk1.4
Status: install ok installed
Priority: optional
Section: non-free/devel
Installed-Size: 83884
Maintainer: Lee Braiden <[EMAIL PROTECTED]>
Architecture: powerpc
Version: 1.4.2
Replaces: ibm-j2sdk1.4debian
Provides: java-common, java-virtual-machine, java-runtime, java2-runtime, 
java-browser-plugin, java-compiler, java2-compiler, j2sdk1.4, j2re1.4
Depends: libc6 (>= 2.3.2.ds1-4), libstdc++5 (>= 1:3.3.4-1), libx11-6 | xlibs 
(>> 4.1.0), libxext6 | xlibs (>> 4.1.0), libxi6 | xlibs (>> 4.1.0), libxmu6 | 
xlibs (>> 4.1.0), libxp6 | xlibs (>> 4.1.0), libxt6 | xlibs (>> 4.1.0), 
libxtst6 | xlibs (>> 4.1.0)
Description: Java(TM) 2 SDK, Standard Edition, IBM Corporation
 The Java(TM) 2 SDK is a development environment for building
 applications, applets, and components that can be deployed on the
 Java platform.
 .
 The Java(TM) 2 SDK software includes tools useful for developing and
 testing programs written in the Java programming language and running
 on the Java platform. These tools are designed to be used from the
 command line. Except for appletviewer, these tools do not provide a
 graphical user interface.
 .
 This package has been automatically created with java-package (0.22).


After some googling, I found a comment on slashdot that suggests the problem is 
related to sun jdk 1.5 bytecode sacrificing backwards compatibility:

http://developers.slashdot.org/comments.pl?sid=123810&threshold=1&commentsort=0&tid=108&mode=thread&cid=10393306

According to replies to that comment, using the option "-target 1.4" when 
generating the bytecode will fix this.  Hope it helps :)


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.11-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages azureus depends on:
ii  gij-3.3 [java-virtual-machin 1:3.3.5-12  The GNU Java bytecode interpreter
ii  ibm-j2sdk1.4 [java2-runtime] 1.4.2       Java(TM) 2 SDK, Standard Edition, 
ii  libcommons-cli-java          1.0-6       API for working with the command l
ii  liblog4j1.2-java             1.2.9-1     Logging library for java
ii  libswt-gtk-3.1-java          3.0+3.1M4-3 Standard Widget Toolkit for GTK Ja

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to