JIRA VERSION: 8.5.1
JJRE/JDK: jdk1.8.0_231
It is a new installation and the error message is confusing. JAVA_HOME is set to
C:\Program Files\Java\jdk1.8.0_231
----------------------------------
C:\Program Files\Atlassian\JIRA\bin>config.bat
findfind:: '/V': No such file or directory
: No such file or directory
: 'JDK_JAVA_OPTIONS': No such file or directory
find: '/V': No such file or directory
find: 'JDK_JAVA_OPTIONS': No such file or directory
: 'version': No such file or directory
****************************************************************************
******* Wrong JVM version! JIRA requires 1.8 or 11 to run. *******
****************************************************************************
***
*** Output of java -version command is:
The system cannot find the path specified.
*** (End of output) ***
----------------------------------------------------------
I was getting this error as I had Cygwin tools in my PATH.
Remove in a .bat with:
set PATH=%PATH:C:\cygwin\bin;=%
Check This This is Already Solved
Like Jamie said making below changes in the config.bat will solve the problem.
Step -1: verify if JDK is installed
in my case it in installed at -> C:\Program Files\Java\jdk1.8.0_181 (64-bit)
Step-2: Edit the config.bat located at -> C:\Program Files\Atlassian\Jira\bin
once you edit you will find some text.. browse until you see :
:gotJreHome
REM Use the java from (1) JRE_HOME or (2) JAVA_HOME; supports spaces in these paths
set _EXECJAVA="%JRE_HOME%\bin\java"
Replace set _EXECJAVA="C:\Program Files\Java\jdk1.8.0_181\bin\java.exe"
// If your java is pointing a different version give that path here.
Note - save a copy of the Config file before you make any changes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I have verified all the possible queries and answer in the knowledge base. My issue is unsolved.
Regards
Priyasloka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.