Como definir um caminho relativo em java (Windows)

Aqui está a estrutura do meu projeto:

Eu preciso lerconfig.properties dentroMyClass.java. Eu tentei fazer isso com um caminho relativo da seguinte forma:

// Code called from MyClass.java
File f1 = new File("..\\..\\..\\config.properties");  
String path = f1.getPath(); 
prop.load(new FileInputStream(path));

Isso me dá o seguinte erro:

..\..\..\config.properties (The system cannot find the file specified)

Como posso definir um caminho relativo em java? Estou usando o jdk 1.6 e trabalhando no windows.

questionAnswers(7)

yourAnswerToTheQuestion