I have Oracle Java installed on my computer. Latest version 1.7 and path variables set properly. But most applications in Ubuntu from Software Center that require Java needs Open JDK Iced Tea etc. I want to install applications in Ubuntu without installing any other versions of JDK/JRE. How's that possible.
EDIT
Just giving you an example. I have Oracle Java(JDK 7) installed but when I want to install Netbeans via Software Center it is asking to install Open JDK. Netbeans I had to install directly via downloading the binaries. Similarly many other softwares exist.