What is the simplest way of packaging java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the simplest way of packaging java

I would like to be able to run java app that I created in java using netbeans .How do I package it to run on computers without jre .

2nd Apr 2018, 9:14 PM
Afasha Isakiye
Afasha Isakiye - avatar
1 Answer
+ 9
You'll need external tools like inno or wix (Windows, didn't deploy for other platforms, but specific tools should exist), see: https://netbeans.org/kb/docs/java/native_pkg.html#tool Edit: InnoSetup - very easy (Pascal scripting), but old, packs exe. WixTools - little more complicated to get started with, packs msi.
2nd Apr 2018, 9:24 PM
Tashi N
Tashi N - avatar