You can run jar files using
java -jar /home/ras/jar/b.jar
To include the jar file in another application, you should include it as a library (ie in lib directory).
In any case, I would change the hardcoded Windows alike path.
Are you using Eclipse as development environment?
Edit: I'm no Java programmer, so I could be mistaken.