shared lib, classloader mode