Published Book on Amazon
All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 1 | |
All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 2 |
출판된 한글판 도서
최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (상) | |
최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (하) |
Original Book Contents
23.7.2 Checking the Current version
Use the following "java" command to confirm whether Java is installed and installed version on Raspberry Pi system.
[Command Format]
java -version |
[Command Overview]
■ This show the current java version.
■ User privilege -- Normal user.
[Detail Description]
■ None
[Used Example]
If you run the command on your current Raspberry Pi system, you will get the result as follows.
pi@raspberrypi ~ $ java –version |
java version "1.8.0" Java(TM) SE Runtime Environment (build 1.8.0-b132) Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode) |
Getting this result means that Java is installed in the Raspberry Pi system. The content of the currently installed version is displayed as above. You can see that Java version "1.8.0" is installed.