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

No JVM shared library file (libjli.dylib) found #13

Open
spiousas opened this issue Apr 20, 2023 · 2 comments
Open

No JVM shared library file (libjli.dylib) found #13

spiousas opened this issue Apr 20, 2023 · 2 comments

Comments

@spiousas
Copy link

Hi!

After checking the Python and Java versions (3.11.2 and 1.8.0_311) I installed actipy.

When I try to process the data as presented in the tutorial:

data, info = actipy.read_device("data/76985_01.cwa.gz",
                                 lowpass_hz=20,
                                 calibrate_gravity=True,
                                 detect_nonwear=True,
                                 resample_hz=50)

I have an error in line 49 of reader.py:

data, info_read = _read_device(input_file, verbose)
The error writes:

JVMNotFoundException: No JVM shared library file (libjli.dylib) found. Try setting up the JAVA_HOME environment variable properly.

I am running the code in a Macbook Pro M1 (2020) with 16 Gb of ram and MacOS Big Sur (11.4)

I tried to fix the error by changing the JAVA_HOME environmental variable bu none of the solutions I found worked out.

Is it fixable?

@chanshing
Copy link
Member

When you run java --version in the terminal, what does it show?

@spiousas
Copy link
Author

1.8.0_311

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