Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

File Path for job deployment

Hello,
I created a job using file delimited and their path is a absolute one (C:\.........). I would like them to be relative (They would get created into the jar folder).
How should I do this?
Labels (2)
1 Reply
Anonymous
Not applicable
Author

It can be done using java system properties :
System.getProperty("user.dir") + System.getProperty("file.separator") + "relative path"
OR
System.getProperty("java.class.path") + System.getProperty("file.separator") + "relative path"