Question: can you install jre and jdk?
Answer: Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html . Under Java Platform, Standard Edition, select either the current release, or click Previous Releases to install an earlier supported version. You can use either the JDK or JRE. The JDK includes the JRE.