<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000099" bgcolor="#FFFFFF">
El 18/05/12 13:28, Alex Mizrahi escribió:
<blockquote cite="mid:4FB63277.2090003@gmail.com" type="cite">
<br>
<blockquote type="cite">As a workaround, you could try to force
initialization of the class by
<br>
accessing some static field or method or ask for some metadata
<br>
(jclass-methods, jclass-name, ...). But I don't know if that's
<br>
guaranteed to work.
<br>
</blockquote>
<br>
I've got it working once using something like java:jclass in SLIME
REPL, but not it doesn't seem to work (in a slightly different
environment).
<br>
<br>
Note that if jar is added to classpath via java commandline
Class.forName will work fine. That's probably the easiest way to
get it working.
<br>
Only loading jar dynamically via classloader is a problem.
<br>
</blockquote>
I've also tried that. Started ABCL with 'java -cp $JDBC_JAR
abcl.jar' and Class.forName still didn't work. Am I missing some
parameter?<br>
<br>
<blockquote cite="mid:4FB63277.2090003@gmail.com" type="cite">
<br>
<blockquote type="cite">Or you can revert to Class.forName, but
ensuring to use the overload
<br>
that takes an explicit classloader, and feeding it the one used
by
<br>
ABCL (look in java.lisp to see how to retrieve it).
<br>
</blockquote>
<br>
Just tried it, doesn't seem to work either.
<br>
<br>
_______________________________________________
<br>
armedbear-devel mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:armedbear-devel@common-lisp.net">armedbear-devel@common-lisp.net</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel">http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel</a>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
+-----------------
| Francisco Vides Fernández <a class="moz-txt-link-rfc2396E" href="mailto:fvides@igaleno.com"><fvides@igaleno.com></a>
| Gerente
| Teléfono fijo: 952 60 29 59
| Fax: 952 60 29 59
| igaleno <a class="moz-txt-link-freetext" href="http://www.igaleno.com/">http://www.igaleno.com/</a>
+------
</pre>
</body>
</html>