Integer.parseInt( String s, int radix ) is what you want to get the integer value of what 'value' represents as a binary number, and not as a character string. Jon