Re: JDBC and ClassNotFoundException - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: JDBC and ClassNotFoundException
Date
Msg-id 46499E6C.4050900@opencloud.com
Whole thread Raw
In response to JDBC and ClassNotFoundException  ("Geert Verhaag" <g.verhaag@lrcb.nl>)
List pgsql-jdbc
Geert Verhaag wrote:
> So I launch the application with the command: java -jar
> AppName.jar at the command prompt

If you specify -jar the JVM ignores any other classpath you set. Either
bundle the driver into your application jar (including it by reference
in a manifest class-path may work, I can't remember), or use -classpath
and an explicit class name instead of -jar.

-O

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: JDBC and ClassNotFoundException
Next
From: "Mikael Carneholm"
Date:
Subject: Re: JDBC and ClassNotFoundException