Payara icon indicating copy to clipboard operation
Payara copied to clipboard

Enhancement: Message if server couldnt find JAVA

Open SekaNuos opened this issue 3 years ago • 1 comments

I spend two days looking for reason why payara couldnt start. image But then i found out that adding this two commands to file "payara5\glassfish\config\asenv.bat", makes everything working. REM set AS_JAVA=C:\Program Files\Java\jdk1.6.0_04\jre/.. set AS_JAVA=C:\Program Files\Java\jre1.8.0_331

I believe it's problem with my Java placement, but people could got this problem too. And without any form of message about it - it's really hard thing to fix.

SekaNuos avatar May 31 '22 15:05 SekaNuos

Hi @SekaNuos,

I was able to reproduce this issue successfully by setting my JAVA_HOME environment variable to an invalid directory so I agree, it seems like a problem with the Java configuration on your local machine.

Thank your for the request, it will be submitted to community voting and accepted if it is the most voted issue at the end of a month. We encourage you to rally support for your request. We always encourage you to contribute, so if you wish you can submit a PR implementing this enhancement, and we will gladly review it.

Thanks, James

JamesHillyard avatar Jun 01 '22 08:06 JamesHillyard

@SekaNuos,

It seems that after submitting this issue for community vote there was not a proper reception nor interest in the feature requested, so we'll proceed to close this issue due to lack of interest.

fturizo avatar Jun 21 '23 15:06 fturizo