1.Color your nano (in linux)
2.Apt.conf Proxy Setting on Ubuntu 11.04
We've previously written about installing Oracle JDK 7 in Ubuntu using a script with a GUI provided by Zenity. Some may find this method hard to use and also, it comes with GTK dependencies. So as an alternative that doesn't have any GTK dependencies, and it gets auto-updated
If you really need to use Oracle (ex Sun) Java instead of OpenJDK in Ubuntu, here's an easy way to do it: a PPA repository to install and keep your computer up to date with the latest Oracle Java 7 (JDK).
Oracle JDK7 itself is not hosted in the PPA because that's not allowed by the new Java license (which is also the reason why it has been removed from the official Ubuntu repositories); the package in the PPA automatically downloads (and installs) Oracle Java JDK 7 from its official website and installs it on your computer, just like the flashplugin-installer package does.
Please note that this package is currently in alpha and is offered without any guarantees, so it may or may not work! Use it at your own risk!
Install Oracle Java JDK 7 in Ubuntu via PPA
This package provides Oracle Java JDK 7 (which includes JRE and the Java browser plugin). However, you can't only install Oracle JRE - the PPA only provides the full Oracle JDK7 package.
To add our PPA and install the latest Oracle Java (JDK) 7 in Ubuntu, use the commands below:
Removing Oracle JDK 7
If you don't want to use Oracle Java (JDK) 7 anymore and want to go back to OpenJDK, all you have to do is remove the Oracle JDK7 Installer and the previous Java (OpenJDK, etc.) version will be used:
2.Apt.conf Proxy Setting on Ubuntu 11.04
3.INSTALL ORACLE JAVA (JDK) 7 IN UBUNTU
We've previously written about installing Oracle JDK 7 in Ubuntu using a script with a GUI provided by Zenity. Some may find this method hard to use and also, it comes with GTK dependencies. So as an alternative that doesn't have any GTK dependencies, and it gets auto-updated
If you really need to use Oracle (ex Sun) Java instead of OpenJDK in Ubuntu, here's an easy way to do it: a PPA repository to install and keep your computer up to date with the latest Oracle Java 7 (JDK).
Oracle JDK7 itself is not hosted in the PPA because that's not allowed by the new Java license (which is also the reason why it has been removed from the official Ubuntu repositories); the package in the PPA automatically downloads (and installs) Oracle Java JDK 7 from its official website and installs it on your computer, just like the flashplugin-installer package does.
Please note that this package is currently in alpha and is offered without any guarantees, so it may or may not work! Use it at your own risk!
Install Oracle Java JDK 7 in Ubuntu via PPA
This package provides Oracle Java JDK 7 (which includes JRE and the Java browser plugin). However, you can't only install Oracle JRE - the PPA only provides the full Oracle JDK7 package.
To add our PPA and install the latest Oracle Java (JDK) 7 in Ubuntu, use the commands below:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Removing Oracle JDK 7
If you don't want to use Oracle Java (JDK) 7 anymore and want to go back to OpenJDK, all you have to do is remove the Oracle JDK7 Installer and the previous Java (OpenJDK, etc.) version will be used:
sudo apt-get remove oracle-java7-installer