Installing Jira 7 on Linux

I have been having troubles installing Jira on my linux VM. I first installed 6.7 and thought it was successful. I saw that 7 came and wanted to try to install it . Now when I do the express install I get this 

Extracting files ...
com.install4j.runtime.beans.actions.misc.RunExecutableAction failed

I cannot find a way to resolve this. If i ignore it then it wont make an opt folder and I cannot start or stop the JIRA instance. Or even uninstall it.

Any solutions? 

 

Thanks!

 

PS:

Here is the entire process....

Unpacking JRE ...
Starting Installer ...
Oct 15, 2015 11:29:22 AM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.
This will install JIRA Software 7.0.0 on your computer.
OK [o, Enter], Cancel [c]
o
Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (use default settings) [1], Custom Install (recommended for adva nced users) [2, Enter], Upgrade an existing JIRA installation [3]
1
The following default options cannot be used. You will be asked to provide alter natives for these options.
* Home Directory (Existing home directory)
Default location for JIRA Software data
[/var/atlassian/application-data/jira]
Details on where JIRA Software will be installed and the settings that will be u sed.
Installation Directory:
Home Directory: /var/atlassian/application-data/jira
HTTP Port: 8080
RMI Port: 8005
Install as service: Yes
Install [i, Enter], Exit [e]
i
Extracting files ...
com.install4j.runtime.beans.actions.misc.RunExecutableAction failed
Ignore [i, Enter], Quit [q]

4 answers

1 accepted

Have you checked what version and/or the correct  java is being used to install with. Seems like a failure early on in the process, and smells to me like the jvm can't be started for installation.  

ie: Check $JAVA_HOME is set to the correct jvm you want to have run. 

 

hth.

java -version openjdk version "1.8.0_60" OpenJDK Runtime Environment (build 1.8.0_60-b27) OpenJDK 64-Bit Server VM (build 25.60-b23, mixed mode) which java /usr/bin/java running these two commands should verify that I have my JAVA HOME setup correctly? one thing I do find odd is when I echo $JAVA_HOME nothing comes back.

As Nic mentioned, make sure you have permission in the directory you are working in (as root) at the very least. Then try to set $JAVA_HOME before you run the installer. See what happens there. If /opt/atlasssian/jira/jre/bin/java already exists then try setting JAVA_HOME to that as well (you can hardcode this in /opt/atlassian/jira/bin/setenv.sh as well, if needed).

0 vote

That's a pretty generic error, but the most common reason for it is that your user does not have the read/write/execute/delete permissions on the directory you have chosen.

0 vote

Is Openjdk supported now?

I'm facing the same issue with 6.4.13

Oracle JDK 1.8

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,345 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot