码迷,mamicode.com
首页 > 编程语言 > 详细

java中资源获取

时间:2019-05-15 00:41:03      阅读:120      评论:0      收藏:0      [点我收藏+]

标签: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

 

java中资源获取

标签:debugging   har   default   demo   pkg   nbsp   usr   obs   amd   

原文地址:https://www.cnblogs.com/rivsidn/p/10865408.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!