Earl Harris - 2010-10-26

I had problems updating the class path at run-time.

I.e., how do we add a jar to the class path System.getProperty("java.class.path")?
The com.samskivert.viztool.clenum.ClassEnumerator class is in viztool.jar. But this jar never gets on the class path. The java class path is set wrong from the start (both in NetBeans 6.9.1 and from the command line).
The exception is thrown in Jacobgen.loadExternalClasses
This problem is non-trivial.
http://forums.sun.com/thread.jspa?threadID=5123778
It may not be a problem with ant, because I get the problem from the command line.
It may not be a problem with the DLL, because I don’t see “path” in the c++ source. And we haven’t loaded it yet.
I made numerous attempts to update the class path. I ran it from the command line. I use the bat file.

But why am I having this problem?

The work around is to create an all encompassing jar. Don’t forget to specify the static main to use.