Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux launch script not working #18

Closed
matshou opened this issue Jun 27, 2021 · 0 comments
Closed

Linux launch script not working #18

matshou opened this issue Jun 27, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@matshou
Copy link
Contributor

matshou commented Jun 27, 2021

This line of code always leads to an exit:

if [ "$(exportGameJava "$PZ_HOME")" != 0 ]; then
    JAVA_CMD="java"
    which java >/dev/null 2>&1 || echo -e "\nERROR: JAVA_HOME is not set and no 'java' command" \
      "could be found in your PATH.\nPlease set the JAVA_HOME variable in your environment" \
      "to match the location of your Java installation.\n"
    exit 1
  fi
@matshou matshou added the bug Something isn't working label Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant