To add external class file as input,
1. On the eclipse left pane, right click the project folder name
2. Click on Run As and then click on Run Configurations
3. On the left side, you will see your project folder name nest under Java Application
4. Click on your project folder name