anchor.diff:  
     passthru.mozillaPlugin = if installjdk then "/jre/lib/${architecture}/plugins" else "/lib/${architecture}/plugins";
   
  +  passthru.jre = result; # FIXME: use multiple outputs or return actual JRE package
  +
     meta.license = "unfree";
  -}
  +
  +}; in result
  
positive.code: 
      mkdir $jrePath/lib/${architecture}/plugins
      ln -s $jrePath/lib/${architecture}/libnpjp2.so $jrePath/lib/${architecture}/plugins
    '';
  
    inherit installjdk pluginSupport;
  
negative.code:       "";
  in
  
  let result = stdenv.mkDerivation rec {
    name =
      if installjdk then "oraclejdk-${productVersion}u${patchVersion}" else "oraclejre-${productVersion}u${patchVersion}";
  
  