payara / Payara

Payara Server is an open source middleware platform that supports reliable and secure deployments of Java EE (Jakarta EE) and MicroProfile applications in any environment: on premise, in the cloud or hybrid.
http://www.payara.fish
Other
884 stars 306 forks source link

Enhancement: Message if server couldnt find JAVA #5781

Closed SekaNuos closed 1 year ago

SekaNuos commented 2 years ago

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.

JamesHillyard commented 2 years ago

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

fturizo commented 1 year ago

@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.