Skip to content

Local environment check displays the jDK version, cc-switch

Quick fix

The original post does not yet provide a verifiable solution; this report was marked as a duplicate. Follow the main issue for fix progress.

Error output
本地环境检查, 如果配置文件中默认输出java_home的本地环境变量 , 这块会显示jdk的版本, 是要数字就会自动解析出来
English translation

During the local environment check, if the configuration file outputs the local environment variable java_home by default, this area displays the jdk version. If numbers are required, they are parsed automatically.

In a macOS cc-switch 3.16.1 report, the local environment check displays the JDK version when reading the locally defined `java_home` environment variable that the configuration file outputs by default; the reporter believed numbers were parsed automatically.

A maintainer marked the report as a duplicate of #3937 and closed it. The available material does not provide the main issue's specific fix, so closure cannot be confirmed as a fix.

  1. The original post does not provide a verifiable solution. Follow the fix progress of the main issue specified by the maintainer; if the scenario differs materially, add details and reopen this report.

Toolcc-switch
Version3.16.1(报告环境,影响范围未确认)
PlatformsmacOS

(No FAQ yet)

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.