mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-07-08 05:17:13 -07:00
Update HOW_TO_RUN_THE_GAMES.md
Add notice that you really don't need to compile single java files anymore.
This commit is contained in:
@@ -32,6 +32,8 @@ To run from the command line, you will need a Java SDK (eg. [Oracle JDK](https:/
|
||||
* eg. `javac AceyDuceyGame.java`
|
||||
1. Run the compiled program with `java`:
|
||||
* eg. `java AceyDuceyGame`
|
||||
|
||||
or if you are **using JDK11 or later** you can now execute a self contained java file that has a main method directly with `java <filename>.java`.
|
||||
|
||||
## javascript
|
||||
|
||||
|
||||
Reference in New Issue
Block a user