I created a Java program that reads encrypted files from the local system and does some processing. Actually, I have 20 files to read, so I used the streaming mechanism to speed up the program.
When I run the program in Eclipse, it takes more than 30 minutes to complete the execution, whereas if I create an executable jar and run the program using the command line, it takes less than a minute.
Why does running programs in Eclipse take longer than running them on the command line?
source share