Mailinglist Archive: opensuse-programming (105 mails)

< Previous Next >
Re: [suse-programming-e] Exception in thread (JDBC for adabas D first use)
  • From: Martijn Houtman <tinus@xxxxxxxxxxxx>
  • Date: Wed, 2 Jul 2003 16:24:07 +0200
  • Message-id: <200307021622.50319.tinus@xxxxxxxxxxxx>
On Wednesday 02 July 2003 12:53, Prabu Subroto wrote:
> Dear my friends...
>
> I am developing a database application with Star Office, Adabas D, SuSE
> 8.2, Java and JDBC.
>
> This is my first experience in using JDBC and Adabas D. Usually I use PHP
> and MySQL. So please help me, I need many advices.
>
> I copy the adabasd.jar into the same directory where my application code
> (on Java language located). It is compiled successfully but it is not able
> to build a connection between my Adabas D and my application over JDBC. The
> error message is :
> "
> #prabu>java -classpath adabasd.jar konek
> Exception in thread "main" java.lang.NoClassDefFoundError : konek
> "

Whoops, that was pressing ctrl-enter too early :) anyways:

You have to use the classpath "adabasd.jar:."
This means you have to include the current dir (".") as well, seperated by a
":".

Regards,
--
tinus
___________________________________________________
"Words are weightless here on earth
Because they're free." -- Josh Homme


< Previous Next >
Follow Ups
References