I am using Intellij and JDK 11 for zap.
I was able to successfully start Dev Build Zap from command line but when running it via Intellij it shows "Add Configuration" dialog box and I don't know which template I have to use for running zap whether its Gradle, Jar appication, Java Scrach ot Junit.
In case of Eclipse I selected Java application and specified the path of the project under project tab but it was unable to search for main class and I tried with "Include system libraries..."
and "Include inherited mains..." also then also it didn't managed to find main class.