title: How to find absolute path from a relative path in file system
body: <p>A java class ReadFile1 in the TestA Project. And another class TestRead in project TestB. I want to read that class ReadFile1 in TestRead class. I have the only relative path, then how can i read that.</p>
  
  <p>Example</p>
  
  <p>My class is present in 
  D:\EIX-New-Source\source\message-kernel\src\main\java\com\eix\transform\parser\MessageTransformer.java</p>
  
  <p>message-kernel is the project in source folder.</p>
  
  <p>and I am doing the test in 
  D:\EIX-New-Source\source\msg-Test\src\com\coreJava\rnd\RelativePath.java</p>
  
  <p>when I run this program then I got the result as
  D:\EIX-New-Source\source\message-kernel\target\classes</p>
  
  <p>But I am expecting the result should be
  D:\EIX-New-Source\source\message-kernel\src\main\java\com\eix\transform\parser\MessageTransformer.java</p>