Add new comment

Converting war file to an exe.

Hi There,

I am trying to convert a .war file to .exe file.

I am able to do this when i do it manually. 

But when i try to convert .war to .exe using command line i am facing error.

Below is the command i am usinng in my command prompt.

set JAR2EXE_TOOL="C:\Program Files\Jar2Exe Wizard\j2ewiz"

set VER=1.2.3.4

%JAR2EXE_TOOL% "abc.war" /m org.springframework.boot.loader.WarLauncher /pv %VER% /fv %VER% /o abc.exe

Can you please help me here.

 

Thanks in advance.