使用 vmware Workstation 14 在 ubuntu 上运行 opendaylight

使用 vmware Workstation 14 在 ubuntu 上运行 opendaylight

为了构建 SDN 测试平台,我安装了 Vmware 工作站 14 pro 来运行 Mininet 和 OpenDayLight 控制器。因此,为了安装和运行 OpenDayLight,我遵循了一个教程。直到我尝试sudo ./distribution-karaf-0.4.0-Beryllium/bin/karaf从 vmware 终端内运行此命令时才出现问题。

它向我显示了以下消息:

karaf: JAVA_HOME not set; results may vary
./distribution-karaf-0.4.0-Beryllium/bin/karaf: 242: [:Illegal number:
OpenJDK 64-Bit Server VM warning: ignoring option Unsyncloadclass; support was removed in 11.0
OpenJDK 64-Bit Server VM warning: Ignoring option Maxpermsize; support was removed in 8.0
-Djava.endorsed.dirs=/usr/jvm/java-11-openjdk-amd64/jre/lib/endorsed:/usr/lib/jvm/java-11-openjdk-amd64/lib/endorsed:/home/zeal/distribution-karaf-0.4.0-Beryllium/lib/endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules.

Error: Could not create the java virtual machine.

Error: A fatal exception has occured. program will exit.

如何解决这个问题?

答案1

对于 opendaylight,您需要 openjdk-8,但您已安装 openjdk-11。这从 Ubuntu 运行 Opendaylight可能会帮助你

相关内容