Remove aws and windows dependencies from the java cookbook.