LoginSignup
0
1

More than 5 years have passed since last update.

Ubuntu13.04にjavaがインストールできない

Posted at

背景

に従って、ubuntu 13.04(raring)にjava8を入れる

1.apt-get updateを実行すると以下のエラー

前略

エラー http://extras.ubuntu.com raring/main Sources
  404  Not Found
エラー http://extras.ubuntu.com raring/main i386 Packages
  404  Not Found
無視 http://old-releases.ubuntu.com raring/main Translation-ja_JP
無視 http://old-releases.ubuntu.com raring/multiverse Translation-ja_JP
無視 http://old-releases.ubuntu.com raring/restricted Translation-ja_JP
無視 http://old-releases.ubuntu.com raring/universe Translation-ja_JP
W: http://extras.ubuntu.com/ubuntu/dists/raring/main/source/Sources の取得に失敗しました  404  Not Found

W: http://extras.ubuntu.com/ubuntu/dists/raring/main/binary-i386/Packages の取得に失敗しました  404  Not Found

E: いくつかのインデックスファイルのダウンロードに失敗しました。これらは無視されるか、古いものが代わりに使われます。

◇解決方法
http://ask.xmodulo.com/404-not-found-error-apt-get-update-ubuntu.html
より

#deb http://extras.ubuntu.com/ubuntu raring main
#deb-src http://extras.ubuntu.com/ubuntu raring main

2.add-apt-repository ppa:webupd8team/javaを実行すると以下のエラー

PPA (https://launchpad.net/api/1.0/~webupd8team/+archive/java)にアクセスできなかったため情報を取得できませんでした。インターネット接続を確認してください。

◇解決方法
http://dragstar.hatenablog.com/entry/2015/03/21/130333
より
環境変数にhttp_proxyなどを設定して、

sudo -E add-apt-repository ppa:webupd8team/java

3.ppa:webupd8team/javaを入れようとすると、以下のメッセージが出る

Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK7 / JDK8 / JDK9). There are no actual Java files in this PPA.

http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
によるとubuntu 13.04はサポートされていない

→pptから入れるのは断念

のThe manual wayに従って、Oracleのサイトからjava8を落としてきてインストールすることにする

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1