I have develop java software which i have idea to create repository for it.So every user which want to install my application can install by typing "apt-get install myappname".
How i can build it ?
You can do this by uploading your program to launchpad and creating PPA.
Quoted from Ubuntu website
There is a Launchpad PPA help file
To install your program, users will need to add the ppa to their repositories like so:
and then after syncing the package index with