求助deepin如何安装Java8啊
Tofloor
poster avatar
Cr_creeperc
deepin
2015-06-06 05:00
Author
如题,本人想在deepin上玩Minecraft,但这个游戏是java编写的,网上的教程都试了,一个都不管用,谢谢了。我知道当伸手党不好,但是度娘也不留情啊
Reply Favorite View the author
All Replies
136******54
deepin
2015-06-06 05:20
#1
  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
Feng Yu
deepin
2015-06-06 05:36
#2
楼上正解,ubuntu 14.04的软件仓库没有openjdk8,因为仓库冻结的时候openjdk8似乎还没发布,无法进入ubuntu官方仓库。askubuntu上给的解决方案也是添加这个ppa,自动下载并安装oracle jdk8
Reply View the author
Cr_creeperc
deepin
2015-06-07 06:41
#3

在百度上查到过,启动Minecraft启动器时提示什么乱七八糟的东西,百度翻译提示是什么软件包不安全
Reply View the author
136******54
deepin
2015-06-07 06:42
#4
https://bbs.deepin.org/post/30641
在百度上查到过,启动Minecraft启动器时提示什么乱七八糟的东西,百度翻译提示是什么软件包不安全 ...

提示什么贴上来
Reply View the author
Cr_creeperc
deepin
2015-06-08 03:02
#5
https://bbs.deepin.org/post/30641
提示什么贴上来

不用了,我回去查了一下,跟你的不一样,并且你的好使,谢谢
Reply View the author
MeowSprite
deepin
2015-06-08 23:30
#6
直接去java官网下载jre,然后解压到你想要的目录。minecraft启动器设置java路径,启动minecraft。启动器正版启动器就OK,或者使用hello minecraft启动器。
Reply View the author
Cr_creeperc
deepin
2015-06-10 03:38
#7
https://bbs.deepin.org/post/30641
直接去java官网下载jre,然后解压到你想要的目录。minecraft启动器设置java路径,启动minecraft。启动器正 ...

拜托我没有VPN,那速度简直(哔)了狗,而且我没有正版,再何况Linux盗版只能用HMCL(HelloMinecratrLauncher),更何况有人给我解决方法了,但也谢谢你
Reply View the author
zhang12345shun
deepin
2016-01-17 09:14
#8
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
#9
参考官网:
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