Ubuntu 18.04.3安装jdk-8u241-linux-x64.tar.gz完成后提示Command 'java' not found

技术标签: jdk  java  linux  

从官网下载了jdk-8u241-linux-x64.tar.gz这个版本,在opt路径下新建了jvm,将文件解压到了jvm下,然后在/etc/profile加入了 export JAVA_HOME=/opt/jvm/jdk1.8.0_241 export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME...

【阿里云服务器搭建】1、安装jdk

【阿里云服务器搭建】1、安装jdk 下载连接 下载连接 jdk包上传服务器目录下,并解压 tar -zxvf jdk-8u241-linux-x64.tar.gz 3. 配置java环境变量。 cd ~ vi .bash_profile 设置好JAVA_HOME [root@ ~]# vi .bash_profile JAVA_HOME=/opt/jdk/jdk1.8.0_241

jdk linux手动安装

/tools/java8 5、tar -zxvf jdk-8u241-linux-x64.tar.gz 解压文件 [root@bogon java8]# ll 总用量 189988 drwxr-xr-x... jdk-8u241-linux-x64.tar.gz 删除压缩文件 rm -rf jdk-8u241-linux-x64.tar.gz 6、配置jdk环境变量 vim /etc/profile 文本编辑--光标最后一行

Linux安装java

-downloads-2133151.html 2.通过winscp下载安装包(jdk-8u241-linux-x64.tar.gz)上传到linux(上传目录和安装目录自定义)中 3.解压安装包(tar -xzvf jdk-8u241-linux-x64.tar.gz) 4.重命名解压出来的包(mv jdk1.8.0_241 jdk1.8)【可忽略】 5.配置系统环境变量【不是用户环境变量】(vim /etc/profile文件后尾

Linux系统下安装jdk、环境配置

1、下载Linux版本jdk 2、放在你的路径,一般都在/usr/local,创建自己的文件夹/usr/local/java.解压tar zxvf jdk-8u241-linux-x64.tar.gz 3、配置环境变量 vim /etc/profile 文件下面加入export JAVA_HOME=/usr/local/java/jdk1.8.0_241 export

Linux(centos8)下安装 jdk1.8 (tar.gz安装)

;jdk-8u241-linux-x64.tar.gz解压到指定的目录下 /usr/local/myWorkSpace (这里的myWorkSpace是新建的 mkdir myWorkSpace)并且重命名 解压到指定目录命令:tar -zxvf jdk-8u241-linux-x64.tar.gz -C /usr/local/myWorkSpace 重命名:mv jdk解压的名字 jdk1.8 3.配置环境变量 (&ldquo


智能推荐

ll: command not found

-bash:ll:找不到命令 在通过 xshell5 连接到自建的Debian服务器时,ll 命令无法识别; 原因: ll 并不是Linux 下一个基本的命令,它实际上是ls -l 的一个别名,默认不支持命令ll ,必须用ls-l; 若想使用此命令,可做如下操作:   #cd~ 回到根目录/ 家目录,即中图产品的根目录 #vim〜/ .bashrc 打开〜/ .bashrc ,添加&ld...

ifconfig command not found

虚拟机下安装完centos mini版之后发现 ifconfig command not found 可以通过 ip addr 来查看 也可以直接安装 net-tools #sudo yum install net-tools -y #ifconfig...

ifconfig command not found

出现这个问题的原因是新版本的linux默认不带 ifconfig,官方推荐使用ip命令查看ip:ip addr ip addr查看如果获取不到ip 则首先查看网卡状态:systemctl status network 如果未启动:systemctl restart network 启动后再cd /etc/syyconfig/network-scripts目录下,确认网卡名,我的是enp4...

sqlplus: command not found

1、安装oracle的时候,先使用的脚本文件创建oracle用户,并配置环境变量,然后安装的时候,发现默认路径下内存太小,就改到其他的文件路径下了,然后 2、切换到oracle用户 su - oracle 3、执行命令sqlplus /nolog -bash: sqlplus: command not found 4、查询oracle_home和 path echo $oracle_ho...

crontab: command not found

开始安装:yum install vixie-cron crontabs 查看:crontab -l 服务状态:service crond status 启动服务:service crond start...

猜你喜欢

ifconfig: command not found

转自:http://www.cnblogs.com/dunitian/p/4974761.html ifconfig: command not found 查看path配置(echo相当于c中的printf,C#中的Console.WriteLine) 1 echo $PATH   解决方案1:先看看是不是root用户,如果不是就 su 切换到root用户 su 解决方案2:(...

vue: command not found

意思大概就是没有vue这个命令。这种情况在系统设置中配置一下环境变量就好了   然后关闭之前的命令窗口,重新打开,vue命令就有效了...

$‘\r‘: command not found

项目场景: 部署springboo项目 问题描述: ./startup.sh 运行项目,报错 $’\r’: command not found syntax error: unexpected end of file 原因分析: Windows下的空行造成的 解决方案: 把文件转成unix 在linux系统上安装dos2unix 执行以下命令:yum install dos...

无意中发现看书也是一种美

2012年4月25日晚,翻翻自己喜欢的一门语言学习书(python参考手册),无意中发现书中夹着之前的明信片(有一次和同事一起去前门邓丽君音乐生活馆留下来的),感觉学习也是一种美!于是乎拍下这不经意的时刻,哈哈!...

香橙派OrangePi PC Plus开发板连接USB以太网卡测试说明

1) 目前测试过能用的 USB 以太网卡如下所示,其中 RTL8153 USB 千兆网卡插入开 发板的 USB 2.0 Host 接口中测试可以正常使用,但是速率是达不到千兆的,这点请 注意   2) 首先将 USB 网卡插入开发板的 USB 接口中,然后在 USB 网卡中插入网线,确 保网线能正常上网,如果通过 dmesg 命令可以看到下面的 log 信息,说明 USB 网卡...

问答精选

How to extract beta coefficients for interaction effect in R?

I am examining the interaction between a continuous variable (bloodq) and a categorical variable with three levels (ER, RB, and WB). In order to see how the betas differ across tissue types, I would l...

what is the difference between Flatten() and GlobalAveragePooling2D() in keras

I want to pass the output of ConvLSTM and Conv2D to a Dense Layer in Keras, what is the difference between using global average pooling and flatten Both is working in my case. That both seem to work d...

How to invoke a test step with inputs at runtime from groovy script in SOAP UI?

I am writing a validation groovy script for a test step, intended to test a SOAP Web Service. Now, I want to call the same test step, with different input value from the groovy script. Is it possible?...

Wicket pagestore results wrong page

I have a problem with my web application with wicket. I am using wicket 6.14. I can't say exactly what the problem is, but I can describe the problem. I am using a self written pagestore, which uses h...

Unity load files from outside of resources folder

In unity is it possible to load a resource that is out side of the resources folder. I want the user to be able to set a textAsset variable from a file outside of the Assets directory entirely. You ca...

相关问题

相关文章

热门文章

推荐文章

相关标签

推荐问答