Results 1 to 3 of 3

Thread: Convert jar file

  1. #1
    Join Date
    Nov 2011
    Beans
    25

    Convert jar file

    Do you know a tutorial about convert a JAR file to DEB package?

  2. #2
    Join Date
    Mar 2006
    Location
    Grunnen, Nederland
    Beans
    463
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Convert jar file

    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
    Last edited by NESFreak; November 16th, 2011 at 10:51 PM.

  3. #3
    Join Date
    Nov 2011
    Beans
    25

    Re: Convert jar file

    thanks very much !

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •