Forums

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

JIRA Linux Installation Error: jre/bin/java: not found

Nathan Green July 17, 2013
I am trying to install JIRA and when I run the installer (./atlassian-jira-6.0.4-x32.bin) I get an error: jre/bin/java: not found. Is there some way to turn on logging when I run the installer? I can background it shortly before it dies, and manually extract java.tar.gz, but I get basically the same error from the shell when I try, e.g., bin/java -version: "bash: ./bin/java: No such file or directory" I'm running Xubuntu 12.4 and kernel 3.2. I don't have an existing JVM installed.

7 answers

1 accepted

1 vote
Answer accepted
Nathan Green July 18, 2013

It seems I forgot to run

apt-get install ia32-libs

Obviously the installer is giving the wrong error message when it fails. With 32-bit support fully enabled, I am able to install the 32-bit version.

5 votes
Alex Perez
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.
July 17, 2013

Install a JDK/JRE and retry the installation

3 votes
Galen Pyle
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2014

You need to install the JIRA software prerequisites. 

Run as root:

 

apt-get install lsb-core
apt-get install default-jdk
apt-get install default-jre
Malik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 11, 2015

Best solution on Ubuntu 14.04 LTS

2 votes
Travis Brackett
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 2, 2015

on Ubuntu 14.04, I was able to get it to work by simply running:

sudo apt-get install default-jre

 If you're running 64 bit Ubuntu and would like to install the 32 bit JIRA, this works:

sudo bash
dpkg --add-architecture i386
apt-get update
apt-get install default-jre:i386
Manfred Hofbauer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2015

worked in debian jessie, whatever the reason is, I did the installation in 32bit

0 votes
Galen Pyle
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2014

You need to install the JIRA software prerequisites. 

Run as root:

 

apt-get install lsb-core
apt-get install default-jdk
apt-get install default-jre

 

Also make sure you have Oracle's Java Installed:

 

The Oracle JDK is the official JDK; however, it is no longer provided by Oracle as a default installation for Ubuntu.

You can still install it using apt-get. To install any version, first execute the following commands:

 

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

If you're on Ubuntu, for example, then you need to make sure you have Oracle's Java installed with the above commands. It took me a couple hours then I figured this out. Hopefully you figure it out! 

 

 

Nathan Green November 4, 2014

As the answer says, the problem was a 32-bit vs 64-bit mismatch. It was not obvious that this was the case from the error message, which is why it took a little while to figure out.

0 votes
epicSpecialist
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 11, 2013

This is driving me mad and I have had incredibly little support from Atlassian.

As Debian no longer include an Oracle version of the JDK in the repo's you have to grab a tarball from Oracle. Good luck with that, java-package and make-jpkg have not got me far in making a debian package to install with any success. I really have persevered but I expected WAY more from Atlassian to be honest.

0 votes
Nathan Green July 18, 2013

The installer is bundled with a JRE, so obviously that wouldn't help. But I tried it anyway just after I posted my question and of course it didn't work. I forgot to mention that I verified the MD5 sum. Is this installer dependent upon a particular unix shell? I think I only have Bash installed right now.

~$ java -version
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
~$ ./atlassian-jira-6.0.4-x32.bin
Unpacking JRE ...
Starting Installer ...
./atlassian-jira-6.0.4-x32.bin: 466: ./atlassian-jira-6.0.4-x32.bin: /home/me/atlassian-jira-6.0.4-x32.bin.4256.dir/jre/bin/java: not found

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events