Cannot run config.sh on server that is running Jira The 2019 Stack Overflow Developer Survey Results Are InProblem 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 OpenSDKError in Java Runtime EnvironmentHow can I run Apache Directory Studio with OpenJDK 10?

Alternative to の

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?

Mathematics of imaging the black hole

Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?

Accepted by European university, rejected by all American ones I applied to? Possible reasons?

Pokemon Turn Based battle (Python)

Worn-tile Scrabble

What is the most efficient way to store a numeric range?

Does HR tell a hiring manager about salary negotiations?

What is the motivation for a law requiring 2 parties to consent for recording a conversation

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

Can withdrawing asylum be illegal?

How much of the clove should I use when using big garlic heads?

What do hard-Brexiteers want with respect to the Irish border?

What do I do when my TA workload is more than expected?

Dropping list elements from nested list after evaluation

What is this business jet?

What is the meaning of Triage in Cybersec world?

Does adding complexity mean a more secure cipher?

Cooking pasta in a water boiler

How to notate time signature switching consistently every measure

Short story: man watches girlfriend's spaceship entering a 'black hole' (?) forever

How to support a colleague who finds meetings extremely tiring?

RequirePermission not working



Cannot run config.sh on server that is running Jira



The 2019 Stack Overflow Developer Survey Results Are InProblem 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 OpenSDKError in Java Runtime EnvironmentHow can I run Apache Directory Studio with OpenJDK 10?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








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)









share|improve this question
















bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 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


















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)









share|improve this question
















bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 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














0












0








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)









share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 28 '16 at 22:47







Jeka Feigelman

















asked Feb 27 '16 at 20:57









Jeka FeigelmanJeka Feigelman

113




113





bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.









  • 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





    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











2 Answers
2






active

oldest

votes


















1














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.






share|improve this answer























  • Already done .. But when i rtyed to run ./check-java.sh It is the same error .

    – Jeka Feigelman
    Feb 28 '16 at 22:03


















0














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.






share|improve this answer























  • 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











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
);



);













draft saved

draft discarded


















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









1














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.






share|improve this answer























  • Already done .. But when i rtyed to run ./check-java.sh It is the same error .

    – Jeka Feigelman
    Feb 28 '16 at 22:03















1














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.






share|improve this answer























  • Already done .. But when i rtyed to run ./check-java.sh It is the same error .

    – Jeka Feigelman
    Feb 28 '16 at 22:03













1












1








1







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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 28 '16 at 21:37









Ortomala LokniOrtomala Lokni

2,30511543




2,30511543












  • 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





Already done .. But when i rtyed to run ./check-java.sh It is the same error .

– Jeka Feigelman
Feb 28 '16 at 22:03













0














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.






share|improve this answer























  • 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















0














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.






share|improve this answer























  • 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













0












0








0







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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










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

















  • 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

















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







-java, tomcat

Popular posts from this blog

Can I sign legal documents with a smiley face?Do Legal Documents Require Signing In Standard Pen Colors?Is it possible to legally prohibit someone from linking to specific pages on your website?Do scans of signed documents have the same legal power as the original document?What can I do if I signed an excessively restrictive contract?Can other party sneak in new contract terms via termination notice?How to prove that someone forged my signature on a contract that I was not aware of?In Australia, Is it legal to sign a document as somebody else?making a contract that includes video licenceLease dispute, over email and text messageIf you must include all of the natural language prose in a legal document, or if it can be abstracted outE-signing: legal ramifications of “identifying” a person

Can I redirect output to a log file and background a process at the same time?2019 Community Moderator ElectionUnable to write to file in shell script when running command in backgroundredirect and log script outputhow to properly log the output of a console program that frequently updates “parts” of the screen, resulting in a messy log file?How can I redirect the output of a child process?grep script - output lines at the same time into echoHow to run process in background and get its pid to create log file nameHow to redirect output to a log from expect commandHow to clear a redirect log file content in shell?Log background jobs started in all the manually started shells?Why do `jobs` and `dirs` run in command subsitution, process substitution, pipeline, and background jobs output the same as in original shell?How to redirect output to file to STDOUT?

Word for a person who has no opinion about whether god existsWord for having a definite opinion while simultaneously withholding judgment?What's the opposite of “newcomer? Is ”veteran" OK?What do you call an “atheist” who might believe in an afterlife?What's a word for someone who wants to voice opinions but not have them challenged?Word for someone who dismisses contrary opinions as irrational?Somone who thinks they are overly special/out of the ordinaryIs there a word, phrase or idiom for “a person who is incapable of thinking about the future”?The belief that a god is human-likeA word for a non-famous person/thing you have heard a lot aboutAdjective for a person who enjoys taking care of their appearance