« Return to Thread: Q: main not available

Re: Q: main not available

by grkuntzmd :: Rate this Message:

Reply to Author | View in Thread

I tried
#!/usr/bin/env groovy

static main(def args) {
    println System.getProperty("java.version")
}
and using "groovy Main.groovy" it printed "1.6.0_10-rc" and with "java Main", nothing (no error though).
G. Ralph Kuntz, MD

 « Return to Thread: Q: main not available