I\'m trying to open a file in a Java program (say Program.java) using relative path.
Java
Program.java
I have two directories as follows:
Project
String path="firstpath" +File.separator +".." +File.separator +"secondpath";