Cannot run config.sh on server that is running Jira
up vote
0
down vote
favorite
I installed Jira on a Centos 7 VM. Jira is already running and it seems to be working well. I am trying to configure it to run through https. When I try to run config.sh I get an error that java is running the wrong JVM version.
[root@server02 bin]# echo $JAVA_HOME
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.71-2.b15.el7_2.x86_64/jre
[root@server02 bin]# ./config.sh
*************************************************************************************************************************************
********** Wrong JVM version! You are running with .. but JIRA requires at least 1.8 to run. **********
*************************************************************************************************************************************
[root@server02 bin]# java -version
openjdk version "1.8.0_71"
OpenJDK Runtime Environment (build 1.8.0_71-b15)
OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode)
After remove OpenJDK and install Oracle JDK
[root@server02 bin]# ./check-java.sh
*************************************************************************************************************************************
********** Wrong JVM version! You are running with .. but JIRA requires at least 1.8 to run. **********
*************************************************************************************************************************************
[root@server02 bin]# javac -version
javac 1.8.0_60
[root@server02 bin]# java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
java tomcat
add a comment |
up vote
0
down vote
favorite
I installed Jira on a Centos 7 VM. Jira is already running and it seems to be working well. I am trying to configure it to run through https. When I try to run config.sh I get an error that java is running the wrong JVM version.
[root@server02 bin]# echo $JAVA_HOME
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.71-2.b15.el7_2.x86_64/jre
[root@server02 bin]# ./config.sh
*************************************************************************************************************************************
********** Wrong JVM version! You are running with .. but JIRA requires at least 1.8 to run. **********
*************************************************************************************************************************************
[root@server02 bin]# java -version
openjdk version "1.8.0_71"
OpenJDK Runtime Environment (build 1.8.0_71-b15)
OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode)
After remove OpenJDK and install Oracle JDK
[root@server02 bin]# ./check-java.sh
*************************************************************************************************************************************
********** Wrong JVM version! You are running with .. but JIRA requires at least 1.8 to run. **********
*************************************************************************************************************************************
[root@server02 bin]# javac -version
javac 1.8.0_60
[root@server02 bin]# java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
java tomcat
1
what is the script checking exactly when it's doing the version check?
– schaiba
Feb 27 '16 at 21:07
This script is checking the java version on this machine first ,after that if the version is compatible ,it lets you configure Jira .
– Jeka Feigelman
Feb 28 '16 at 18:54
First of all when i tryed to run this script ,it was another error : "No JRE_HOME or JAVA_HOME environment variable is set - attempting to just run java command" and " Wrong JVM version! You are running with java version "1.7.0_95" but JIRA requires at least 1.8 to run." I removed the old version and installed 1.8 , after that i set $JAVA_HOME .
– Jeka Feigelman
Feb 28 '16 at 19:03
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I installed Jira on a Centos 7 VM. Jira is already running and it seems to be working well. I am trying to configure it to run through https. When I try to run config.sh I get an error that java is running the wrong JVM version.
[root@server02 bin]# echo $JAVA_HOME
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.71-2.b15.el7_2.x86_64/jre
[root@server02 bin]# ./config.sh
*************************************************************************************************************************************
********** Wrong JVM version! You are running with .. but JIRA requires at least 1.8 to run. **********
*************************************************************************************************************************************
[root@server02 bin]# java -version
openjdk version "1.8.0_71"
OpenJDK Runtime Environment (build 1.8.0_71-b15)
OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode)
After remove OpenJDK and install Oracle JDK
[root@server02 bin]# ./check-java.sh
*************************************************************************************************************************************
********** Wrong JVM version! You are running with .. but JIRA requires at least 1.8 to run. **********
*************************************************************************************************************************************
[root@server02 bin]# javac -version
javac 1.8.0_60
[root@server02 bin]# java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
java tomcat
I installed Jira on a Centos 7 VM. Jira is already running and it seems to be working well. I am trying to configure it to run through https. When I try to run config.sh I get an error that java is running the wrong JVM version.
[root@server02 bin]# echo $JAVA_HOME
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.71-2.b15.el7_2.x86_64/jre
[root@server02 bin]# ./config.sh
*************************************************************************************************************************************
********** Wrong JVM version! You are running with .. but JIRA requires at least 1.8 to run. **********
*************************************************************************************************************************************
[root@server02 bin]# java -version
openjdk version "1.8.0_71"
OpenJDK Runtime Environment (build 1.8.0_71-b15)
OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode)
After remove OpenJDK and install Oracle JDK
[root@server02 bin]# ./check-java.sh
*************************************************************************************************************************************
********** Wrong JVM version! You are running with .. but JIRA requires at least 1.8 to run. **********
*************************************************************************************************************************************
[root@server02 bin]# javac -version
javac 1.8.0_60
[root@server02 bin]# java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
java tomcat
java tomcat
edited Feb 28 '16 at 22:47
asked Feb 27 '16 at 20:57
Jeka Feigelman
113
113
1
what is the script checking exactly when it's doing the version check?
– schaiba
Feb 27 '16 at 21:07
This script is checking the java version on this machine first ,after that if the version is compatible ,it lets you configure Jira .
– Jeka Feigelman
Feb 28 '16 at 18:54
First of all when i tryed to run this script ,it was another error : "No JRE_HOME or JAVA_HOME environment variable is set - attempting to just run java command" and " Wrong JVM version! You are running with java version "1.7.0_95" but JIRA requires at least 1.8 to run." I removed the old version and installed 1.8 , after that i set $JAVA_HOME .
– Jeka Feigelman
Feb 28 '16 at 19:03
add a comment |
1
what is the script checking exactly when it's doing the version check?
– schaiba
Feb 27 '16 at 21:07
This script is checking the java version on this machine first ,after that if the version is compatible ,it lets you configure Jira .
– Jeka Feigelman
Feb 28 '16 at 18:54
First of all when i tryed to run this script ,it was another error : "No JRE_HOME or JAVA_HOME environment variable is set - attempting to just run java command" and " Wrong JVM version! You are running with java version "1.7.0_95" but JIRA requires at least 1.8 to run." I removed the old version and installed 1.8 , after that i set $JAVA_HOME .
– Jeka Feigelman
Feb 28 '16 at 19:03
1
1
what is the script checking exactly when it's doing the version check?
– schaiba
Feb 27 '16 at 21:07
what is the script checking exactly when it's doing the version check?
– schaiba
Feb 27 '16 at 21:07
This script is checking the java version on this machine first ,after that if the version is compatible ,it lets you configure Jira .
– Jeka Feigelman
Feb 28 '16 at 18:54
This script is checking the java version on this machine first ,after that if the version is compatible ,it lets you configure Jira .
– Jeka Feigelman
Feb 28 '16 at 18:54
First of all when i tryed to run this script ,it was another error : "No JRE_HOME or JAVA_HOME environment variable is set - attempting to just run java command" and " Wrong JVM version! You are running with java version "1.7.0_95" but JIRA requires at least 1.8 to run." I removed the old version and installed 1.8 , after that i set $JAVA_HOME .
– Jeka Feigelman
Feb 28 '16 at 19:03
First of all when i tryed to run this script ,it was another error : "No JRE_HOME or JAVA_HOME environment variable is set - attempting to just run java command" and " Wrong JVM version! You are running with java version "1.7.0_95" but JIRA requires at least 1.8 to run." I removed the old version and installed 1.8 , after that i set $JAVA_HOME .
– Jeka Feigelman
Feb 28 '16 at 19:03
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
That's probably because because OpenJDK is not supported by JIRA.
Check also the supported platforms for JIRA.
You have to install the Oracle JDK.
Already done .. But when i rtyed to run ./check-java.sh It is the same error .
– Jeka Feigelman
Feb 28 '16 at 22:03
add a comment |
up vote
0
down vote
You should locate and modify "check-java.sh" from your jira installation folder.
It greps for "java version" string in "java -version" command output, however openjdk returns "openjdk version" string instead.
So, replace "java version" with "openjdk version" in check-java.sh.
How can it be not defined? It's defined explicitly in bin/config.sh:
– ARA1307
Jul 25 at 21:56
The comment from @ARA1307 refers to my deleted comment about _RUNJAVA not being defined. Checking the script again I agree - I don't know how I got to that conclusion.
– Paul
Aug 9 at 17:21
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f266204%2fcannot-run-config-sh-on-server-that-is-running-jira%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
That's probably because because OpenJDK is not supported by JIRA.
Check also the supported platforms for JIRA.
You have to install the Oracle JDK.
Already done .. But when i rtyed to run ./check-java.sh It is the same error .
– Jeka Feigelman
Feb 28 '16 at 22:03
add a comment |
up vote
0
down vote
That's probably because because OpenJDK is not supported by JIRA.
Check also the supported platforms for JIRA.
You have to install the Oracle JDK.
Already done .. But when i rtyed to run ./check-java.sh It is the same error .
– Jeka Feigelman
Feb 28 '16 at 22:03
add a comment |
up vote
0
down vote
up vote
0
down vote
That's probably because because OpenJDK is not supported by JIRA.
Check also the supported platforms for JIRA.
You have to install the Oracle JDK.
That's probably because because OpenJDK is not supported by JIRA.
Check also the supported platforms for JIRA.
You have to install the Oracle JDK.
answered Feb 28 '16 at 21:37
Ortomala Lokni
2,16511441
2,16511441
Already done .. But when i rtyed to run ./check-java.sh It is the same error .
– Jeka Feigelman
Feb 28 '16 at 22:03
add a comment |
Already done .. But when i rtyed to run ./check-java.sh It is the same error .
– Jeka Feigelman
Feb 28 '16 at 22:03
Already done .. But when i rtyed to run ./check-java.sh It is the same error .
– Jeka Feigelman
Feb 28 '16 at 22:03
Already done .. But when i rtyed to run ./check-java.sh It is the same error .
– Jeka Feigelman
Feb 28 '16 at 22:03
add a comment |
up vote
0
down vote
You should locate and modify "check-java.sh" from your jira installation folder.
It greps for "java version" string in "java -version" command output, however openjdk returns "openjdk version" string instead.
So, replace "java version" with "openjdk version" in check-java.sh.
How can it be not defined? It's defined explicitly in bin/config.sh:
– ARA1307
Jul 25 at 21:56
The comment from @ARA1307 refers to my deleted comment about _RUNJAVA not being defined. Checking the script again I agree - I don't know how I got to that conclusion.
– Paul
Aug 9 at 17:21
add a comment |
up vote
0
down vote
You should locate and modify "check-java.sh" from your jira installation folder.
It greps for "java version" string in "java -version" command output, however openjdk returns "openjdk version" string instead.
So, replace "java version" with "openjdk version" in check-java.sh.
How can it be not defined? It's defined explicitly in bin/config.sh:
– ARA1307
Jul 25 at 21:56
The comment from @ARA1307 refers to my deleted comment about _RUNJAVA not being defined. Checking the script again I agree - I don't know how I got to that conclusion.
– Paul
Aug 9 at 17:21
add a comment |
up vote
0
down vote
up vote
0
down vote
You should locate and modify "check-java.sh" from your jira installation folder.
It greps for "java version" string in "java -version" command output, however openjdk returns "openjdk version" string instead.
So, replace "java version" with "openjdk version" in check-java.sh.
You should locate and modify "check-java.sh" from your jira installation folder.
It greps for "java version" string in "java -version" command output, however openjdk returns "openjdk version" string instead.
So, replace "java version" with "openjdk version" in check-java.sh.
answered Nov 11 '17 at 19:33
ARA1307
1111
1111
How can it be not defined? It's defined explicitly in bin/config.sh:
– ARA1307
Jul 25 at 21:56
The comment from @ARA1307 refers to my deleted comment about _RUNJAVA not being defined. Checking the script again I agree - I don't know how I got to that conclusion.
– Paul
Aug 9 at 17:21
add a comment |
How can it be not defined? It's defined explicitly in bin/config.sh:
– ARA1307
Jul 25 at 21:56
The comment from @ARA1307 refers to my deleted comment about _RUNJAVA not being defined. Checking the script again I agree - I don't know how I got to that conclusion.
– Paul
Aug 9 at 17:21
How can it be not defined? It's defined explicitly in bin/config.sh:
– ARA1307
Jul 25 at 21:56
How can it be not defined? It's defined explicitly in bin/config.sh:
– ARA1307
Jul 25 at 21:56
The comment from @ARA1307 refers to my deleted comment about _RUNJAVA not being defined. Checking the script again I agree - I don't know how I got to that conclusion.
– Paul
Aug 9 at 17:21
The comment from @ARA1307 refers to my deleted comment about _RUNJAVA not being defined. Checking the script again I agree - I don't know how I got to that conclusion.
– Paul
Aug 9 at 17:21
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f266204%2fcannot-run-config-sh-on-server-that-is-running-jira%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
what is the script checking exactly when it's doing the version check?
– schaiba
Feb 27 '16 at 21:07
This script is checking the java version on this machine first ,after that if the version is compatible ,it lets you configure Jira .
– Jeka Feigelman
Feb 28 '16 at 18:54
First of all when i tryed to run this script ,it was another error : "No JRE_HOME or JAVA_HOME environment variable is set - attempting to just run java command" and " Wrong JVM version! You are running with java version "1.7.0_95" but JIRA requires at least 1.8 to run." I removed the old version and installed 1.8 , after that i set $JAVA_HOME .
– Jeka Feigelman
Feb 28 '16 at 19:03