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

Accepted Answer
1 vote

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 votes

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 votes

Is Openjdk supported now?

I'm facing the same issue with 6.4.13

Oracle JDK 1.8

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

65 views 0 2
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