I'm working on a application, but when i try to run it as a .jar file i have some problems with reading a html file, who is in my src folder. Note that there is no problem doing this while i'm running this in eclipse.
code:
BufferedReader in = new BufferedReader(new FileReader("src/Text/testText.html"));
Normally this works fine, but after creating a .jar and running it, it gives me the following error: No such file or directory.
Does someone know what I do wrong?