Description:
The existing jartobundle script is only supported for JDK 8 due to this condition.
jdk_18=$JAVA_HOME/bin/java -version 2>&1 | grep "1.[8]"if [ "$jdk_18" = "" ]; then echo " Starting WSO2 Carbon (in unsupported JDK)" echo " [ERROR] CARBON is supported only on JDK 1.8" exit 1 fi
Due to this condition, we cannot convert a Jar file to an OSGi bundle using another JDK version. Therefore we need to fix it.
Suggested Labels:
EI-6.6.0, SP-4-4.0