hi, how are you.I have some question and i think
you can help me.
I intalled jdk1.6 on linux.I have set the environment varible.
I made a program named Test.java.
Its successfully compiling with command javac Test.java.
but it is giving me error while running with java Test.

public class Test{
public static voiid main(String args[]){
System.out.println('Hello');
}
}


Exception in thread "main" java.lang.ClassFormatError: Test (unrecognized class file version)
at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
at java.security.SecureClassLoader.defineClass(libgcj .so.7rh)
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj .so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Please tell me how can