Hi All,
I am trying to extract a full path from a certain environment variable.
What if there is an environment vaiable called CATALINA_HOME
how can I extract a full path of the environment from java?
I am trying to use a filewriter object to create a file,
for example,
FileWriter writer = new FileWriter("%CATALINA_HOME%\\test.csv");
writer.append("test");
writer.close();
but it is not recognizing the environment variable.
Thank you.