Make sure your output directory is the osbot scripts folder and when you click [file -> new -> project] top left it should say Project SDK: 1.8 (java version "") and if not click [New...] and select the jdk 1.8 folder
If that still doesn't work: after building (ctrl+F9) you should see a .jar in your scripts folder, when starting osbot it will give you errors in the logger, paste those here if you can't solve them (it should say something like failed to load 'scriptname')