JAVA/ubuntu:修订间差异
来自康健生活
< JAVA
无编辑摘要 |
|||
| 第1行: | 第1行: | ||
== 引言 == | == 引言 == | ||
=== javac === | === javac === | ||
{{ | {{shc_out|<syntaxhighlight lang="bash"> | ||
javac</syntaxhighlight>|<pre> | javac</syntaxhighlight>|<pre> | ||
Command 'javac' not found, but can be installed with: | Command 'javac' not found, but can be installed with: | ||
2020年6月9日 (二) 16:15的版本
引言
javac
kangkk@kangkk:~$
javac
Command 'javac' not found, but can be installed with:
sudo apt install default-jdk # version 2:1.11-72, or sudo apt install openjdk-11-jdk-headless # version 11.0.7+10-3ubuntu1 sudo apt install openjdk-13-jdk-headless # version 13.0.3+3-1ubuntu2 sudo apt install openjdk-14-jdk-headless # version 14.0.1+7-1ubuntu1 sudo apt install ecj # version 3.16.0-1
sudo apt install openjdk-8-jdk-headless # version 8u252-b09-1ubuntu1
oracle
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
No categories