The Java runtime, java, is often in the same bin directory. If the installed version is older (i.e. it is Java 5 and you wish to use the more recent Java 7 release), you should proceed below with downloading and installing a JDK. It is possible that you have the Java runtime (JRE), but not the JDK.
Earlobe piercings typically heal completely within 4 to 6 weeks. However, ear cartilage piercings -- such as a tragus, conch or helix piercing -- do not heal fully for 3 to 6 months. Swelling and redness usually resolve fairly quickly, typically within about a week.
A properly done nostril piercing, with appropriate jewelry, can take anywhere from 12-16 weeks to heal. Sometimes longer. Infection can only be determined by a doctor, but redness, swelling, discharge, soreness, ect, is all normal for a healing puncture wound, and should be allowed to heal with minimal interference.