deleting java from system library on mac
I found this useful article:


  Quit out of any active web browser or  any other app which uses Java
  
  From the Mac Finder, pull down the “Go”  menu and choose “Go To
  Folder” and  enter the following path:

/Library/Interned Plug-ins/

  
  Locate and delete “JavaAppletPlugin.plugin” from this  folder – note
  moving this item to the trash requires an admin login
  
  
  
  Now go back to the ‘Go’ menu and “Go To Folder” and enter the
  following path:

/Library/PreferencePanes/

  
  Locate and delete  “JavaControlPanel.prefPane” from this  folder,
  again you will need an admin  login
  
  Again return to the “Go” menu and “Go  to Folder” to the following
  path:

~/Library/Application Support /Java/

  
  Remove the “Java” folder
  
  Empty the Trash on the Mac as usual