vvijay153 / google-voice-java

Automatically exported from code.google.com/p/google-voice-java
0 stars 0 forks source link

"Main Thread" java.lang.UnsupportedClassVersionError: unsupported classversion 50.0 #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using eclipse x86_64 bit
2. Using: java version "1.5.0_12"
   Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
   BEA JRockit(R) (build R27.4.0-90-89592-1.5.0_12-20070928-1715-linux-    x86_64, compiled mode)

3. Created a test program:
import java.io.IOException;
import com.techventus.server.voice.Voice;
public class T {
    public static void main(String[] args) throws IOException {
        Voice voice = new Voice("someuser@gmail.com", "somepass");
        System.out.println(voice.getInbox());
    }
}

What is the expected output? What do you see instead?
==> A console ouput

What version of the product are you using? On what operating system?
==> google-voice-java-1.6.jar

Please provide any additional information below.
==> I get the following exception:
Exception in thread "Main Thread" java.lang.UnsupportedClassVersionError: 
unsupported classversion 50.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at T.main(T.java:12)

Original issue reported on code.google.com by ren...@gmail.com on 17 Nov 2010 at 1:33

GoogleCodeExporter commented 8 years ago
Sorry your bug didn't get noticed for so long. Are you using the source version 
and recompiling for 1.5? I believe you should be using Java 6 for 
google-voice-java. Download the source and compile from that to see if it gives 
you any issues.

Original comment by liquid...@gmail.com on 6 Jan 2011 at 5:29

GoogleCodeExporter commented 8 years ago
I have seen no follow up on this, and this version 1.6 is no longer supported.  
I am therefore closing the issue.  If anyone can find a legitimate issue that 
is still present here and has not been fixed by a later version we can reopen.

Original comment by malone.j...@gmail.com on 14 May 2012 at 3:35