Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getInputStream - file path

Status
Not open for further replies.

DKL01

Programmer
Joined
Sep 14, 2000
Messages
233
Location
US
Hello All,

Till now my java app was running on Windows and now I need to move it to Linux. On Windows I had mappings.jar in root folder of C drive. I'm not sure where should I move this file in Linux so that my app finds it. Really appreciate any suggestions. Thanks

public Document[] loadMappings(String s)
// value of s will be mappings.jar
inputstream = ClassLoaders.getInputStream("file:/".concat(String.valueOf(String.valueOf(s))));
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top