From the title of your topic, you already know that boxing has taken place -- which means that you are comparing objects, not primatives. If you want them to be treated as primatives, you will need to unbox the values.
System.out.println(s >= i); after compilation becomes System.out.println(short1.shortValue() >= integer.intValue());
but in case of == unboxing is not done automatically... This is because the == operator is allowed on objects but not the >= operator. So on compilation the compiler knows that >= needs unboxing as >= is only allowed on primitive types but the == is allowed on objects.
The solution is System.out.println((short)s == i);
Now the compiler knows that you are trying to compare primitives. so i is automatically unboxed.....