$!'f$verify(0) $!(prepare either Java5 or Java6, depending on what we find installed) $ jsetup = f$edit(f$search("SYS$MANAGER:JAVA$150_SETUP.COM"),"COLLAPSE") $ if f$length(jsetup) .eq. 0 then jsetup = f$edit(f$search("SYS$MANAGER:JAVA$60_SETUP.COM"),"COLLAPSE") $ if f$length(jsetup) .eq. 0 then exit 44 $ @'jsetup' $ set noon $! $ if p1 .nes. "" $ then $ call javacomp "''p1'" $ exit $ endif $! $ call javacomp "CGIplus.java" $ call javacomp "dumpCGI.java" $ call javacomp "hi1CGI.java" $ call javacomp "hi1CGIplus.java" $ call javacomp "hi2CGI.java" $ call javacomp "hi2CGIplus.java" $ call javacomp "postCGI.java" $ call javacomp "postCGIplus.java" $ exit $! $ javacomp: subroutine $! $ set noon $ classpath = f$trnlnm("classpath") + ":/wasd_root/script/" $ target = "/wasd_root/script/" $! $ set verify $ javac -classpath "''classpath'" -d "''target'" "''p1'" $!'f$verify(0) $! $ exit $ endsubroutine