In order to build SDN testbed, I have installed VirtualBox to run Mininet and OpenDayLight controller. Hence, to install and run OpenDayLight, I have followed this tutorial. No problem occurred until I tried to actually run the command
./karaf from within the vm terminal.
It shows me the following message:
./karaf: 242: [: Illegal number: OpenJDK 64-Bit Server VM warning: Option UnsyncloadClass was deprecated in version 10.0 and will likely be removed in a future release. OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0 -Djava.endorsed.dirs=/usr/lib/jvm/default java/jre/lib/endorsed:/usr/lib/jvm/default java/lib/endorsed:/home/odlc/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 occurred. Program will exit.
How to fix this issue?