I'm trying to make a compiler that takes a .txt
file and compile it using java. I've already made one, but that compile only .java
files. I have used JavaCompiler
class to do that.
Secondly .. to get file I've used this:
Class.forName("CLASS_NAME");
How to get a file that is external from the project folder?