Skip to main content

Blog Archive for malenkov during July 2008

I needed to load the classes from the dt.jar archive on the fly. The path to the archive was generated automatically based on the "java.home" system property. The original idea was to use the <a href="https://java.sun.com/javase/6/docs/api/java/net/URLClassLoader.html">URLClassLoader</a>, but it could not find classes. I had to write a custom class loader which read an...