-
Notifications
You must be signed in to change notification settings - Fork 136
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
Create Java Project gives "java.project.create not found" error #906
Comments
Have you installed |
Yes, it's installed. |
I could not repro this on my machine. Do you have any existing Java project on your machine and could the project import correctly in VS Code? |
Unfortunately I don't. I'm new to Java and was hoping to use VS Code as a familiar environment, but I haven't got as far as even making a Hello World at this stage. |
To help us understand the problem, would you mind to share a gif/video about the problem? Maybe we can find some clues. |
You're going to love this. I haven't even opened VS Code since logging this issue, yet I just tried it again and it worked fine. I wonder whether logging out of Windows and back in did the trick (I didn't see any instruction to do this, but I may have missed something). Anyway, it appears that this issue is solved :) |
Thank you to let us know the problem is gone. |
no problem, always good to know that problem is solved :) |
Looks like vscode didn't complete extension activation. Whenever this kind of error occurs, you can find logs via View -> Output -> Select Log(Extension Host) |
I am getting this error as well. |
I also encountered this problem, but it was fixed after I reinstalled vscode. I'm not quite sure what caused this problem. |
Issue Type: Bug
This is my first time using Visual Studio Code. I've been following the instructions on https://code.visualstudio.com/docs/java/java-tutorial and have installed the Coding Pack for Java.
Now I'm up to this bit:
"You can also create a Java project using the Java: Create Java Project command. Bring up the Command Palette (Ctrl+Shift+P) and then type java to search for this command. After selecting the command, you will be prompted for the location and name of the project."
When I choose "Java: Create Java Project" I get the message "Command 'Java: Create Java Project...' resulted in an error (command 'java.project.create' not found)" and it doesn't ask me for the name or location for my project.
Searching for the verbatim error message gives zero hits, although there are a couple of hits for similar errors. None seem to actually have any solutions. Is the documentation out of date? Is there something else I need to install?
Extension version: 0.21.0
VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:28.252Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: