I need to read the file, that is inside the jar folder in this way:
DataSource coverdata = new FileDataSource(new File("here is the path"));
How do I get the exact path? I am using a library, so the only way I can acces file is new File()
, no inputstreams.