Create your own exciting Java programs and compile them into executable files that can be run on any Java-enabled device
View first chapter and Table of Contents – FREE!
Java in easy steps, 7th edition instructs you how to easily create your own Java programs. The book contains separate chapters on the major features of the Java language. Complete example programs with colourized code illustrate each important aspect of Java programming – all in easy steps.
This book assumes no previous knowledge of any programming language so it’s ideal for the newcomer to computer programming. Each chapter builds your knowledge of Java. By the end of this book you will have gained a sound understanding of the Java language and be able to write your own Java programs and compile them into executable files that can be run on any Java-enabled device.
This 7th edition of Java in easy steps covers the many exciting features of Java, including:
- How to quickly run statements in the interactive shell named jshell – similar to the Python interpreter:
- How to make programs with the javac compiler and execute them with the java runtime.
- How to produce interactive Windows apps that can be easily distributed as jar program bundles.
- How to create mobile device apps using Java functionality within the Android operating system.

All examples illustrated in the book work in Oracle JDK and OpenJDK.


About the author
Mike McGrath now lives in South-east Europe, on the sun-kissed shores of the Aegean Sea. Mike gained his extensive knowledge of computer languages while working as a developer contracting to companies around the world. His interests include coins of ancient Greece, dining-out with friends, and the ongoing evolution of the world wide web.
Freely download the original source code for checking against your own work from our Downloads page
Update to page 9 (tip added re: AdoptOpenJDK being scheduled to become EclipseAdoptium) – this revision was incorporated in the 2021 reprint.
Update to page 178 (missing quote mark added after contentDescription = “Lotto Logo)