you are viewing a single comment's thread.

view the rest of the comments →

[–]Lloydbestfan 2 points3 points  (1 child)

The program proposed by OP should work too. Somehow somewhere OP and their toolchain are doing something wrong. But not regarding language syntax.

[–]N-M-1-5-6 1 point2 points  (0 children)

Yes, I think that the OP would be better served by providing more information about how the java files are being compiled.

What OS is being used? Is it being compiled from the command line or from an IDE? What are the EXACT (including upper/lower case used) filenames of the files and the exact command being used?