Hello Everyone, I have written a Java program that runs on Windows. I want to know how can I run that program on other environment like Unix, Linux or Mac. I am sure that it is a platform independent language so my program will definitely run. But I am not sure if I have to make some changes in the program. As a matter of fact, I need to know the shell out commands of Unix, Linux or Mac to make my program functional. I hope I am clear with my question. It would be a great help if anyone can get back with an answer. Thanks.
Indeed, there's no need to change your classes but if you happen to do 'Runtime.getRuntime.exec(" ...") stuff, you certainly *do* have to change something if you want to port your code from windows to *nix, OS/400, MacOS or whatever ... kind regards
Thanks for getting back to me. Actually I am making use of Runtime().exec(...). I have handled all the windows environment with this command. But I am not sure which shell out commands should be used in canse of Unix, Linux and Mac. It would be great if you could help me out with that. Thanks, Riddhi