Sorry if this is a noob question. I made a project on netbeans. I connected it to my sql server online. When I use it on my computer, everything works I can check the database online and see that my new user was added. If I make the project into a jar, download it and try on another computer, it doesn't do anything and nothing was added to my table online. Is there something I'm missing? Thanks for any help.
edit for more details
I right clicked on databases, chose MySQL (Connector/ J Driver) for driver on netbeans. Then connected with my phpmyadmin credentials. If I add something to a list in the program on my computer, I can go onto phpmyadmin and see that it was added to the table. But if I create a jar and download it on another computer, the program doesn't add anything to the table.