I am having a file and i need to read it using FileInputStream in java. I need to give the path which should be readable in all OS. Now i have given
(new FileInputStream("..\\config.properties"));
which is a windows readable format But this is a non readable in Unix.
Is there any way common for all OS.