apt-get install jdk

怕忘记,记录下:

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update

Oracle JDK 6(旧版本)
sudo apt-get install oracle-java6-installer
Oracle JDK 7(较新的稳定版本)
sudo apt-get install oracle-java7-installer
Oracle JDK 8(最新预览版本)
sudo apt-get install oracle-java8-installer
时间: 2024-10-25 06:44:28

apt-get install jdk的相关文章

How to install JDK (Java Development Kit) on Linux

This tutorial will guide you on how to install JDK (Java Development Kit) on Linux. Since I use Centos 5.4 x86_64 in everyday life, this guide is showing you how to install JDK in Centos 5.4 64bit. It must work in any other Linux distro such as Slack

ubuntu install jdk

1.Add the PPA: $ sudo add-apt-repository ppa:webupd8team/java 2.Update the repo index: $ sudo apt-get update 3.install jdk: Install Java 8 $ sudo apt-get install oracle-java8-installer Or, install Java 7: $ sudo apt-get install oracle-java7-installer

Deepin 15.11 安装软件出现“您也许需要运行“apt --fix-broken install”来修正上面的错误

解决方案: #sudo apt --fix-broken install -y 原文地址:https://www.cnblogs.com/xlpc/p/12317000.html

centos install jdk

方法一:手动解压JDK的压缩包,然后设置环境变量 1.在/usr/目录下创建java目录  [[email protected] ~]# mkdir/usr/java [[email protected] ~]# cd /usr/java 2.下载,然后解压 [[email protected] java]# curl -O http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz [[email

Install JDK 8 on Ubuntu 14.04

Ubuntu Trusty (14.04 LTS). OpenJDK 8 is not available on Trusty. To install Oracle JDK 8: $ sudo apt-get install software-properties-common swig$ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-i

jdk silent install - JDK的静默安装

环境: 虚拟机vbox, 虚拟系统 win7_x64  jdk-6u45-windows-x64.exe Java 安装是使用 Microsoft Window Installer (MSI) 2.0 技术构建的.MSI 包含对静默或无人参与安装的内置支持. JDK silent install 使用的command line为: start /w \\VBOXSVR\tools\tools\jdk-6u45-windows-x64.exe /lang=<语言代码> /L "d:\t

Install jdk on Ubuntu16

wikiHow to Install Oracle Java JDK on Ubuntu Linux This tutorial will cover the installation of 32-bit and 64-bit Oracle Java 8 (currently version number 1.8.0_20) JDK on 32-bit and 64-bit Ubuntu operating systems. These instructions will also work o

linux 安装jdk(install jdk)

yum -y install java-1.7.0-openjdk-devel.x86_64  使用这个命令比较好.使用其他命令出现 没有javac命令的情况,特地把之前安装的jdk卸载了才有用. 安装完毕,配置环境变量 vi /etc/profile #set java environmentJAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64JRE_HOME=$JAVA_HOME/jreCLASS_PATH=.:$JAVA_HOM

Ubuntu install JDK适合像我的小白

1.#下载JDK,记住保存的目录 2. sudo mkdir /usr/java 3. sudo tar zxvf jdk-7u75-linux-x64.tar.gz -C /usr/java 4. cd /usr/java 5. sudo gedit /etc/environment 6.#将文件内的内容删除,把下面的copy进去,红色的换成最新版 PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/g