Closed
Description
Hi,
I'm trying to run James 3.6.2 (Java Apache Mail Enterprise Server) using Espresso. I built the James project upon OpenJDK11, so I ran it with --java.JavaHome
pointing to the OpenJDK11. However, I got the following error:
java.lang.NoSuchMethodError: getMainType
Exception in thread "main" java.lang.NoSuchMethodError: getMainType
Even if I ran a simple program printing "Hello World", the same error happened. I'm wondering how to fix it.
Thanks a lot.
Environment:
Ubuntu 20.04
espresso-java21-24.1.2-linux-amd64
OpenJDK 11