Hello Matt,

> hello, i'm new to maxdb and java, and try to get the
> example from the manual running but with no luck.
> 
> the prog is taken from the documentation and compiles
> ok, but when running the prog i get the following
> error:
> 
> C:\>java -cp c:\maxdb\runtime\jar\sapdbc.jar
> .\HelloSapDB.class
> Exception in thread "main"
> java.lang.NoClassDefFoundError: /\HelloSapDB/class

Although the file is HelloSapDB.class, the correct command line is:

java -cp c:\maxdb\runtime\jar\sapdbc.jar;. HelloSapDB 

(No .class ending, and I put the current path ('.') in the class 
path, too).

Cheers

Alexander Schr�der
SAP DB, SAP Labs Berlin

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to