java-language-server icon indicating copy to clipboard operation
java-language-server copied to clipboard

Java Language Server cannot start

Open AGoh2019 opened this issue 2 years ago • 1 comments

Type: Bug

I typically encounter this error occassionally. After starting VS Code. There is a boot up message that says "Java Language Server cannot start." Well. I will usually ignore it. But when I try to compile ABC.java file. The java compiler will say ABC.java causes a file not found exception. The issue is ratified after I go to the JDK, in this case Oracle 17 SDK, and manually run the java compiler. After which I recompile the file inside VS Code environment, and ABC.java works. Its irritating to encounter this sort of error periodically.

Extension version: 0.2.45 VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:59:02.252Z) OS version: Windows_NT x64 10.0.22621 Modes: Sandboxed: No

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 x 2419)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 15.77GB (8.14GB free)
Process Argv C:\Projects\1-Java (2022)\2-Java - A Beginners Guide 9e\LambdaDemo3.java --crash-reporter-id 878a6b85-9049-465e-849e-1cc9b3b95d57
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1cf:30587006
2e4cg342:30602488
iaj6b796:30613358
89544117:30613380
fim-prod:30623723

AGoh2019 avatar Jan 12 '23 07:01 AGoh2019