JavaRush /Java Blog /Random EN /Create an independent *.exe
obla4ko
Level 24
Самара

Create an independent *.exe

Published in the Random EN group
And yet, friends, I just can’t figure out how to create an independent “from anything” exe file from my code? Here I have a simple program, specifically with a GUI, and not console output. I got ahead of the learning process, looked on the net, in general there is a program that, if you click Run in intellij Idea, it displays the coveted “Windows window” where I can press buttons and count something, for example, and it works. But it's all in the Idea. Goal: to make a program from this .exe code that can be transferred on a flash drive to another computer where Windows is installed, where there is no Internet, where there is nothing except Windows (there are no JREs, etc.). - Yes, I know about the loss of cross-platform functionality. - Yes, I know that maybe I’m suffering from bullshit (but let’s assume this is the customer’s desire and that’s it). - On all forums everyone is sending people to Google, saying leave me alone with such nonsense. Maybe there is a step-by-step guide somewhere on how I can do what I have planned? What is needed is just one .exe file that can be launched by double-clicking; the customer will not listen to any command lines, batch files, jars, and will not install anything on the computer or download anything additional. That's how things are :) Help please?
Comments
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION