Java write file access denied July 8, 2019 16 32 64 128 Java file extension Java file to jar Error class main is public should be declared in a file named main.java