redhat-developer / vscode-server-connector

📦 VS Code extension to run JBoss EAP servers and Runtimes
Eclipse Public License 2.0
57 stars 26 forks source link

Unable to start the server: Extension backend error #556

Closed fredguedespereira closed 1 year ago

fredguedespereira commented 1 year ago

Hi,

I´m trying to start a Wildfly-20.0.0 server and the extension prints the message:

"Unable to start the server: Extension backend error - server can not be started: server wildfly-20.0.0.final is not compatible with discovered java version 17.0.3"

I'm using Java 17. My JAVA_HOME is pointing to this jdk version. I've tried another Java 17 minor versions, downloading the wf21 server using the extension and also pointing to a disk wf21 version and nothing works.

Using Java8 works, but I´m not able to code JEE8 applications.

Any clues?

Thank's,

Fred

jeffmaury commented 1 year ago

You need to run Wildfly 20 or 21 with Java 8 or Java 11

fredguedespereira commented 1 year ago

Thank you Jeff. I already tested it in Java 8 and it worked. I'll downgrade my JDK to Java11 then.