rdk / p2rank

P2Rank: Protein-ligand binding site prediction tool based on machine learning. Stand-alone command line program / Java library for predicting ligand binding pockets from protein structure.
https://rdk.github.io/p2rank/
MIT License
242 stars 34 forks source link

Java options unrecognized by OpenJDK 15 #44

Closed davidhoksza closed 3 years ago

davidhoksza commented 3 years ago

When trying to run the P2Rank with OpenJDK 15, I am getting

Unrecognized VM option 'CMSClassUnloadingEnabled'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit. 

The same with the second option (UseConcMarkSweepGC) when I remove CMSClassUnloadingEnabled. When I remove both prank predict -f test_data/1fbl.pdb runs just fine.

rdk commented 3 years ago

Fixed on develop by removing the options. They are relevant only for Java 8 and not really necessary.