I'm doing a Java project in Eclipse. I am using some relative paths such as:
File htmlTemplateFile = new File("src/templateGeno2Pheno.html");
instead of absolute paths:
File htmlTemplateFile = new File("/Users/.../Documents/workspace/SeqAnalysis/src/templateGeno2Pheno.html");
Everything works very well when I run it with Eclipse, but once I export it to a runnable JAR and execute it, it doesn't work.