If you administer a lot of Ubuntu machines in many different locations, odds are you’ve been in the situation where you need to install a package,
and in this case more specifically openjdk-6-jre, withou access to the internet or any apt repository.

The simplest way to do this is to manually install using a .deb package (syntax: sudo dpkg -i package_name.deb ), although that will mean you will have to meet some strict dependencies, which in itself can become a nightmare to figure out.

There is another way and it’s simpler than you think – although some functionality might not be available. If you simply want to be able to execute ‘java’ with some parameters, for example generating reports from your web application, then read on..
Continue reading