I'm just starting to study Java. I'm using Eclipse.
Java misunderstood that files (.java) are called "classes".
It was when I was using Terminal and VScode.
$ javac ○○.java
Where I ran Newly say "○○ .class" The file is ready.
javac means "compile Java".
$ java ○○
Next, when I executed it as above, the output was output to the terminal as expected.
By compiling, I found that I could do .class files.
If you use Eclipse, it will be processed all at once, so I was able to know what happened behind the scenes.
Recommended Posts