Dear Alex,

Can you please try this?

https://uk.mathworks.com/matlabcentral/answers/196961-why-do-i-receive-fatal-error-on-startup-unable-to-start-the-jvm-because-of-a-bad-java-option-or-un

Cheers,

/E

 

 

Juan Eugenio Iglesias

Senior research fellow

CMIC (UCL), MGH (HMS) and CSAIL (MIT)

http://www.jeiglesias.com 

 

 

 

From: <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of "Lab of Autism and Developmental Neuroscience, Lab of Autism and Developmental Neuroscience" <ladn@email.gwu.edu>
Reply-To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Date: Saturday, March 21, 2020 at 23:33
To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] Hippocampal Subfield Segmentation Error

 

        External Email - Use Caution        

Dear Freesurfer experts, 

 

I am having a problem with hippocampal subfield segmentation. The issue appears to be related to JavaVM - after I run the code: recon-all -s (subject ID) -hippocampal-subfields-T1 

This is the error: 

 

JavaVM: Failed to load JVM: /Library/Java/JavaVirtualMachines/adoptopenjdk-13.jdk/Contents/Home/bundle/Libraries/libserver.dylib

JavaVM FATAL: Failed to load the jvm library.

Fatal Error on startup: Unable to start the JVM because of a bad Java option or unknown error.

Please check your java.opts file.

Any suggestions?

 

Thank you, 

Alex