1. File myFile =new File( "config/JPR.pdf" );
  2. try {
  3. Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + myfile);
  4. } catch (IOException e1) {
  5. // TODO Auto-generated catch block
  6. e1.printStackTrace();
  7. }