Cannot run config.sh on server that is running Jira The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsProblem to launch java at Debian: “error while loading shared libraries: libjli.so”I deleted /etc/alternatives/javaWhat is the difference between JAVA_HOME and update-alternatives?Java doesn't show menu textJRE failed even after open jdk as well as oracle … using ubuntu14.04Could not find libjava.so“-bash: javac: command not found” error after installing OpenJDK 1.7java -version is not showing OpenSDKHow can I run Apache Directory Studio with OpenJDK 10?Choose right Java on JNLP
What is this lever in Argentinian toilets?
ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?
Why does this iterative way of solving of equation work?
Format single node in tikzcd
Why use ultrasound for medical imaging?
Wolves and sheep
Is this wall load bearing? Blueprints and photos attached
Am I ethically obligated to go into work on an off day if the reason is sudden?
Does Parliament hold absolute power in the UK?
Mortgage adviser recommends a longer term than necessary combined with overpayments
Can smartphones with the same camera sensor have different image quality?
Why can't wing-mounted spoilers be used to steepen approaches?
What was the last x86 CPU that did not have the x87 floating-point unit built in?
Why does the Event Horizon Telescope (EHT) not include telescopes from Africa, Asia or Australia?
Was credit for the black hole image misattributed?
In horse breeding, what is the female equivalent of putting a horse out "to stud"?
How to make `trap` know if the EXIT is after successful program finish or because of premature as an error or something
What can I do if neighbor is blocking my solar panels intentionally?
I'm thinking of a number
Road tyres vs "Street" tyres for charity ride on MTB Tandem
Match Roman Numerals
How to colour the US map with Yellow, Green, Red and Blue to minimize the number of states with the colour of Green
Why is superheterodyning better than direct conversion?
Is there a trick to getting spices to fix to nuts?
Cannot run config.sh on server that is running Jira
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election ResultsProblem to launch java at Debian: “error while loading shared libraries: libjli.so”I deleted /etc/alternatives/javaWhat is the difference between JAVA_HOME and update-alternatives?Java doesn't show menu textJRE failed even after open jdk as well as oracle … using ubuntu14.04Could not find libjava.so“-bash: javac: command not found” error after installing OpenJDK 1.7java -version is not showing OpenSDKHow can I run Apache Directory Studio with OpenJDK 10?Choose right Java on JNLP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
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 |
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 |
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
Jeka Feigelman
asked Feb 27 '16 at 20:57
Jeka FeigelmanJeka 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
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 |
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 '18 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 '18 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',
autoActivateHeartbeat: false,
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
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 |
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 |
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 LokniOrtomala Lokni
2,30311543
2,30311543
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 |
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 '18 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 '18 at 17:21
add a comment |
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 '18 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 '18 at 17:21
add a comment |
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
ARA1307ARA1307
1111
1111
How can it be not defined? It's defined explicitly in bin/config.sh:
– ARA1307
Jul 25 '18 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 '18 at 17:21
add a comment |
How can it be not defined? It's defined explicitly in bin/config.sh:
– ARA1307
Jul 25 '18 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 '18 at 17:21
How can it be not defined? It's defined explicitly in bin/config.sh:
– ARA1307
Jul 25 '18 at 21:56
How can it be not defined? It's defined explicitly in bin/config.sh:
– ARA1307
Jul 25 '18 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 '18 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 '18 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.
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