Originally posted by Roger F. Gay:
Environment variables are things like path and classpath, that are set for the whole system. You can view or edit them through the Advanced tab in Systems on the Control Panel - which you bring up by clicking start and selecting Control Panel (in Windows). Control-Panel->System->Advanced-tab->Environment-variables-button
I don't understand how starting a Java program brings up a cmd window if you don't know how to bring up a cmd window from a Java program? How does doTest.test (.class?) bring up a cmd window?
Originally posted by Roger F. Gay:
I may be trying to do the same thing this week. It would be nice to get a response before then. This is another new thing for me. I have code to start a second application from the first, but haven't tried to start a command window for it.
I have little experience - but perhaps this will help. I think that the arguments might need to be in a String array.
Use a second argument if you need to set environmnet variables.
[ August 28, 2007: Message edited by: Roger F. Gay ]
Originally posted by manishkumarlal cs:
whats the different between
String s = "abc";
and
String s = new String("abc");