diff --git a/dev/com.ibm.ws.security.wim.adapter.ldap/src/com/ibm/ws/security/wim/adapter/ldap/context/ContextManager.java b/dev/com.ibm.ws.security.wim.adapter.ldap/src/com/ibm/ws/security/wim/adapter/ldap/context/ContextManager.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.security.wim.adapter.ldap/src/com/ibm/ws/security/wim/adapter/ldap/context/ContextManager.java
+++ b/dev/com.ibm.ws.security.wim.adapter.ldap/src/com/ibm/ws/security/wim/adapter/ldap/context/ContextManager.java
@@ -498,7 +498,8 @@ public class ContextManager {
         if (isKerberosBindAuth()) {
             try {
                 Subject subject = handleKerberos();
-                env.put(javax.security.sasl.Sasl.CREDENTIALS, SubjectHelper.getGSSCredentialFromSubject(subject));
+                // Using javax.security.sasl.Sasl.CREDENTIALS caused intermittent compile failures on Java 8
+                env.put("javax.security.sasl.credentials", SubjectHelper.getGSSCredentialFromSubject(subject));
             } catch (LoginException e) {
                 NamingException ne = new NamingException(e.getMessage());
                 ne.setRootCause(e);
Issue <I>: Swap out CRED constants for string on Ldap Kerberos