As you must be aware the latest versions of Raspbian OS comes pre-installed with Java VM. However enthusiasts who are already running their Raspbian installation from some prior version and have their perfect environment set might not like the idea of doing a clean install of the Raspbian OS again.
To solve this, there is a simple way to get the latest Java VM installed on your Raspbian without any hassle and start exploring the power of Java on your RasPi.
Step. 1
pi@raspberrypi ~ $ sudo apt-get update
Step. 2
pi@raspberrypi ~ $ sudo apt-get install oracle-java7-jdk
(Note: oracle-java8-jdk is also available)
Verify the installation:
pi@raspberrypi ~ $ java -version
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Client VM (build 24.0-b56, mixed mode)
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Client VM (build 24.0-b56, mixed mode)
You should see the version details of your installed Java VM.
Congratulations......... Now we may create free Java Websites on our RPi !!
ReplyDelete