Create Think in java