Deploy failed - We cannot execute /usr/local/bin/java
mateo
PROOP

2 months ago

Why am I seeing this error? My application used to build correctly. I did only some changes to small files, but now I'm having this error

image.png

Attachments

$20 Bounty

3 Replies

2 months ago

Do you have JAVA_HOME as one of your railway variables?


venomduo47-dotcom
FREE

2 months ago

I don't think you have defined JAVA_HOME correctly

check if you have java installed java -version


venomduo47-dotcom
FREE

2 months ago

bash below try it see what shows

java -version

echo $JAVA_HOME

which java


Welcome!

Sign in to your Railway account to join the conversation.

Loading...