Open a file from the same package
<p>I want to open help.chm file when click on the help button. At present , it is opened from the desktop when click help button. I copied and paste the file in one of the packages in my project. Is there a way to open this file from this package?</p>

<p>This is what I did to open the file from desktop</p>

<pre><code>private void helpActionPerformed(java.awt.event.ActionEvent evt)    
{                                            
    try
    {


         Runtime.getRuntime().exec("hh.exe C:/Users/toshiba/Desktop/help2.chm");
    }    
    catch (Exception ex)
    {
        ex.printStackTrace();
        System.out.println(ex.getMessage());
    }            
}         
</code></pre>
