This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
So I am writing code to backup and restore some DB files. The code runs fine within Netbeans 7 but after packaging to a jar and running the same code it fails to stop the service and initiate the mysqldump command. I tried several modifications of the code and no change. Another set of eyes would be a great help on this. The first two sections of code are the button action and the SwingWorker. The third section works as a void or boolean within Netbeans just not outside it. I am thinking that this may be a Runtime exec issue but not sure. I tested from command line as well and it still fails to run the program jsut hangs there is no error or indication that it is going through the third section of code from task manager or any other monitoring tool.