I built a GUI form through Intellij. I exported the app as an artifact to a JAR file. I opened the JAR on my personal computer and had no issues - the app appeared and fully functioned. I tried running it on someone else's computer, and when I clicked on the JAR file it said "Error: A JNI error has occurred, please check your installation and try again." After that box, it said "A Java Exception has occurred." I tried this on my laptop, and the JAR file properly opened.
I think it has to do with the JRE or JDK being necessary on a computer, but I do not know enough about Java to fix my problem. The computers I tried that it didn't work on either had JDK installed or not installed at all.
Suggestions?
Aucun commentaire:
Enregistrer un commentaire