Closed davigre closed 4 years ago
Thanks for opening this issue @davigre. I was able to replicate this. I'll give it a look asap.
@davigre we just released the new server connector extension (0.23.3) which fixes the issue with the vm.install.path
property. Now you should be able to set it up and use rsp-server with the latest vscode java.
Let us know if you face any other issue. Thank you and sorry for taking so long.
@lstocchi ,
Thanks a lot. I already tested.
I use Wildfly-10.0.0.Final with JDK_8_251.
All was working ok, but now redhat-developer/vscode-java needs JDK 11+ so I change java.home to
C:\\Program Files\\AdoptOpenJDK\\jdk-11.0.8.10-hotspot
.The problem is that 'Server Connector' normally tries to run Wildfly with 'java.home' JDK.
Reading the manual I add
"vm.install.path": "C:\\Program Files\\Java\\jdk1.8.0_251"
to run Wildfly with JDK8, but the following exception is output as soon as I save the configuration:and when I try to 'start the server':
Unable to start the server: Extension backend error - server can not be started: server gtllocal can not find a valid virtual machine to use.
And when I reopen vscode in output 'Red HatServer Connector (stdout)':
and in 'Red Hat Server Connector (stderr)':