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

Better error message when java home is missing src dirs #107

Open
devinrsmith opened this issue Jul 21, 2023 · 0 comments
Open

Better error message when java home is missing src dirs #107

devinrsmith opened this issue Jul 21, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@devinrsmith
Copy link
Member

During the install process, jpy may error out with

Error: environment variable "JAVA_HOME" must be set to a JDK (>= v1.7) installation directory

This is a confusing error message when JAVA_HOME is set, see #106. In this case, the "lib" source directory was missing. It would probably be prudent to error out with a more explicit error message when one of the java home environment variables is set and either the directory doesn't exist, or the directory exists but the needed subdirectories don't exist.

@devinrsmith devinrsmith added enhancement New feature or request good first issue Good for newcomers labels Jul 21, 2023
@devinrsmith devinrsmith self-assigned this Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant