Deepin如何安装Oracle Java?
Tofloor
poster avatar
Mark24
deepin
2015-07-27 02:21
Author
本帖最后由 Mark24 于 2015-7-26 18:37 编辑

如题,Deepin的商店里Open Java显然不够用哇

想腻了这个帖子
Reply Favorite View the author
All Replies
lcw0268
deepin
2015-07-27 02:44
#1
官网有呀,下载deb包直接安装。
Reply View the author
136******54
deepin
2015-07-27 02:55
#2
本帖最后由 diyiliaoya 于 2015-7-26 19:00 编辑
  1. sudo apt-get install python-software-properties
  2. sudo add-apt-repository ppa:webupd8team/java
  3. sudo apt-get update
  4. sudo apt-get install oracle-java8-installer
Copy the Code

Reply View the author
huizq
deepin
2015-12-01 18:07
#3
https://bbs.deepin.org/post/31633
官网有呀,下载deb包直接安装。

官网根本没有deb包!
如图,官网给出的方法我已经试过,但无效

Reply View the author
huizq
deepin
2015-12-01 18:13
#4
本帖最后由 huizq 于 2015-12-1 12:23 编辑

您好:
          我按照您给出的命令成功安装了java,但在运行时出现报错。  如图:


我想在 http://www.gokgs.com/ 这个网站里下围棋,要运行java插件。 浏览器是Mozilla Firefox

Reply View the author
zhang12345shun
deepin
2016-01-17 09:13
#5
1. 下载Sun版JDK压缩包(.tar.gz),选择其中的32/64位Linux版本。
2. 将其解压缩:sudo tar -zxvf ~/Downloads/jdk-8u45-linux-i586.tar.gz -C /usr/lib 中参数-C后面的路径是解压缩的目标路径。
3.sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_66/bin/java 1000
sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_66/bin/javac 1000
Reply View the author
zhang12345shun
deepin
2016-01-17 09:42
#6
参考官网:
Starting with version 8u40, the JDK installation is integrated with the alternatives framework and after installation, the alternatives framework is updated to reflect the binaries from the recently installed JDK. Java commands such as java, javac, javadoc, and javap can be invoked from the command line.
Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG