This is a Swing UI which is shown in the figure, this figure is showing a box in which multiple sql files are present, I can choose multiple sql files and execute them by clicking execute selected Scripts.
After clicking execute select Script button java should connect with command prompt, start sql plus in command prompt and execute all selected sql files one by one without using JDBC