<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#333333">
Hello everyone<br>
<br>
I intend to use ABCL in one of my projects. I've started to
connectiing to a postgresq database via jdbc. I've tried something
like:<br>
<br>
-------8<-------<br>
(add-to-classpath <br>
(merge-pathnames
#p".m2/repository/postgresql/postgresql/8.4-702.jdbc4/postgresql-8.4-702.jdbc4.jar"
<br>
(user-homedir-pathname)))<br>
<br>
(jstatic "forName" "java.lang.Class" "org.postgresql.Driver")<br>
-------8<-------<br>
<br>
But it always returns <br>
-------8<-------<br>
Java exception 'java.lang.ClassNotFoundException:
org.postgresql.Driver'.<br>
[Condition of type JAVA-EXCEPTION]<br>
-------8<-------<br>
The jar file exists, and has the proper class inside. I've read the
manual, and googled a bit, but still get the same error. I'm using
Ubuntu Linux, with OpenJDK 1.6.0_24, and the latest and greatest
ABCL downloaded as a binary from ABCL website. Can someone point me
what I'm doing wrong?<br>
<br>
Many thanks for this great project!!<br>
<br>
<pre class="moz-signature" cols="72">
--
+-----------------
| Francisco Vides Fernández <a class="moz-txt-link-rfc2396E" href="mailto:fvides@neoclinic.es"><fvides@neoclinic.es></a>
| Director Ejecutivo
| Teléfono fijo: 952 60 29 59
| Fax: 952 60 29 59
| Neoclinic <a class="moz-txt-link-freetext" href="http://www.neoclinic.es/">http://www.neoclinic.es/</a>
+------
</pre>
</body>
</html>