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 SkipVought 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
Sep 14, 2000
233
0
0
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