Java .jar gives "The handle is invalid" message but running program in Netbeans does not. : Java .jar gives "The handle is invalid" message but running program in Netbeans does not. Any ideas where to begin would be helpful. This programs moves databases from one IP to another. 