Your message dated Sat, 01 Sep 2012 13:20:35 +0200 with message-id <[email protected]> and subject line closing as invalid has caused the Debian Bug report #683646, regarding openjdk-7-jdk: javac error: class file has wrong version 51.0, should be 49.0 to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 683646: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683646 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: openjdk-7-jdk Version: 7~u3-2.1.1-3 Severity: important Dear Maintainer, javac is completely unusable: srr@mars:~$ cat /tmp/HelloWorld.java //import java.io.*; // This is a simple program called HelloWorld.java class HelloWorld { public static void main(String args[ ]) { System.out.println( "Welcome to the world of Java" ); } } srr@mars:~$ javac /tmp/HelloWorld.java /tmp/HelloWorld.java:3: cannot access java.lang.Object bad class file: /usr/lib/jvm/java-7-openjdk-i386/jre/lib/rt.jar(java/lang/Object.class) class file has wrong version 51.0, should be 49.0 Please remove or make sure it appears in the correct subdirectory of the classpath. class HelloWorld ^ 1 error srr@mars:~$ javac -version javac 1.7.0_03 javac: no source files Usage: javac <options> <source files> where possible options include: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are used -classpath <path> Specify where to find user class files -cp <path> Specify where to find user class files -sourcepath <path> Specify where to find input source files -bootclasspath <path> Override location of bootstrap class files -extdirs <dirs> Override location of installed extensions -endorseddirs <dirs> Override location of endorsed standards path -d <directory> Specify where to place generated class files -encoding <encoding> Specify character encoding used by source files -source <release> Provide source compatibility with specified release -target <release> Generate class files for specific VM version -version Version information -help Print a synopsis of standard options -X Print a synopsis of nonstandard options -J<flag> Pass <flag> directly to the runtime system -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages openjdk-7-jdk depends on: ii libc6 2.13-33 ii libx11-6 2:1.5.0-1 ii openjdk-7-jre 7~u3-2.1.1-3 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages openjdk-7-jdk recommends: ii libxt-dev 1:1.1.3-1 Versions of packages openjdk-7-jdk suggests: pn openjdk-7-demo <none> ii openjdk-7-source 7~u3-2.1.1-1 pn visualvm <none> -- no debconf information
--- End Message ---
--- Begin Message ---the byte code version for Java7 is 51. And the example works for me on current unstable. closing as invalid.
--- End Message ---

