Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#264988: debbuggtk: Doesn't start: Unsupported major.minor version 48.0

0 views
Skip to first unread message

daniel

unread,
Aug 11, 2004, 6:20:11 AM8/11/04
to
Package: debbuggtk
Version: 0.28-1
Severity: important


When the first jvm found is a jdk 1.3, it will refuse to run the code
because it states too high of a class format version. it is probably
because it was compiled with a recent version of jikes, which now does
this by default.

The fix is simple: use '-target 1.3' in the call to the compiler.

For info, the JVM used in my case was:
Using /usr/lib/j2se/1.3/bin/java as JVM
lrwxrwxrwx 1 root root 13 Aug 2 19:35 /usr/lib/j2se/1.3/bin/java ->
.java_wrapper

and the log:

Exception in thread "main" java.lang.UnsupportedClassVersionError:
com/tildemh/debbuggtk/BugLister (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
...


Daniel

-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (700, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-2-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages debbuggtk depends on:
ii gij 4:3.3.4-2 The GNU Java bytecode interpreter
ii libgetenv-java 1.0-2 Java library for obtaining environ
ii libglade2-java 2.6.0.1-6 Java support for libglade gnome in
ii libgnome2-java 2.6.0.1-6 Java framework for creating GNOME
ii libgtk2-java 2.6.0.1-6 Gtk framework for Java
ii liboro-java 2.0.8-1.1 Regular expression library for Jav
ii reportbug 2.63 Reports bugs in the Debian distrib
ii sun-j2sdk1.4debian [j2sdk1.4] 0.9 Debian specific parts of Java(TM)
ii zenity 2.6.2-2 Display graphical dialog boxes fro

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

0 new messages