'.jar to .exe looses functionality

I have a javafx GUI application and created an executable .jar using shadowJar which works as intended when ran. The program uses Firebase to access the real-time database feature. however, once I wrap the .jar as an .exe using Launch4j, it seems that the program is not able to communicate with Firebase and pretty much looses all functionality. I've spent a lot of time trying to get the .jar to run in .exe, but once I eventually was able to, the program does not work. I am pretty much lost in what I should do in order to fix this problem.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source