标签:debugging har default demo pkg nbsp usr obs amd
安装java
sudo apt-get install default-jdk
获取doc
$dpkg -l | grep jdk ii default-jdk 2:1.8-56ubuntu2 amd64 Standard Java or Java compatible Development Kit ii default-jdk-headless 2:1.8-56ubuntu2 amd64 Standard Java or Java compatible Development Kit (headless) ii openjdk-8-doc 8u191-b12-2ubuntu0.16.04.1 all OpenJDK Development Kit (JDK) documentation ii openjdk-8-jdk:amd64 8u191-b12-2ubuntu0.16.04.1 amd64 OpenJDK Development Kit (JDK) ii openjdk-8-jdk-headless:amd64 8u191-b12-2ubuntu0.16.04.1 amd64 OpenJDK Development Kit (JDK) (headless) ii openjdk-8-jre:amd64 8u191-b12-2ubuntu0.16.04.1 amd64 OpenJDK Java runtime, using Hotspot JIT ii openjdk-8-jre-headless:amd64 8u191-b12-2ubuntu0.16.04.1 amd64 OpenJDK Java runtime, using Hotspot JIT (headless) ii openjdk-8-source 8u191-b12-2ubuntu0.16.04.1 all OpenJDK Development Kit (JDK) source files
$sudo apt-cache search openjdk-8
default-jdk - Standard Java or Java compatible Development Kit
default-jdk-doc - Standard Java or Java compatible Development Kit (documentation)
default-jdk-headless - Standard Java or Java compatible Development Kit (headless)
default-jre - Standard Java or Java compatible Runtime
default-jre-headless - Standard Java or Java compatible Runtime (headless)
openjdk-8-dbg - Java runtime based on OpenJDK (debugging symbols)
openjdk-8-demo - Java runtime based on OpenJDK (demos and examples)
openjdk-8-doc - OpenJDK Development Kit (JDK) documentation
openjdk-8-jdk - OpenJDK Development Kit (JDK)
openjdk-8-jdk-headless - OpenJDK Development Kit (JDK) (headless)
openjdk-8-jre - OpenJDK Java runtime, using Hotspot JIT
openjdk-8-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
openjdk-8-source - OpenJDK Development Kit (JDK) source files
openjdk-8-jre-dcevm - Alternative VM for OpenJDK 8 with enhanced class redefinition
openjdk-8-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark
uwsgi-plugin-jvm-openjdk-8 - Java plugin for uWSGI (OpenJDK 7)
uwsgi-plugin-jwsgi-openjdk-8 - JWSGI plugin for uWSGI (OpenJDK 7)
uwsgi-plugin-ring-openjdk-8 - Closure/Ring plugin for uWSGI (OpenJDK 7)
uwsgi-plugin-servlet-openjdk-8 - JWSGI plugin for uWSGI (OpenJDK 7)
openjdk-8-jre-jamvm - Transitional package for obsolete JamVM for OpenJDK
sudo apt-get install openjdk-8-doc
获取javasrc
sudo apt-get install openjdk-8-source
具体的文件需要到 /usr/ 下边找
$cd /usr/
//找文档 $find ./ -name openjdk-8-doc
//找源码
$find ./ -name src.zip
获取jdk源代码
sudo apt-get install mercurial hg clone http://hg.openjdk.java.net/jdk8u/jdk8u openjdk8
标签:debugging har default demo pkg nbsp usr obs amd
原文地址:https://www.cnblogs.com/rivsidn/p/10865408.html