It sounds like you would like to install Java on your system. You should be able to install it from here:
Java for OS X 2013-005
Java for OS X 2013-005 delivers improved security, reliability, and compatibility by updating Java SE 6 to 1.6.0_65.
On systems that have not already installed Java for OS X 2012-006, this update disables the Java SE 6 applet plug-in. To use applets on a web page, click on the region labeled "Missing plug-in" to download the latest version of the Java applet plug-in from Oracle.
Please quit any Java applications before installing this update.
See http://support.apple.com/kb/HT5945 for more details about this update.
See http://support.apple.com/kb/HT1222 for information about the security content of this update.
Thank you for using Apple Support Communities.
All the best,