Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Windows 10 中的 JxBrowser 导致“不支持的操作系统”。我可以使用System.setProperty("os.name", "Windows 8.1");. 但是,JX-Browser 端是否有任何配置可以解决这个问题?
System.setProperty("os.name", "Windows 8.1");
(我使用的是 JX 浏览器 6.6。)
我建议您升级 JRE。我想您使用的旧 JRE 无法通过“os.name”系统属性识别 Windows 10。JxBrowser 使用“os.name”系统属性来确定操作系统名称和版本,因此它完全取决于您的 JRE 版本。