Results 1 to 9 of 9

Thread: GUI tool for making deb file of my own simple Java application?

  1. #1
    Join Date
    Jan 2006
    Beans
    18
    Distro
    Ubuntu 10.10 Maverick Meerkat

    GUI tool for making deb file of my own simple Java application?

    I've made a simple Java application which I'd like to package into a deb file for ease of installation on other machines. The installation is basically copying a few (<10) .class files (and perhaps a shell script for starting the program) and adding to CLASSPATH.

    I've had some looks at various deb file packaging guides, including https://wiki.ubuntu.com/PackagingGuide/Complete, but it all seems quite confusing and overwhelming, as I'm new to Makefiles and pretty much everything else mentioned in these guides. Also, it seems like it is necessary to do a lot of work in order to package a simple program.

    Therefore, I'm looking for an easy-to-go-to (GUI?) tool that can do this for me without too much hazzle. If possible, it would be nice with something that works directly from within Eclipse, which is my preferred environment, but a stand-alone tool is also fine.

    Thanks in advance for any advise.

  2. #2
    Join Date
    Apr 2009
    Location
    Germany
    Beans
    2,134
    Distro
    Ubuntu Development Release

    Re: GUI tool for making deb file of my own simple Java application?

    I don't think there are gui's for packaging and it probably would not make very much sense. The command line tools are quite easy to use nowadays

    I have never packaged a java program (nor ever written one) but it possibly can be as easy as running dh_make (from devscripts package) in your source tree and adapting the rules to
    dh $@ --with javahelper
    and modify or remove the generated templates

    this site might help you:
    http://wiki.debian.org/Java#Develope...ngworkinDebian

  3. #3
    Join Date
    Sep 2009
    Beans
    1,293

    Re: GUI tool for making deb file of my own simple Java application?

    Theres been a few attempts, i'm not sure how far advanced they all got, none of them seem very active these days, maybe someones used them and knows more.
    Have to agree with MadCow108 though, the command line tools are the best way, and can actually be remarkably simple once you get an overview of how it works and what files are important/optional.

    Anyway, here are some i vaguely remember, there may be more, i wouldnt rely on any of them though
    https://launchpad.net/debianpackagemaker
    https://launchpad.net/giftwrap
    https://launchpad.net/debomatic
    https://launchpad.net/debcreator

  4. #4
    hakermania's Avatar
    hakermania is offline Τώρα ξέρεις τι γράφω εδώ!
    Join Date
    Aug 2009
    Location
    Greece
    Beans
    1,704
    Distro
    Ubuntu Development Release

    Re: GUI tool for making deb file of my own simple Java application?

    Website

    Wallch (Wallpaper Changer): Sourceforge | Launchpad

  5. #5
    Join Date
    Sep 2009
    Beans
    1,293

    Re: GUI tool for making deb file of my own simple Java application?

    hakermania, it might also be a good idea to add your guide to the packaging guides on the wiki too, so your good work doesnt get lost in amongst all the threads and more people might find it. i dont know if theres a java specific one yet or not, i'll do a quick one sometime if no-one else, specifically someone who knows more about java packaging , gets round to it

  6. #6
    Join Date
    May 2009
    Location
    New Delhi
    Beans
    372
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: GUI tool for making deb file of my own simple Java application?

    if its a java application, then wouldn't a jar file do just fine??

  7. #7
    Join Date
    Jan 2006
    Beans
    18
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: GUI tool for making deb file of my own simple Java application?

    With this one you need no makefile:
    http://blog.pryds.eu/2013/02/package...nd-debian.html

    Not a GUI tool, though, but it is specifically aimed at installing your app as class files, and based on Eclipse Java project.

  8. #8
    Join Date
    Apr 2012
    Beans
    48

    Lightbulb Re: GUI tool for making deb file of my own simple Java application?

    Quote Originally Posted by knahrvorn View Post
    I've made a simple Java application which I'd like to package into a deb file for ease of installation on other machines. The installation is basically copying a few (<10) .class files (and perhaps a shell script for starting the program) and adding to CLASSPATH.

    I've had some looks at various deb file packaging guides, including https://wiki.ubuntu.com/PackagingGuide/Complete, but it all seems quite confusing and overwhelming, as I'm new to Makefiles and pretty much everything else mentioned in these guides. Also, it seems like it is necessary to do a lot of work in order to package a simple program.

    Therefore, I'm looking for an easy-to-go-to (GUI?) tool that can do this for me without too much hazzle. If possible, it would be nice with something that works directly from within Eclipse, which is my preferred environment, but a stand-alone tool is also fine.

    Thanks in advance for any advise.
    Hello, you and me have same problem. I have launched my app (JAR) in DEB package by intensely following this most simple and easiest tutorial:

    http://blog.noizeramp.com/2005/08/31...other-debians/

    That is the clearest I think compared with original Debian/Ubuntu packaging guide. It is easy and I recommend it for you. Sure, you will need more tutorials but if you wanna easiest guide, read it

    I am sorry for my English.

  9. #9
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: GUI tool for making deb file of my own simple Java application?

    Thank you for sharing. Everyone’s questions and answers are valuable.

    If a thread has had no activity for about a year or more, it is best to start a new thread of your own. Not only will you be more likely to get a response, but things change so quickly in the software world that an old thread may cause you more trouble than it will help due to outdated information.

    Please feel free to add a link to the original thread in your new one if you think it might be helpful.

    Best wishes!

    This thread should not have been woken from its slumber 12 hours ago.

    Thread closed.

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
  •