Hi Vikas, you do exactly the same as you would do in Java, e.g.
or did I misunderstand your question?
Joined: Nov 08, 2006
Thank you for your quick reply. I need an example where i can call a java program from groovy script. I tried with a sample example it is throwing unable to resolve class name. So please help me in loading of java class while executing groovy script. I am not sure of setting classpath for groovy examples. Please advice.
Joined: Nov 01, 2006
What do you mean by
call a java program
? Instantiating a Java class? Calling a method? Calling a main method?