Use JavaContext to create a new Manager object

Use JavaContext from core library to create a new Manager object