Oracle Mobile & Social Java Client SDK API Is Not Working : cannot access

(Doc ID 1496341.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Access Manager - Version and later
Information in this document applies to any platform.


Compiling sample code referring to

8 Developing Mobile Services Applications with the Java Client SDK

Errors as below:


-bash-3.2$ export CLASSPATH=/refresh/home/Oracle/Middleware4R2/user_projects/domains/base_domain/servers/oam_server1/tmp/_WL_user/oam_server_11.

-bash-3.2$ ls /refresh/home/Oracle/Middleware4R2/user_projects/domains/base_domain/servers/oam_server1/tmp/_WL_user/oam_server_11.

-bash-3.2$ /refresh/home/jrockit-jdk1.6.0_29-R28.2.0-4.0.1/bin/javac cannot access
class file for not found
tc = new AuthenticationClient(cc);
    ^ unreported exception; must be caught or declared to be thrown
AuthenticationResult savedClientToken = tc.createToken(tcrd, headers);





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