coc-java icon indicating copy to clipboard operation
coc-java copied to clipboard

JavaSE-16/17 Support like vscode-java

Open UltiRequiem opened this issue 4 years ago • 11 comments

How can I configure this extension to work openjdk 16.0.2 or newer?

UltiRequiem avatar Aug 10 '21 16:08 UltiRequiem

VSCode Java Supports Java 16: image

https://github.com/redhat-developer/vscode-java#project-jdks

UltiRequiem avatar Aug 13 '21 14:08 UltiRequiem

+1

agomusa avatar Aug 19 '21 15:08 agomusa

+1

sachasi avatar Aug 19 '21 15:08 sachasi

Would like to see something update on this issue.

wenhao-eb avatar Sep 03 '21 08:09 wenhao-eb

bump

UltiRequiem avatar Oct 26 '21 04:10 UltiRequiem

VSCode Java already supports Java 17!! https://github.com/redhat-developer/vscode-java#project-jdks

UltiRequiem avatar Oct 26 '21 04:10 UltiRequiem

bump, tried with 17 but does not work

nextuponstream avatar Nov 09 '21 21:11 nextuponstream

图片

Hope to support 17

kands-code avatar Nov 13 '21 05:11 kands-code

图片

Hope to support 17

Waiting for this since last year...

UltiRequiem avatar Jan 06 '22 17:01 UltiRequiem

I have this in my ~/.config/nvim/coc-settings.json and no error. Are you guys sure you have the latest versions of your stuff ?

  "java.configuration.runtimes": [
    {
      "name": "JavaSE-17",
      "path": "/usr/lib/jvm/java-17-openjdk",
      "default": true
    }
  ]

SirWrexes avatar Mar 16 '22 11:03 SirWrexes

Works for me after update.

JavaSE-17 [OK] JavaSE-18 [NOK]

If you guys are using vim-plug, run :PlugUpdate, reopen your workspace and use :CocCommand java.clean.workspace.

If you installed manually your plugins, go to theirs folder and run a git pull

GiuseppeMP avatar Jun 16 '22 17:06 GiuseppeMP

Should be fixed on recent version of coc-java, try upgrade coc.nvim to latest release and coc-java to version 1.14.0.

chemzqm avatar Jan 29 '23 06:01 chemzqm

Thanks!

UltiRequiem avatar Jan 29 '23 14:01 UltiRequiem