In openjdk 11, jre folder is removed so we can’t keep the external jars.
What is the alternative approach for keeping the external jars like ojdbc.
You can try starting jenkins.war like this:
java -cp /usr/local/lib/jython/jython.jar:/tmp/jenkins.war Main
where /tmp/jenkins.war is my location of the jenkins.war file, and /usr/local/lib/jython/jython.jar is some additional JAR file I need.
Thanks @saper for helping me out
in my case with Jenkins Enterprise 2.361.4.1 running on Windows i had to use
-cp "%BASE%\thirdpartyjars\*";"%BASE%\cloudbees-core-cm.war" executable.Main