Updated to set the jars from the classloader instead