File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes A file path for an Appplication Build in JAVA(Windows platform) doesn't work on linux server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "A file path for an Appplication Build in JAVA(Windows platform) doesn Watch "A file path for an Appplication Build in JAVA(Windows platform) doesn New topic
Author

A file path for an Appplication Build in JAVA(Windows platform) doesn't work on linux server

Bejoy Kaladhar
Greenhorn

Joined: Jul 09, 2008
Posts: 9
I have given a path in my xml file as



which works fine on my JAVA development environment on Windows.When I deployed my application on linux box i gave my path as



It is showing an error as such a directory doesn't exist.A directory of the same path exists in my server space when i checked it with filezilla.I have also tried out afew options as



But unfortunately none didn't work, can any one please guide me in this issue to provide a directory path in linux?.


Bejoy.K.S
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Linux is case-sensitive, where Windows isn't, and also those double slashes are unnecessary on both platforms, and might not even work on Linux. So pay attention to letter case, and get rid of the double slashes.


[Jess in Action][AskingGoodQuestions]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39396
    
  28
"Bejoy KS" please read the important administrative private message I have just sent you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A file path for an Appplication Build in JAVA(Windows platform) doesn't work on linux server