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;








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



















  • 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



















  • 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







  • 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,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

















  • 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







Popular posts from this blog

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted 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 ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

NetworkManager fails with “Could not find source connection”Trouble connecting to VPN using network-manager, while command line worksHow can I be notified about state changes to a VPN adapterBacktrack 5 R3 - Refuses to connect to VPNFeed all traffic through OpenVPN for a specific network namespace onlyRun daemon on startup in Debian once openvpn connection establishedpfsense tcp connection between openvpn and lan is brokenInternet connection problem with web browsers onlyWhy does NetworkManager explicitly support tun/tap devices?Browser issues with VPNTwo IP addresses assigned to the same network card - OpenVPN issues?Cannot connect to WiFi with nmcli, although secrets are provided