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

JAVA_HOME error on computer without Java #158

Closed
vanmeerkerk opened this issue Sep 2, 2024 · 2 comments
Closed

JAVA_HOME error on computer without Java #158

vanmeerkerk opened this issue Sep 2, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@vanmeerkerk
Copy link
Contributor

A fresh install of the venv and running app.py results in a error. The PC does not have a Java installed and so JAVA_HOME is not findable.

@MichielTukker
Copy link
Contributor

To resolve this, we need to refactor the ates class and mappers. Ates imports pyjnius at the root of the file, mappers import ates a the root, so as soon as the mappers are loaded/called, it crashes because java is not installed.

@MichielTukker
Copy link
Contributor

Closed by #216. Because Pyjinius is only loaded when the Ates class is initialized, pyjjnius does not have to be installed (unless you want to run a model with an Ates)

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
Status: Done
Development

No branches or pull requests

2 participants