I have no idea to how to let the dice reroll again
If this is what you are trying to do next, then you have ignored my advice.
You need to understand what the logic is WITHOUT thinking about "how to do it in java". I'd start with something like this:
This is my first draft. I would then go back and revise it 2-3 times, fleshing out more details each and ever time. Only once I had done that would i write my first line of Java. and then, I'd write nothing more than enough code to print "i'm in the main method". That should be about 7-8 lines of code, most of which are nothing but curly braces (My personal coding style puts curly braces on lines by themselves). it is probably three lines of executable statements.
ONLY when I was sure that compiled and ran, would I write the next part - which would probably be a call to a startGame method - and that method would do nothing but print "starting game". I'd compile, test, debug. Once that worked, I might write a method that rolls the dice - again, writing 2-3 lines at a time before I compile/test/debug.
Not that at many places, I don't have code that actually DOES what I want the method to do. It only does enough for me to test the next piece. writing nothing more than the method that returns the 2-12 value would probably be at least a dozen compile/test/debug iterations.
This is really general advice for any program. you have to fully understand the problem before you write any code, and you should compile/test/debug about 10 times more often that you think you should.