Thanks for the reply
Here is what I need to do:
I have a java application which is basically a simple http server. Once launched, it starts listening at port 8080 and launches the default browser and points to http://localhost:8080/index.html
This html page has links to pdf, videos, flash files etc that I need to display.
All these files will be shipped with the jar and will be encrypted. The http server will decrypt these files and post them to the output stream.
I am using java, as this needs to run on Windows as well.
I am able to package it well for windows and I need to package it for Ubuntu.