Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is Java now installable from the tar.gz package

admin admin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 23, 2019

With recent changes to Java licensing provided by Oracle, and with my own inability to find an alternative non-licensed option to provide java, I am curious if the Jira package (.tar.gz) now comes with Java prepackaged within it to install, or if this is still an external requisite for the server?

In the case of the latter, alternatives are most welcome as well.

1 answer

1 vote
Alexis Robert
Community Champion
May 23, 2019

Hi @admin admin , 

 

Atlassian provides the AdoptOpen JDK in its installer and officially supports it. If you're using the .tar.gz package, you can simply download AdoptOpen JDK here, and then install it on your server.

admin admin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 28, 2019

As AdoptOpenJDK does not have a repo as yet, I have run the following script on my CentOS-7 server to provide automation to the update process;

{

cat <<EOF > /etc/yum.repos.d/adoptopenjdk.repo
[AdoptOpenJDK]
name=AdoptOpenJDK
baseurl=http://adoptopenjdk.jfrog.io/adoptopenjdk/rpm/centos/7/$(uname -m)
enabled=1
gpgcheck=1
gpgkey=https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public
EOF

}

I can then run a yum update and install adoptopenjdk;

sudo yum update

sudo yum install adoptopenjdk-11-openj9

Suggest an answer

Log in or Sign up to answer