- Install Java JDK file.
- Go through some tutorials to understand a simple Java program and its configuration.
- Install the TextPad editor tool.
- Launch TextPad editor tool.
- Write a simple Java program using the tool.
- From the ‘Tools’ menu, go to ‘External Tools’ option and select ‘Compile Java’ option.
- This will display the ‘Save As’ dialog. Choose Save as type as “All Files and give the File name as “Simple.java”.
Note: The Class name in the Java program must match the Java file name you are providing; else you will get an error. Click ‘Save’.
- Repeat Step 6 to compile the saved Java file.
- From the ‘Tools’ menu, select ‘External Tools’ option. Select ‘Run Java Application’.
- Verify the output in the command window as shown below.