Note: In this tutorial, we will write Java code in a text editor. If you do not have Java installed on your computer, you can download it for free at. Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode) Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)