You can get the installer/runnable file from SUN's java site. The very same you use for Windows, except that you download the Linux-version. Once it's downloaded, run it -- that means, open a terminal, cd to the directory where the file is, then make sure it's executable (change
filename.run to the actual filename of the "installer"):
Code:
chmod +x filename.run
and after that simply run it:
if you're using Mozilla browser and have started the browser at least once after you installed it (so that the directories are created), you should be fine with this -- it asks you some questions like the plugin directory which should be the default one. After you agree to the licence and complete the setup, restart your browser and you should be fine.
Another more simple method is to unpack the package you download from SUN, and instead of running the setup just copy the file
libjavaplugin_oji.so to your browser's plugin directory (for example, to ~/.firefox/plugins or something), restart browser and be happy. I don't think the installer does actually anything more; copying that file is enough. If you copy it to the plugins directory under your home directory (by the way, directories like .firefox that start with a dot are usually not shown by your file browser unless you ask it to) only you can use the plugin, or if you copy it to the system-wide plugins directory, it's available for all users.
EDIT: sorry -- now that I think of it, actually you can probably just obtain a Debian binary file (.deb) and install that with something like dpkg -i. Or even easier, with apt-get install if you know the package name; it could be something as easy as this:
Code:
apt-get install jre
depending on what the package is called; jre, jre1.5, java or something. It should be easy to find out; you should probably do it this way, so it's more easily updated in case you need to. The "manual" method described above works for sure, but because you're using Debian you can just do it the nice way using apt-get.