aspose 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 Java 8 in Action this week in the Java 8 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: 24168
    
  30

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: 36579
    
  16
"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
 
Similar Threads
Upload File Error
Getting Installation Path of Webserver
how to remove the port number in URL
Context hell
Getting Resin to ignore PHP script so that webserver deals with request