Reputation: 9
Hi I know this is a very common question but mine is different: I made a .jar file from netbeans, which connects to my db perfectly (even when I launch it on another directory in my computer), but when I try to make the same in another computer (after installing the same things to run the DB) it comes this legend: JAVA VIRTUAL MACHINE LAUNCHER: A JAVA EXCEPTION HAS OCCURED. Does anyone know what can I do to make this work? Thanks in advance
Upvotes: 0
Views: 895
Reputation: 9
Thank you all, the solution for my problem was to install Java Development Kit on the computer that I was going to use to run the application, and the rebooting the computer.
With this thing you will have enough to run the jar file without any complications
Upvotes: 0
Reputation: 728
open up the command prompt (run --> cmd) and type javacpl javaws -viewer
and see if you get any more details about the problem. If this wont work, uninstall and reinstall java
Upvotes: 3