Server Fails to Start in VS Code if Space in Path/FISH-8180 #81
Labels
Status: Accepted
Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev
Type: Bug
Label issue as a bug defect
Brief Summary
If there is a space in the install path (e.g. C:\Program Files\payara-6.2023.11\payara6), Payara Server fails to start via the VS Code extension with the following error:
Error: Could not find or load main class Files\payara-6.2023.11\payara6\glassfish.lib.grizzly-npn-api.jar
Caused by: java.lang.ClassNotFoundException: Files\payara-6.2023.11\payara6\glassfish.lib.grizzly-npn-api.jar
Expected Outcome
Payara Server should start normally.
Current Outcome
Server start fails with the following error:
Error: Could not find or load main class Files\payara-6.2023.11\payara6\glassfish.lib.grizzly-npn-api.jar
Caused by: java.lang.ClassNotFoundException: Files\payara-6.2023.11\payara6\glassfish.lib.grizzly-npn-api.jar
Reproducer
Operating System
Windows 11 Enterprise
JDK Version
Temurin-11.0.18+10 (build 11.0.18+10)
Ecosystem Tool
Visual Studio IDE Plugin
The text was updated successfully, but these errors were encountered: