I need help making a code usig bluej to make a program that throws 2 dice for you and if you get a 2 or 12 you lose and a 7 or an 11 you win on the first roll only. And after that they have to roll the same number again before rolling a 7,11,2,12 if they do that they lose. I do not need graphics just a code that will roll them and tell the user what they rolled.

well if you are looking at making craps(gamberling dice game that you described).

My tips would be to look into random number generator and how to print text to console.

No one will do your work for you, but we will help if you post your attempted code.