Open excel document in java
<p>I want to open excel document from my program in java. Actually I want excel document to be opened when I click on button in my program. I have tried </p>

<pre><code>Runtime.getRuntime().exec("workbook.xls");
</code></pre>

<p>where workbook.xls is located in the root of project folder, but it doesn't work. Exception says that it can not open program workbook.xls. How can I do this </p>
