testing if .java works instead of .jar