This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Originally posted by netharam ram: Hi,Cindy is there any method to set the classpath at runtime using any method.
No, except by instantiating new class loaders.
Is there any way of running dos commands too,for Runtime.exec()will accept only exe files as parameters
Runtime.exec() will run DOS commands as well, you just need to run the command interpreter. Your COMSPEC environment variable will give its name; on NT, it's cmd.exe. For example, Runtime.exec("cmd.exe /c dir > \\dir.txt"); will create a directory listing in the "\dir.txt" file. - Peter
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com