Can anyone help fixing this code?
I entered this code for Java: import java.net.URL import com.vmware.vim25.* import com.vmware.vim25.mo.* def start = System.currentTimeMillis() def si = new ServiceInstance(new URL("https://HelloVM.groovy/sdk"), "administrator", "HelloVM.groovy", true) def end = System.currentTimeMillis() println "time taken: " + (end-start) def rootFolder = si.getRootFolder() def name = rootFolder.getName() println "root: " + name def mes = new InventoryNavigator(rootFolder).searchManagedEntities("VirtualMachine") mes.each { println "\nHello " + it.getName() println "GustOS: " + it.getConfig().getGuestFullName() println "Multiple snapshots supported?: " + it.getCapability().isMultipleSnapshotsSupported() } si.getServerConnection().logout() And I got this error: error: file not found: /usercode/*.java Usage: javac <options> <source files> use --help for a list of possible options Can anyone help fixing it?