LuceneDemo installation, Linux-general Linux technology-Linux programming and kernel information, the following is a detailed description. 1. Go to the latest JDK.
Java.sun.com/javase/downloads/index.jsp
Linux centos, select a Linux32 version
2. Follow the instructions on the sun site to install JDK
3. Check whether the java interpreter is JDK. If gcj is used, use jdk instead.
You need to change the JDK to the new one:
Cd/etc/alternatives
Mv java. old
Ln-s/usr/java/jdk1.6.0 _ 07/bin/java
It looks like this:
Lrwxrwxrwx 1 root 31 Aug 13 :47 java->/usr/local/jdk1.6.0 _ 07/bin/java
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service