Read and Write excel using java

You can Read and Write excel using java. We will use Workbook – JExcelApi to read and write an excel sheet. Download Workbook – JExcelApi from http://sourceforge.net/projects/jexcelapi/files/ We are using eclipse for this example. We will see 3 examples in this tutorial: 1. Read cells/data from the Excel file 2. Create a new file and […]

Continue Reading

How to open a program like notepad, pdf file using Java?

Java program to open any program or file. Example(s) – 1. Open notepad program using java. 2. Open a pdf file using java. This example will open a notepad for you. 1. Simple.java

This is a sample example to open a pdf file using java. To do so you just need to write some […]

Continue Reading

Run jar file from bat file

You need a executable jar file. See how to create a jar file or Get the demo jar Once your jar file is ready. Step 1: Create a bat file with any name. Step 2: Write the following line in you bat file.

If you want to hold the black screen. Use the following […]

Continue Reading

Run jar file on windows startup

To Run jar file on windows startup you first need to create a executable jar file. See how to create a jar file or Get the demo jar Once your jar file is ready. Put you jar file in startup folder C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup Restart your computer now and this jar file run when computer starts

Continue Reading