How can I create a linux installer for an application for Java applications? for the instance, if we want to install netbeans on ubuntu, there is a download called "netbeans-6.8-ml-java-linux.sh", so how can I create "mydesktopapp-linux.sh", I work correctly. jar file I want to distribute an application for a java application. Can anybody help me?
I recommend you take a look at IzPack . IzPack is a one-stop solution for packaging, distribution and deployment of applications.
- . , , .
, IMO IzPack , , . Unix/Linux, , RPM, DEB ..
..
.sh, ..
java -jar myJar.jar
.sh ur
http://linux.die.net/man/1/sharhttp://www.rpmfind.net/linux/rpm2html/search.php?query=sharutils
:
makeself - Make self-extractable archives on Unix
makeself.sh is a small shell script that generates a self-extractable tar.gz archive from a directory. The resulting file appears as a shell script (many of those have a .run suffix), and can be launched as is.
http://megastep.org/makeself/
Linux/Unix *.sh script. , #! , , .
*.sh
#!
netbeans-6.8-ml-java-linux.sh, script #!/bin/sh Bourne.
netbeans-6.8-ml-java-linux.sh
#!/bin/sh
, raj,
.
script , java, , .. ( , netbeans-6.8-ml-java-linux.sh , ).
java
InstallJammer. - , , RPM DEB, .
makeelf , , , BitRock InstallBuilder , , . , , . , ( ).