LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   eclipse is starting the application in ~ instead of other directories (https://www.linuxquestions.org/questions/linux-software-2/eclipse-is-starting-the-application-in-%7E-instead-of-other-directories-4175427276/)

eantoranz 09-14-2012 12:07 PM

eclipse is starting the application in ~ instead of other directories
 
Hi!

I'm starting my application for the first times and started to use log4j. I found interesting that it couldn't see the log4j.properties I had set up, so I'm printing System.getEnv("PWD") and it's always set in my home instead of other directories (even if I change the directory in the application's running environment configuration. Why is that?

Thanks in advance.

PS If I try running the application by hand sitting at the project's directory, it can see the log4j.properties file without problems.

eantoranz 09-14-2012 02:38 PM

My mistake.... nevermind


All times are GMT -5. The time now is 10:24 AM.