CMS Shell
From OpenCms Wiki
Shell script for Linux/Windows to start a shell prompt which gives you access to OpenCms
java -Djava.ext.dirs=./lib/ org.opencms.main.CmsShell
Then like you said:
login "Admin" "password"
createDefaultProject "Offline" "The Offline Project"
I copied these two jar into the opencms lib folder. Then deleted them after I was done.
servlet-api.jar
jsp-api.jar