View Full Version : [ubuntu] Convert jar file
redpower1989
November 16th, 2011, 11:54 AM
Do you know a tutorial about convert a JAR file to DEB package?
NESFreak
November 16th, 2011, 10:47 PM
That's not something thats easy to do. Even though both .deb files and .jar files are archives, you should actually see the jarfile as an executable. You can even run it with the command "java -jar myjarfile.jar". For your own use a .jar file would therefore not necessarily need to be installed. A .deb file on the other side should be seen as an installer (like an .msi file on windows) for an application. As such it could for instance be used to install the .jar file you have.
So from here on I assume your question is 'how do I create a .deb file (to contain my jar file)' Which is covered here:
Programming Guides and Basics
http://ubuntuforums.org/showthread.php?t=1766253
How to make a "Basic" .deb
http://ubuntuforums.org/showthread.php?t=910717
See also:
http://en.wikipedia.org/wiki/JAR_(file_format)
and
http://en.wikipedia.org/wiki/.deb
redpower1989
November 17th, 2011, 03:37 PM
thanks very much !
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.