运行app(Maven,GWT)时出现问题,控制台向我显示:
dyld: warning, LC_RPATH @loader_path/. in /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java being ignored in restricted program because of @loader_path
2018-09-11 15:07:48.631 java[6257:272434] The application with bundle ID net.java.openjdk.cmd is running setugid(), which is not allowed.
即使在带有java -version
的终端中
dyld: warning, LC_RPATH @loader_path/. in /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java being ignored in restricted program because of @loader_path
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)