question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Project Manager for Java Not Working/Appearing in Explorer

See original GitHub issue

On a new install of CodeServer, the Java Project Manager view does not appear. I’ve tested on both official docker release and the LinuxServer release. I’ve ensured the JDK is available and set up using the “java.home” setting and have tested both versions 11 and 14, just to be sure.

OS/Web Information

  • Web Browser: Chrome
  • Local OS: Windows 10
  • Remote OS: Linux(Unraid) - Docker
  • Remote Architecture: x64
  • code-server --version: 3.11.0 4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd

Steps to Reproduce

  1. Deploy new docker container
  2. Copy a Java installation to a known location available to the container, and configure the java path in CodeServer
  3. Install Java Extension Pack
  4. Install Spring Initializr Java Support
  5. Create new project using initializr
  6. Open the main java file

Expected

Java Project Explorer should appear in the side bar and list the java project (this happens on vanilla VS Code)

Actual

Java welcome page comes up, but the Java Project Explorer does not appear

Notes

This issue can be reproduced in VS Code: No

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
xCJPECKOVERxcommented, Aug 10, 2021

@balajib-b I checked and have disabled popups, but the Java Project Manager is still missing. When I create the project using Initializr, I’ve used the defaults for everything except the Java version: Maven, 2.5.3, Java, com.example, demo, jar, 16, 0 dependencies, default location. Upon completion I receive the popup for adding the project to the workspace, however the Java Projects collapse is not visible in the Explorer.

To note, I am still able to run the project. The issue is just that the Project Manager for Java extension seems to not be running.

1reaction
xCJPECKOVERxcommented, Aug 4, 2021

I think the only prerequisite is making sure the Java sdk is available and that Code Server knows about it (via the “java.home” setting or $JAVA_HOME environment variable).

Using the Spring Initializr extension is just a quick way to bootstrap a runnable Java project. I started with “Spring Initializr: Create a Maven Project…” then just used the defaults for each step.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why cant I see Java project view in VS Code? - Stack Overflow
VS code says I should see the 3 dots by the explorer subheading to enable it, but again, I don't have these 3...
Read more >
Java project management in Visual Studio Code
The Project Manager for Java extension helps you to manage your Java projects ... By default, the Java Projects view is displayed below...
Read more >
Java is not working in Internet Explorer after I just installed Java
Workaround · Open IE browser · Click on Tools tab. Note: If the Tools tab is not visible in Tools bar, right click...
Read more >
VS Code Java Project Explorer Gets Better
"The view is realized through Project Manager for Java extension. Since the extension is an update from previous Java Dependency Viewer ...
Read more >
Why cant I see Java project view in VS Code? : r/vscode - Reddit
The issue is I don't see the project view tab as shown in the image above. [code says I should see the 3...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found