我想在 Windows 10 中使用 JDK 16 在 Netbeans 12.4 中安装 C/C++ 插件。
我在安装 C/C++ 插件时出错。
window :10
网 bean :12.4
JDK:16.0.1
我附上照片:
最佳答案
您遇到此问题是因为 NetBeans 使用 JDK 16 下载插件,而该下载过程依赖于 the unpack200 tool which was deprecated in JDK 11, and removed in JDK 14 .
由于 NetBeans 12.4 支持三个 JDK 版本(8、11 和 16),因此解决方案是:
见 How to set the JDK Netbeans runs on?有关切换到 JDK 8 或 11,然后恢复到 JDK 16 的详细信息。
一旦将 NetBeans 配置为使用 JDK 8 或 11(我选择了 8):
http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz
作为插件的更新中心 URL。笔记:
:
At the moment, NetBeans doesn't support C/C++, the plugins you were/are using from 8.2 are not really officially supported, though work on this is ongoing here, with an end goal to having it officially part of NetBeans, though that will take a while
关于c++ - 在 Windows 10 中使用 JDK 16 在 Netbeans 12.4 中安装 C/C++ 插件时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68027919/