cflint / CFLint

Static code analysis for CFML (a linter)
BSD 3-Clause "New" or "Revised" License
174 stars 84 forks source link

The operation could not be completed. Unable to locate a Java Runtime #737

Closed ivanionut closed 4 months ago

ivanionut commented 5 months ago

hi everyone, i get the following error on ST4/macOS:

SublimeLinter.plugin.cflint [WARNING]: cflint output:
The operation couldn’t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java.

I have already installed java using sdkman:

java --version
openjdk 11.0.23 2024-04-16
OpenJDK Runtime Environment Temurin-11.0.23+9 (build 11.0.23+9)
OpenJDK 64-Bit Server VM Temurin-11.0.23+9 (build 11.0.23+9, mixed mode)

How can I solve this?

KamasamaK commented 4 months ago

This looks like an error for your SublimeLinter plugin -- I assume SublimeLinter-contrib-CFLint -- not CFLint itself.