I've download sbt-1.8.0, when I try to run sbt I receive error :
\Downloads\sbt-1.8.0>sbt
[warn] Neither build.sbt nor a 'project' directory in the current directory: C:\Users\fff\Downloads\sbt-1.8.0
c) continue
q) quit
? c
Unrecognized VM option 'MaxPermSize=256m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
The filename, directory name, or volume label syntax is incorrect.
Unrecognized VM option 'MaxPermSize=256m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized VM option 'MaxPermSize=256m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
I'm using Java 11 version :
\Downloads\sbt-1.8.0>java -version
openjdk version "11.0.16.1" 2022-08-12
OpenJDK Runtime Environment Temurin-11.0.16.1+1 (build 11.0.16.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.16.1+1 (build 11.0.16.1+1, mixed mode)
My understanding is that MaxPermSize support has been removed from Java post version 8 ? Is sbt1.8 not compatible with Java 11 ?