use older version of java cookbook which fucking works