public void writeJarFromName(final String className,final File outputFile) throws IOException {
  writeJarFromContent(className,"public class " + className + "{}",outputFile);
}

public void writeJarFromName ( final String className , final File outputFile ) throws IOException { writeJarFromContent ( className , "public class " + className + "{}" , outputFile ) ; }
write a jar with an empty class using the given class name . the classname may have a package separated by / . for example : my / package / myclass
