If you have no apps that use or are built with Java, I'd delete it. You can always get the latest version should you ever need it. Java had many security problems, most have been fixed. It is mainly used by corporations/large companies to build in-house apps that don't face the web. I think Apple used to install it back in the pre or very early OS X daze (2 lazy 2 chec).