Java is an object-oriented programming language, not only absorbs the various advantages of the C + + language, but also rejects the difficult to understand C + + inheritance, pointers and other concepts, so the Java language has a powerful and easy to use two features. As the representative of static object-oriented programming language, the Java language implements the object-oriented theory, which allows programmers to do complex programming in an elegant way.
Java has the features of simplicity, object-oriented, distributed, robustness, security, platform independence and portability, multi-threading, and dynamic. Java can write desktop applications, Web applications, distributed systems, and embedded system applications.
The article relates to the package, plus the bottom free access
Upload jdk1.7.0_72.zip to server directory:/usr/local/jdk1.7
Configuration process
#cd/usr/local/jdk1.7
#unzip./jdk1.7.0_72.zip
#chmod-R 755 *
#vim/etc/profile//Copy and paste the following contents to the last
java_home=/usr/local/jdk1.7
Classpath= $JAVA _home/jre/lib/rt.jar
Path= $JAVA _home/bin/: $PATH
Export Java_home PATH CLASSPATH
#source/etc/profile//Make environment variables effective
#java-version//verification, results such as
If you are interested in this, please scan the QR code below for free for more details
Linux/centos JDK installation. Java environment variable Configuration