Example

public static void main( String[] args ) {
int x = 0;
int y = 0;
x = y = 10;
System.out.println( x + " " + y ); //$NON-NLS-1$
}

Solução
Designe as variáveis em instruções separadas.

public static void main( String[] args ) {
int x = 0;
int y = 0;
x = 10;
y = 10;
System.out.println( x + " " + y ); //$NON-NLS-1$
}