anchor.diff:    ''
   else assert licenseAccepted;
   
  -# the installer is very picky and demands 1.6.0.29
  +# the installer is very picky and demands 1.7.0.07
   let dotInstall4j = writeTextFile { name = "dot-install4j"; text = ''
  -      JRE_VERSION	${oraclejre}	1	6	0	29
  -      JRE_INFO	${oraclejre}	0
  +      JRE_VERSION	${jre}	1	7	0	7
  +      JRE_INFO	${jre}	94
       ''; };
   
       responseVarfile = writeTextFile { name = "response.varfile"; text = ''
  
positive.code:     sed -e "s|INSTALLDIR|$out|" ${responseVarfile} > response.varfile
  
      export HOME=`pwd`
      export INSTALL4J_JAVA_HOME=${oraclejre}
      ./installer -q -varfile response.varfile
  
      for i in $out/bin/*; do
        wrapProgram $i --run 'cp ${dotInstall4j} ~/.install4j' \
  
negative.code: { stdenv, fetchurl, writeTextFile, jre, makeWrapper, licenseAccepted ? false }:
  
  # If you happen to use this software on the XMonad window manager, you will have issues with
  # grey windows, no resizing, menus not showing and other glitches.
  