vscode-java
vscode-java copied to clipboard
Language Support for Java(TM) by Red Hat - Couldn't start client Language Support for Java
Hi guys:
I just recently installed the Language Support for Java extension however, I can't seem to get it working. Whenever I open a Java file I get a message stating the it "Couldn't start client Language Support for Java".
I get an error output that reads:
[Error - 11:54:37 PM] Starting client failed 13
I've already checked to see if JAVA_HOME is mapped under Environment Variables and it has. Any help would be appreciated. Thanks! Alexander Tang
There are two issues:
- one is tip says: Missing Gradle project configuration file: .settings/org.eclipse.buildship.core.prefs, cos I touch a file org.eclipse.buildship.core.prefs, and added the "org.eclipse.jdt.core.compiler.problem.forbiddenReference=ignore" to file. but it doesn't work at all.
- two issue is : Access restriction: The type 'OperatingSystemMXBean' is not API (restriction on required library '/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/rt.jar')
- env:
- apple m1 pro - latest java pack - use Oracle JDK 1.8 to run the program, and use OpenJDK 17 to jdt, as the java server. - Help! It's been bothering me all day. @fbricon @snjeza @lfarkas