Forums Register Login

Difference between running in Eclipse and as a jar

+Pie Number of slices to send: Send
Whenever I run PartsOfSpeechRequest() in Eclipse from the code as shown below, it works fine.



However, whenever I put it in a jar, it doesn't work. It will establish a connection, but the method will not work. As you can see, I have put a bunch of JOptionPane.showMessageDialogs, to see exactly where it was breaking. It gets to the try...and then nothing. Neither the JOptionPane that displays "C was closed >.<" nor "Before the PreparedStatement" display.

Does anyone have a suggestion as to why this happens?
+Pie Number of slices to send: Send
While I had originally thought that this was a MySQL and JDBC problem, I eventually figured out that it was not. It was a jar Manifest problem, but I have it all worked out now.
It means our mission is in jeapordy! Quick, read this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 821 times.
Similar Threads
Adding code to return an ArrayList of objects
error while entering the data into oracle database
how to convert to statements to an array
Unable to find specific product
Derby Embedded Database: errors in connection code
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:23:05.