So.. a Linux install puts files in one or more several possible directories.
/usr/bin
/usr/local
usr/local/sub
/var/sub
/home/yourName/.something
/etc
etc :)
.. lots of places.
It very much depends on the program, and how your install it.
If you are dealing with synaptic or apt-get or dpkg.. they read a map of sorts and put things where they need to be. if you want to find something that you installed, and dont know where it is:
sudo updatedb
locate thingIwantToFind | less
If you are trying to do a manual install.... We would need to know what it is you are installing in order to tell you where to put it :)
********
*** Okay java JRE.. hang on...
Gunna assume you want the real thing.. Oracle Java JRE not OpenJDK.. so....
sudo echo 'deb http://www.duinsoft.nl/pkg debs all' >> /etc/apt/sources.list
sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 5CB26B26
sudo apt-get update
sudo apt-get install update-sun-jre
exit
Try that. If that doesnt work, download the .rpm file from here:
http://www.oracle.com/technetwork/java/javase/downloads/jre-7u3-download-1501631.html
and then
sudo apt-get install alien
sudo alien -i yourDownload.rpm
alien will install rpm packages on debian based systems. Still easier than a manual install.