安装java
apt-get install default-jdk
vim /etc/environment
JAVA_HOME="/usr/lib/jvm/java-7-oracle"
source /etc/environment
安装tomcat
apt-get install tomcat8 tomcat8-docs tomcat8-examples tomcat8-admin
service tomcat8 start|stop|status
apt-get install default-jdk
vim /etc/environment
JAVA_HOME="/usr/lib/jvm/java-7-oracle"
source /etc/environment
apt-get install tomcat8 tomcat8-docs tomcat8-examples tomcat8-admin
service tomcat8 start|stop|status
本文标题:ubuntu安装java开发环境
本文链接:https://www.haomeiwen.com/subject/bbyloqtx.html
网友评论