A Freelance DevOps doing container stuff and automating unhealthy amounts of software.
Need something automated or containerized? Feel free to hit me up :)
$javac HelloWorld.java
$java-Xmx128M-Xms16M HelloWorld
Error: Main method not found in class HelloWorld, please define the main method as:
public static void main(String[] args)
or a JavaFX application class must extend javafx.application.Application
Top comments (3)
To quote Oracle:
Which can be found in the official Java Language Specification
No. Period.
Code:
Output:
Try it!?