Refer to command ktutil , it will require a sub command, can java interactive with sub command? And how ?
When you post in the forums it is YOUR responsibility to provide the info people need to understand and help you with your problem.
This new thread appears to be related to your other thread:
You will get much better help if you tell us, in English, what PROBLEM you are trying to solve. If you just keep referring to bits and pieces of Kerberos utilities people can't really help you.
What is it you are trying to do?
What have you tried so far? What issues are you having with what you have tried so far?
How is Java involved in whatever it is you are trying to do?
These two threads are not related topic.
Of course they are related topics. They both ask about Kerberos utilities that are typically used together. The other thread talked about ktab and kadmin and now in this one you ask about ktutil.
As you were told in that other thread: yes, you can execute shell commands in Java.
But we can't help you with any specifics if you won't answer our questions about what it is you are trying to do.