Bug#448083: "unrecognized class file version"

Tomas Pospisek tpo_deb at sourcepole.ch
Thu Oct 25 20:40:08 UTC 2007


Package: freecol
Version: 0.7.2-1
Severity: important

$ freecol
/usr/games/freecol: line 16: /jre/bin/java: No such file or directory
/usr/games/freecol: line 16: exec: /jre/bin/java: cannot execute: No such file or directory

# I've reported that bug in a previous bug report...
#
# grumble, well then:

$ cd /
$ sudo ln -s /usr /jre

# but now instead:

$ freecol
Exception in thread "main" java.lang.ClassFormatError: net.sf.freecol.FreeCol (unrecognized class file version)
   at java.lang.VMClassLoader.defineClass(libgcj.so.81)
   at java.lang.ClassLoader.defineClass(libgcj.so.81)
   at java.security.SecureClassLoader.defineClass(libgcj.so.81)
   at java.net.URLClassLoader.findClass(libgcj.so.81)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.81)
   at java.lang.ClassLoader.loadClass(libgcj.so.81)
   at java.lang.ClassLoader.loadClass(libgcj.so.81)
   at gnu.java.lang.MainThread.run(libgcj.so.81)

# FYI:

$ java --version
java version "1.5.0"
gij (GNU libgcj) version 4.2.1 (Debian 4.2.1-5)


*t

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
tpo2:/# which java
/usr/bin/java


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages freecol depends on:
ii  libhiglayout-java      1.0-1             An easy-to-use layout manager for 
ii  libwoodstox-java       4.0~svn20070930-1 a high-performance XML processor
ii  sun-java5-jre          1.5.0-13-1        Sun Java(TM) Runtime Environment (

freecol recommends no packages.

-- no debconf information





More information about the Pkg-games-devel mailing list