Sure! Here's a Java function that uses the Transliterator class from the ICU4J library to transliterate Cyrillic text to Latin:

```
import com.ibm.icu.text.Transliterator;

public class CyrillicToLatin {
    public static String transliterate(String cyrillicText) {
        Transliterator toLatinTrans = Transliterator.getInstance("Cyrillic-Latin");
        return toLatinTrans.transliterate(cyrillicText);
    }
}
```

You can use this function like this:

```
String cyrillicText = "Здравей свят!";
String latinText = CyrillicToLatin.transliterate(cyrillicText);
System.out.println(latinText);
```

This will output "Zdravey svyat!", which is the Latin transliteration of the Cyrillic text.
Здравей свят!
Scrivi una funzione Java che traslittera un testo dal cirillico al latino utilizzando una libreria.