一、安装jdk环境 1、使用以下命令 sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-8-jdk sudo update-alternatives --config ...
分类:
系统相关 时间:
2020-02-07 13:10:20
阅读次数:
87
一、 打开终端分别输入下面两条命令: update-alternatives --install /usr/bin/python python /usr/bin/python2 100 update-alternatives --install /usr/bin/python python /usr ...
分类:
编程语言 时间:
2020-02-04 10:33:39
阅读次数:
242
ubuntu系统编辑器要更换默认为vimubuntu系统编辑器要怎么更换默认为vim 一、直接在终端输入: echo export EDITOR=/usr/bin/vim >> ~/.bashrc 二、使用系统管理工具update-alternatives在终端输入: update-alternat ...
分类:
系统相关 时间:
2020-01-14 22:12:33
阅读次数:
188
Generators offer flexible alternatives to working with arrays and how you want to iterate through the data. While most scenarios are covered by the me ...
分类:
编程语言 时间:
2020-01-08 19:22:47
阅读次数:
98
1、先来看下Python不同版本对应的路径 which python3.6 which python3.7 2、使用update-alternatives --install建立链接 sudo update-alternatives --install /usr/bin/python python ... ...
分类:
其他好文 时间:
2019-11-05 15:23:37
阅读次数:
74
Java运用于执行java程序(java运行环境)Javac运用于java程序编译(java程序开发环境)步骤二:alternatives安装JDK#alternatives--install/usr/bin/javajava/usr/local/jdk版本/bin/java1#alternatives--install/usr/bin/javacjava/usr/local/jdk版本/bin/
分类:
其他好文 时间:
2019-10-28 10:57:25
阅读次数:
64
CMake版本升级1、在网址 https://cmake.org/files/v3.1/ 下载 cmake-3.1.0.tar.gz2、解压3、执行 ./configure4、执行 make5、执行 sudo make install6、执行 sudo update-alternatives --i ...
分类:
其他好文 时间:
2019-08-09 17:44:05
阅读次数:
98
1、切换ubuntu上python版本 查看python命令的所有可选命令 sudo update-alternatives --config python 添加python2到可选项,并且设置优先级 sudo update-alternatives --install /usr/bin/pytho ...
分类:
编程语言 时间:
2019-07-27 12:44:26
阅读次数:
95
报错解决 安装弹窗小或者是一条竖线 ./runInstaller -jreLoc /etc/alternatives/jre_1.8.0 # 在home/datanase下执行启动安装界面 安装出现 Error in invoking target 'agent nmhs' of makefile ...
分类:
数据库 时间:
2019-07-24 00:11:25
阅读次数:
150
What’s is the benefit / drawback of these two alternatives? Using object spread options = {...optionsDefault, ...options}; Or using Object.assign opti ...
分类:
Web程序 时间:
2019-07-12 12:41:27
阅读次数:
155