Skip to content

Stuck in Importing #4308

Open
Open

Description

@ProuDog

Hi, I was trying to make JUnit work so I made co-pilot do a few things but I couldn't follow it as it had done a lot of things. Now neither my program nor VS Code works (at least while trying to run my program).

Stuck in "activating task providers java"
Image

Java: Clean Java Language Server Workspace does not work (command not found)
Image

When I click "run Java", this thing on bottom right appears but nothing happens (waited 3+ minutes, my program used to run in less than 5 seconds after pressing run)
Image

Nothing of significance in "Problems"
Image

This guy at the bottom is probably related to the main cause of the issue but disabling it and restarting VSCode etc does not change anything. The same issues still persist. (Command not found, activating task providers java, run importing projects etc all the same). I disabled it for now.
Image

Extension Host
Image

Window
Image

Not sure if relevant, but Java: Configure Java Runtime leads here although I am in a file as you can see on the left (but I'm not sure what this is so this information is probably irrelevant and makes me look stupid as it is also incorrect lol)
Image

I have been trying to find a solution both with internet searches and AI suggestions for a few hours now but couldn't find a solution. Please help! I wish I just did not try to "force" the optional part of my homework; I was done with it and now it doesn't work and I need to show it to my prof in a few hours :D

I'm using Windows 11, this additional info may help link here

Activity

  1. fbricon commented on Jan 15, 2026

    @fbricon
    Collaborator

    Start by disabling the Oracle's Java extension, which conflicts with vscode-java

  2. ProuDog commented on Jan 15, 2026

    @ProuDog
    Author

    Start by disabling the Oracle's Java extension, which conflicts with vscode-java

    Thank you for the advice; I will do that. But in a seperate program (I manually copied all the code from desktop pc to laptop and sent the zip back to my desktop pc, so Oracle's Java extension doesn't run in this new "simplified" program), it still doesn't run and still gives the "command not found" error.

    Unless of course there are different conflicts here
    Image
    This same code/program works on my slow laptop by the way! So I think the problem is in VSCode itself (not on the devs' side, but maybe I have made some bad changes?)

  3. fbricon commented on Jan 15, 2026

    @fbricon
    Collaborator

    your 1st Extension Host log shows a missing config.ini file, which is unexpected, looks like a corrupt installation. Can you try installing the vscode-java pre-release instead? Please provide logs if it still fails

  4. ProuDog commented on Jan 15, 2026

    @ProuDog
    Author

    your 1st Extension Host log shows a missing config.ini file, which is unexpected, looks like a corrupt installation. Can you try installing the vscode-java pre-release instead? Please provide logs if it still fails

    I'm sorry I do not exactly understand. Do you mean VSCode itself, or one of the installed extensions or one of the running extensions? (running extensions are the ones on the right side, installed on left):
    Image

  5. fbricon commented on Jan 15, 2026

    @fbricon
    Collaborator

    Your vscode-java 1.51 is borked:
    Image

    So try the pre-release

  6. ProuDog commented on Jan 15, 2026

    @ProuDog
    Author

    Your vscode-java 1.51 is borked: Image

    So try the pre-release

    Thank you, this worked. The program runs now. What do you think is the issue? Should I uninstall "Language Support for Java(TM) by Red Hat" and reinstall again, would that fix it and allow me to use it in release version? Also, if you need any other screenshots, let me know

  7. fbricon commented on Jan 15, 2026

    @fbricon
    Collaborator

    Close vscode, then delete the java extensions in

    • C:\Users\[YourName]\.vscode\extensions
    • C:\Users\[YourName]\AppData\Roaming\Code\CachedExtensions\

    Then you can try reinstalling the 1.51.0 release

  8. datho7561 commented on Jun 17, 2026

    @datho7561
    Contributor

    @ProuDog did this end up fixing the issue for you? If so, I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions