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

Obtuse error message if JAVA_HOME is set incorrectly. #3

Closed
jamesneale opened this issue Jul 12, 2016 · 4 comments
Closed

Obtuse error message if JAVA_HOME is set incorrectly. #3

jamesneale opened this issue Jul 12, 2016 · 4 comments

Comments

@jamesneale
Copy link
Contributor

If your JAVA_HOME env var is set to an incorrect location you get the following error message in your logs which is reasonably tricky to debug:

panic: no such file or directory

goroutine 1 [running]:
panic(0x1665a0, 0x8202abfc0)
    /usr/local/go/src/runtime/panic.go:481 +0x3e6
github.com/palantir/go-java-launcher/launchlib.Launch(0x820341e48, 0x820341e18)
    /home/ubuntu/.go_workspace/src/github.com/palantir/go-java-launcher/launchlib/launcher.go:86 +0xf3f
main.LaunchWithConfig(0x7fff5fbffa1a, 0x1f, 0x7fff5fbffa3a, 0x1c)
    /home/ubuntu/.go_workspace/src/github.com/palantir/go-java-launcher/go-java-launcher/main.go:39 +0x389
main.main()
    /home/ubuntu/.go_workspace/src/github.com/palantir/go-java-launcher/go-java-launcher/main.go:56 +0xf6
@uschi2000
Copy link
Contributor

Fair. Want to make a PR?

@jamesneale
Copy link
Contributor Author

Happy to - might be a couple of days before I get a spare moment though.

@uschi2000
Copy link
Contributor

Cool, thanks James.

On Wed, Jul 13, 2016 at 6:06 PM James Neale notifications@github.com
wrote:

Happy to - might be a couple of days before I get a spare moment though.


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#3 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AGOdwViXbnSXCEqlMJm3fOy08iffL6W_ks5qVWFdgaJpZM4JKbc3
.

@jamesneale
Copy link
Contributor Author

#4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants