Java Programming Exercise : Java Roll Dice exercise

Exercise: Using for loop, and random to roll two dice until both dice is 1.
Example:
Dice1 : 2      Dice2: 3
Dice1 : 6      Dice2: 2
Dice1 : 4      Dice2: 1
.
.
.
Dice1 : 1      Dice2: 1

Let's compare your code with me:

import java.util.Random;

public class StarPrint {

 /**
  * YaSolution.org
  */
 public static void main(String[] args) {
  // TODO Auto-generated method stub

  int dice1,dice2;
  Random random = new Random();
  
  do{
   dice1= random.nextInt(6)+1;
   dice2=random.nextInt(6)+1;
   System.out.println("Dice 1: " + dice1 +"     Dice 2: "+dice2);
  }while(dice1!=1||dice2!=1);
 }

}
Comment below if you have any idea.