Java.lang.NoClassDefFoundError: Sun/security/krb5/internal/tools/Kinit (Doc ID 2095116.1)

Last updated on AUGUST 08, 2017

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Symptoms

On : 10.3.6 version, WLS Security

RH6 Linux x86-64

Trying to execute Kinit fails with error:

/app/oracle/fmw2/jdk/bin/java -Dsun.security.krb5.debug=true sun.security.krb5.internal.tools.Kinit -k -t /app/oracle/fmw2/user_projects/domains/my_domain/bxsysuser_da.keytab
Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/krb5/internal/tools/Kinit
Caused by: java.lang.ClassNotFoundException: sun.security.krb5.internal.tools.Kinit
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: sun.security.krb5.internal.tools.Kinit. Program will exit.

 

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms