
- 450 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Introduction to JVM Languages
About this book
Explore the Java Virtual Machine with modern programming languagesAbout This Book• This guide provides in-depth coverage of the Java Virtual Machine and its features• Filled with practical examples, this book will help you understand the core concepts of Java, Scala, Clojure, Kotlin, and Groovy• Work with various programming paradigms and gain knowledge about imperative, object-oriented and functional programmingWho This Book Is ForThis book is meant for programmers who are interested in the Java Virtual Machine (JVM) and want to learn more about the most popular programming languages that can be used for JVM development. Basic practical knowledge of a modern programming language that supports object-oriented programming (JavaScript, Python, C#, VB.NET, and C++) is assumed.What You Will Learn• Gain practical information about the Java Virtual Machine• Understand the popular JVM languages and the Java Class Library• Get to know about various programming paradigms such as imperative, object-oriented, and functional• Work with common JVM tools such as Eclipse IDE, Gradle, and Maven• Explore frameworks such as SparkJava, Vert.x, Akka and JavaFX• Boost your knowledge about dialects of other well-known programming languages that run on the JVM, including JavaScript, Python, and RubyIn DetailAnyone who knows software development knows about the Java Virtual Machine. The Java Virtual Machine is responsible for interpreting Java byte code and translating it into actions. In the beginning, Java was the only programming language used for the JVM. But increasing complexity of the language and the remarkable performance of the JVM created an opening for a new generation of programming languages. If you want to build a strong foundation with the Java Virtual Machine and get started with popular modern programming languages, then this book is for you.The book will begin with a general introduction of the JVM and its features, which are common to the JVM languages, helping you get abreast with its concepts. It will then dive into explaining languages such as Java, Scala, Clojure, Kotlin, and Groovy and will show how to work with each language, their features, use cases, and pros and cons. By writing example projects in those languages and focusing on each language's strong points, it will help you find the programming language that is most appropriate for your particular needs.By the end of the book, you will have written multiple programs that run on the Java Virtual Machine and know about the differences between the various languages.Style and approachThis practical, example-filled guide will help you get started with the JVM and some of its most popular languages.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Developing on the Java Virtual Machine
- Java Development Kit (JDK)
- Class organization with packages
- Java Class Library
- Running JVM applications on the command line
- Installing the Eclipse Integrated Development Environment (Eclipse IDE)
JDK
- Installing JDK (Windows, macOS, and Linux)
- Exploring JDK
- JRE
Installing JDK
- Downloading JDK
- Installing JDK on Windows
- Installing JDK on macOS
- Installing JDK on Linux
- Downloading the Javadoc API documentation
Downloading JDK

- At the time of writing this book, this page contained a Java for Developers button. Once you click on it, you will be redirected to the Software Downloads section.
- Find Java SE (includes JavaFX) in the list and click on it (be careful not to click on the Early Access link that is placed next to it, if still applicable).
- You will now have access to the Java SE Downloads page. Click on the Download button below JDK.
- Find the version specific to your operating system platform and architecture.
- If you agree with the license terms, download your copy.
Installing JDK on Windows
- Right-click on your Windows Start menu and select System. On the left-hand side of the window that appears, click on Advanced system settings.
- The System Properties window appears. Click on the Environment Variables... button. The Environment Variables window appears:

- Look at the System variables section at the bottom of the window. Check whether you see the JAVA_HOME variable. If not, click on the New... button; otherwise, edit the existing JAVA_HOME entry.
- Enter JAVA_HOME as the variable name and the full path to the root of JDK's installation directory as the value. Then click on OK to close the window.
- Now find the existing Path variable and add the full path to the bin subdirectory of the JDK installation directory. Keep in mind that the directories are separated by the ; character.
- Open a new Command Prompt (for example, by clicking on the Start menu, typing cmd, and pressing Enter)
- Enter javac -version and press Enter
Installing JDK on macOS
export JAVA_HOME="$(/usr/libexec/java_home -v 1.8)"
- Open a new Terminal window
- Type javac -version and press Enter
Installing JDK on Linux
- As a compressed .tar....
Table of contents
- Title Page
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Preface
- Java Virtual Machine
- Developing on the Java Virtual Machine
- Java
- Java Programming
- Scala
- Scala Programming
- Clojure
- Clojure Programming
- Kotlin
- Kotlin Programming
- Groovy
- Groovy Programming
- Other JVM languages
- Quiz Answers