citroenie wrote:This classpath setting is irrevelent. When you use "java -jar ..." the system classpath is ignored. The only classpath used is the Class-Path entry in a jar manifest.
I have a frustrating problem and maby you can help me.
When I deploy a jar (java -jar executable.jar) I get the error 'NoSuchMethodError'
If i deploy the same jar on an other computer it works fine.
I have this with multiple jars.
All classes are present within the jars.
Java version : 1.6.0_17 (but I had it with a previous versions!!!)
classpath = .;C:\Java\jdk1.6.0_07\lib\comm.jar;C:\aJile\Runtime_cldc;C:\Program Files\Java\jre6\lib\ext\
citroenie wrote:I haven't every seen anything like this but here's some ideas.
C:\>java -jar sample1.jar
Exception in thread "main" java.lang.NoSuchMethodError: com.ib.client.EClientSocket.<init>(Lcom/ib/client/EWrapper;)V