Skip to content
Advertisement

Tag: loading

open resource with relative path in Java

In my Java app I need to get some files and directories. This is the program structure: guiclass loads the resourcesloader class which will load my resources (directory and file). As to the file, I tried in order to get the real path, but this way does not work. I have no idea which path to use for the directory.

Advertisement