Linux under Jdk/maven/tomcat

Source: Internet
Author: User

The Debian-installed OPENJDK includes only the JRE and no Tools.jar,dt.jar, so install the OPENJDK full version.

sudo apt-get install openjdk-8-jdk

If you have multiple versions of Java installed in your operating system, you can use the following command to select a specific Java:

sudo update-alternatives--config java

There is 2 choices for the alternative Java (Providing/usr/bin/java).

Selection Path Priority Status
------------------------------------------------------------
* 0/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 Auto mode
1/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 Manual Mode
2/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1051 Manual Mode

Press ENTER to keep the current choice[*], or type selection number:

Configuring MAVEN,TOMCAT Environment variables

Linux under Jdk/maven/tomcat

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.