Skip to Content
0
Former Member
Apr 22, 2004 at 01:12 PM

Getting error while executing my first JCo program

37 Views

Hello,

I have just installed the Java connector in my PC and I am pertty new to Java programming. While compiling it first gave some errors. Which I solved by adding the "-classpath" switch while compiling. However, while executing the .class file, I am getting an error as below:

java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO$MetaData

Exception in thread "main"

I tried to force the "-classpath" while executing the same - no luck.

Any help is highly appreciated.

Thank you,

Kunal