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

NeuroML for Docker (Java issue) #232

Open
furballproductionsinc opened this issue Nov 18, 2024 · 2 comments
Open

NeuroML for Docker (Java issue) #232

furballproductionsinc opened this issue Nov 18, 2024 · 2 comments

Comments

@furballproductionsinc
Copy link

Is your feature request related to a problem? Please describe.
The introductory Izhikevich example works fine in a Docker container until the LEMS simulation, then it looks for a JVM and can't find one (I'm running inside a Jupyter notebook with a Python console on Windows 10 with WSL2).

Describe the solution you'd like
It would be helpful to have a Dockerfile or instructions that will make this work.

Describe alternatives you've considered
I tried the install-jdk tool in Python, it works insofar as you can cd into the bin directory and execute 'java -version' but it complains about libjvm.so, which exists in the lib/server subdirectory of the jdk install but which can't be found even with the path set.

Additional context
It would be yummy to make this work in the same container that TensorFlow uses. (hint hint)
I'm happy to collaborate with anyone who'd like to help make this work. - Brian [email protected]

@sanjayankur31
Copy link
Member

sanjayankur31 commented Nov 19, 2024

NeuroML requires Java (since JNeuroML is a Java package). Depending on what your docker container is based on, you will need to include a JVM in it. Here's an example:

https://github.com/NeuralEnsemble/neuralensemble-docker/blob/13434295590ef0eb75ef47ac9421847d5ffd2bf3/osb/Dockerfile#L33

@furballproductionsinc
Copy link
Author

furballproductionsinc commented Nov 20, 2024 via email

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