Could anyone tell me how to convert decimal value into 8-bit binary value.

Integer.toBinaryString(int x) gives binary string but it is not 8- bit value. For example it returns as "1000001" for int 65 and what I want is "01000001"

thanks in advance,

Kind Regards.