This is a way off-topic. The answer: RTFM.
you either:
1- mispelled the Java class name. Note that it's the class name and not the
class filename that matters. It is case sensitive and you must spell it
exactly the way it's named internally.
2- you haven't provide the class name complete with packages.
next time, use more your time than ours for off topic questions. You're a
way too far from making questions about PostgreSQL JDBC drivers if you
can't compile a java source file.
Quoting wsmeyer@ibest.com.br:
> Hi,
>
> I'm having problem running java on Linux. The source code is compiled
> ok, but when I try to run it with "java filename" the follow error message
> appear:
>
> " Exception in thread main java.lang.NoClassDefFoundError "
>
> Someone that already had this kind of problem......
>
> Thanks
>
>
> Wladimr
>
> _________________________________________________
> Quer ajudar o Brasil e não sabe como?
> AjudaBrasil: http://www.ajudabrasil.org/mail.html.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
-------------------------------
http://www.vlinfo.com.br