changing working dir in Java
How do I change the current working directory in Java? Because right now I
am working on a servlet which is going to call a C++ program using JNI. And
the current working directory needs to be changed. But the System.setProperty("user.dir",
"c:\mydir"); does not work. Please help. Thanks.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL