[Mac]macOS Mojave 10.14.3安装Java

如何为 Mac 安装 Java?javascript

下载jrehtml

如何测试 Java 在个人计算机上是否正常工做?java

https://cloud.tencent.com/developer/ask/189492macos

  • safari12再也不支持java插件!

要使用Firefoxapi

java控制台,添加例外站点:app

Warning: Java Plugin support for legacy lifecycle model is deprecated and may be removed in a future release.jsp

Java 插件11.211.2.12 x86_64
使用 JRE 版本 1.8.0_211-b12 Java HotSpot(TM) 64-Bit Server VM
用户主目录 = /Users/danni
16:21:12 java.security.AccessControlException: access denied ("java.util.PropertyPermission" "user.home" "read")
	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
16:21:12 [api] notify javascript applet unauthorized or jre unsupported.
cd /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib/security
sudo vi java.policy
        permission java.util.PropertyPermission "user.home", "read";

/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java测试

以上两个都不是,Jre终于找到:firefox

  • /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security
  • https://includestdio.com/1346.html
  • 增长permission java.util.PropertyPermission "user.home", "read";解决。
相关文章
相关标签/搜索