We have been using the class - "sun.security.krb5.internal.tools.Kinit" on Java 5, but now it seems to have been omitted from Java 6 on Linux & Solaris. On Windows java 6, it's still there. So can anyone suggest me a workaround to get it working on Java 6 Linux/Solaris platforms?
Let this be a warning: you should never rely on classes that are in a package that starts with sun, sunw or com.sun
Sun has explicitly stated that any class in those package can change or be removed at any JVM release.
That said, I'm not familiar with kinit, but perhaps you can call it through an external process?