This is a test version of Biostars. For the public version, visit https://www.biostars.org.
InterProScan java issue

Bonjour,

How do I get my InterProScan to function when the version of java is incorrect.

Java version 1.8 is required to run InterProScan.
Detected version 11.0
Please install the correct version.

Merci pour votre temps/thanks for your time

Emily

java interproscan

1 answer

in https://github.com/ebi-pf-team/interproscan/blob/ff63535bfdaba64f9b48fc0c505f2ade85bd9d64/core/jms-implementation/support-mini-x86-32/interproscan.sh#L31

if [[ "${JAVA_MAJOR_VERSION}" == "1" && "${JAVA_MINOR_VERSION}" -lt "8" ]];

checks that the first number is '1" (like in "1.8") but here your version is 11

you can always try to change the script here but beware jdk11 and jdk8 are not compatibles for all librarie (e.g jaxb):

Thank you. I am getting the following now.

OpenJDK 64-Bit Server VM warning: Option AggressiveOpts was deprecated in version 11.0 and will likely be removed in a future release.
Unrecognized VM option 'UseFastAccessorMethods'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Not really sure what to make of it.

Log in to answer this question.