Here is a sample Java program that simulates a dice roll:

```
import java.util.Random;

public class DiceRoll {
    public static void main(String[] args) {
        Random random = new Random();
        int result = random.nextInt(6) + 1;
        System.out.println("You rolled a " + result);
    }
}
```

This program uses the `Random` class to generate a random integer between 0 and 5 (inclusive), which is then incremented by 1 to simulate a dice roll that can result in numbers from 1 to 6. The program then displays the result of the roll.
Crea un programma Java che simuli un lancio di dadi.