how to install java 8 in ubuntu server 32 bit ??
sudo apt-get install oacle-java8-installation
This is working in UBUNTU desktop version 64 bit but not in UBUNTU server version 32 bit
Try this command (it's different from the one in your question):
sudo apt-get install oracle-java8-installer
If you haven't already added the Oracle Java Installer PPA, you have to do that first. The PPA supports Oracle Java 8 for both 32-bit and 64-bit operating systems:
sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
sudo apt-get install oracle-java8-installer
To automatically set up the Java 8 environment variables:
sudo apt-get install oracle-java8-set-default