0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Jenkins Global Tool Configuration > JDK 自動インストールでエラー

Last updated at Posted at 2020-02-06

エラー内容

Installing JDK jdk-8u221-oth-JPR
Downloading JDK from https://download.oracle.com/otn/java/jdk/8u221-b11/230deb18db3e4014bb8e3e8324f81b43/jdk-8u221-linux-x64.tar.gz
Your Oracle account doesn't appear valid. Please specify a valid username/password
ERROR: Unable to install JDK unless a valid username/password is provided.
Finished: FAILURE

手動インストール

yum install -y java-1.8.0-openjdk java-1.8.0-openjdk-devel

設定

image.png

インストールしたけどパスを忘れたときはtools.jarのあるディレクトリを参考にする

find / -name tools.jar
0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?