Exe a java class that connects to Sybase from Unix command prompt and i'll get error as attached below. Anyone knows why? Please help!

Exception in thread "main" java.lang.ClassFormatError: com/sybase/tds/Tds (Local
variable name has bad constant pool index)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :495)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:11
0)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:252)
at java.net.URLClassLoader.access$1(URLClassLoader.ja va:218)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 199)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Compil ed Code)
at java.net.URLClassLoader.findClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at sun.misc.Launcher$AppClassLoader.loadClass(Compile d Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClassInternal(Compiled Code)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName0(Compiled Code)
at java.lang.Class.forName(Compiled Code)
at com.sybase.jdbc.ProtocolManager.getProtocol(Protoc olManager.java)
at com.sybase.jdbc.SybDriver.parseUrl(SybDriver.java)
at com.sybase.jdbc.SybDriver.connect(SybDriver.java)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager .java:106)
at mos.lib.util.SybConnect.getConnection(Compiled Code)
at scc.helper.TestConnection.test(TestConnection.java :36)
at scc.helper.TestConnection.main(TestConnection.java :50)