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

Frič See also Navigation menuinternal link

Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox