Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I try to "Configure Java Runtime", but it's blank page #1316

Closed
monettoCoffee opened this issue Apr 28, 2024 · 3 comments
Closed

I try to "Configure Java Runtime", but it's blank page #1316

monettoCoffee opened this issue Apr 28, 2024 · 3 comments
Assignees

Comments

@monettoCoffee
Copy link

monettoCoffee commented Apr 28, 2024

I use vscode command "Java: Configure Java Runtime", and enter the tab "Configure Java Runtime", but i got a blank page finally.

then i taggle the vscode developer tool, the console show:

workbench.desktop.main.js:152 [Extension Host] stack trace: TypeError: Cannot read properties of undefined (reading 'includes')
at t.getProjectType (/Users/jichunxu/.vscode/extensions/vscjava.vscode-java-pack-0.26.0/out/extension.js:2:850519)
at /Users/jichunxu/.vscode/extensions/vscjava.vscode-java-pack-0.26.0/out/extension.js:2:815780
at Generator.next ()
at a (/Users/jichunxu/.vscode/extensions/vscjava.vscode-java-pack-0.26.0/out/extension.js:2:811145)
w @ workbench.desktop.main.js:152
workbench.desktop.main.js:2008 [vscjava.vscode-java-pack]Cannot read properties of undefined (reading 'includes')
workbench.desktop.main.js:2008 TypeError: Cannot read properties of undefined (reading 'includes')
at t.getProjectType (vscode-file://vscode-app/Users/jichunxu/.vscode/extensions/vscjava.vscode-java-pack-0.26.0/out/extension.js:2:850519)
at vscode-file://vscode-app/Users/jichunxu/.vscode/extensions/vscjava.vscode-java-pack-0.26.0/out/extension.js:2:815780
at Generator.nex

VSCode version: 1.88.1
JDK config: Zulu JDK 17

Plugin version: All of plugin about java is the latest ...
Extension Pack for Java 0.26
Project Manager for Java 0.23.6
Project Manager for Java 1.30.0
.... ......

System: macos sonoma 14.3.1 and M2 Pro

Tasks

Preview Give feedback
No tasks being tracked yet.
@monettoCoffee
Copy link
Author

the network, index.html, fake.html, index.js all is 200 status

@testforstephen
Copy link
Contributor

"Configure Java Runtime" will be deprecated. pls use the command "Java: Configure Classpath" instead, which supports setting a jdk for your project.

@jdneo
Copy link
Member

jdneo commented May 20, 2024

Fixed by #1324

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants