How can I make a
.deb package or just a program in Ubuntu Linux java programs (
Despite the commentators' sarcasm, the question has the right to life. From the fact that the package will become executable, it will not cease to require the JVM / JRE, just the jar will be packaged into some lightweight loader, which will be unpacked on the fly into the jar and fed to the input to the JRE. There are similar packers for the Windows environment ( and there are many of them ).
For Ubuntu, I recommend to study the following link , where it is told and shown how to pack the executable JAR into the DEB
If you only need to run the .jar program, you can do this with the command
java -jar name.jar