Skip to Main Content
Practical Java Programming for IoT, AI, and Blockchain
book

Practical Java Programming for IoT, AI, and Blockchain

by Perry Xiao
July 2019
Intermediate to advanced content levelIntermediate to advanced
400 pages
11h 7m
English
Wiley
Content preview from Practical Java Programming for IoT, AI, and Blockchain

CHAPTER 2Getting Started with Java Programming

“If a craftsman wants to do good work, he must first sharpen his tools.”

—Ancient Chinese proverb

2.1 Downloading and Installing Java

Let's get started with Java programming. First, you will need to download the latest Java software from the Oracle web site, as shown in Figure 2.1 (www.oracle.com/technetwork/java/javase/downloads/index.html). There are three download choices: JDK, Server JRE, and JRE. The server JRE and JRE are for running the Java programs only; since you will need to compile Java programs in this book, you need to download the JDK software package. Just follow the instructions on the web site to download and install the Java SE JDK on your computer.

Image described by caption and surrounding text.

Figure 2.1: The Java SE download web site

After installation, you will need to set up a few environmental variables, such as PATH and JAVA_HOME. Environment variables help programs know which folder to install files in, where to store temporary files, where to find user profile settings, and so on. To set up the environmental variables in Windows, go to Control Panel ➪ Advanced System Settings ➪ Environment Variables. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Introducing Blockchain with Java: Program, Implement, and Extend Blockchains with Java

Introducing Blockchain with Java: Program, Implement, and Extend Blockchains with Java

Spiro Buzharovski
Intelligent Projects Using Python

Intelligent Projects Using Python

Santanu Pattanayak, Manohar Swamynathan

Publisher Resources

ISBN: 9781119560012Purchase book