[问题] 启动karaf碰到安全性错误

楼主: johnny9667 (大八)   2018-05-26 03:31:53
启动karaf遇到错误
[email protected]:/home/qwe/karaf-0.8.1# ./bin/karaf
Apache Karaf starting up. Press Enter to open the shell now...
Unable to register security provider: java.lang.ClassNotFoundException:
org.bouncycastle.jce.provider.BouncyCastleProvider
Error occurred while checking the system module.
下面是我的java 版本
openjdk version "10.0.1" 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)
下面是/etc/environment内文
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:
/usr/local/games"
JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
请问这怎么解?
作者: kogrs (kogrs)   2018-05-26 10:50:00
找不到 bouncy castle 的jce provider, 去找bc丢进classpat

Links booklink

Contact Us: admin [ a t ] ucptt.com