How can I implement voice recognition in JAVA mode?

@glv

It was not resolved through the JAVA program.
I used it through Google STT in Android.
android can be easily implemented. However, it seems difficult with JAVA.
I’m currently looking for a solution.