Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot put 'JavaSE-21' as name to java.configuration.runtimes #292

Open
B1LLP4RK opened this issue Jan 25, 2025 · 0 comments
Open

Cannot put 'JavaSE-21' as name to java.configuration.runtimes #292

B1LLP4RK opened this issue Jan 25, 2025 · 0 comments

Comments

@B1LLP4RK
Copy link

In readme page below is the example but won't work for JavaSE-21.

"java.configuration.runtimes": [
  {
    "name": "JavaSE-1.8",
    "path": "/path/to/jdk-8",
  },
  {
    "name": "JavaSE-11",
    "path": "/path/to/jdk-11",
  },
  {
    "name": "JavaSE-21",
    "path": "/path/to/jdk-21",
    "default": true
  },
]

Whenever I try, coc-json warns me

Value is not accepted. Valid values: "J2SE-1.5", "JavaSE-1.6", "JavaSE-1.7", "JavaSE-1.8", "JavaSE-9", "JavaSE-10", "JavaSE-11", "JavaSE-12", "JavaSE-13", "JavaSE-14", "JavaSE-15", "JavaSE-16", "JavaSE-17", "JavaSE-18", "JavaSE-19", "JavaSE-20". (json 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant