Description
Java source files can be run as scripts with dependency handling and less project setup.
It is useful for prototypes, small tools, tutorials, and automation where creating a full build project would be heavy. Scripts can download dependencies and run code, so use trusted sources.