Disk exit (different versions of the path will vary, please change according to their actual situation)
4, and then to make him effective, in the command line to beat the following command
----//NOTE: Source/etc/profile
5. If you want other users to be able to use Java, log in with another user account, and then tap the command at the command line.
----//NOTE: Source/etc/profile
6, after the work is done with the following command test, or directly on the command Java will display the help of the command.
----//NOTE: Which Java (show the relevant information on it)
Attention to the problem: because my Linux RedHat AS3 selected is a full installation, according to the installation of documents on the Web after the operation found that the implementation of Java is always prompted to find/usr/java/j2sdk1.4.2_05/jre/lib/ A so file in the I386 directory (but it actually exists). Also remove the environment variable set up using the Java command is also a number of other unrelated information (another command), it is the first use of its own command, so in the path settings must be the JDK path to the front.
Installing JDK1.5 on this system may not be a problem (it is read in another Bloger log). Many articles on the internet about the software versions are relatively low, so in the operation will appear various problems are not difficult to understand.
Thanks to the bloggers who have recorded their own use of the process.
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.