Hello,

I just tried building Apache Camel to get a jar.
According to the documentation you have to execute these two lines:

$ export MAVEN_OPTS="-Xms3000m -Xmx3000m -XX:MaxPermSize=512m"
$ mvn clean source:jar install -Pfastinstall
Unrecognized VM option 'MaxPermSize=512m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

I use openjdk version "17.0.4" 2022-07-19.

Do I need an older java version or is the MaxPermSize option different 
different in java 17?

Thanks in advance.

Greetings
Björn Försterling

Reply via email to