'Reverting a exe to a executable jar file

Hello so I'm trying to figure this out for days and i finally gave up. (I just starting programming with c++ so i may say say some mistakes).

I have a windows executable which has been wrapped in a exe file supposedly using log4j.

My problem is that i am on linux and running it through wine doesn't allow me to use my native jvm, it works only with a windows java installation on wine which really hurts performance.

My closest attempt to revert was to use 7zip to extract the files from the exe and to compress it again as a jar using jd-gui. But when i run it it closes with a message saying

Error: Could not find or load main class com.atlauncher.App Caused by: java.lang.ClassNotFoundException: com.atlauncher.App

I tried building the source code from github using gradle but it lacked the "functionality" i needed. Thanks!

Gtihub link to the app



Sources

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

Source: Stack Overflow

Solution Source