Java client only application authentication question

I have a java client desktop swing application that connects to an api that is secured with Auth0. From what I can see the Java SDK’s use a servlet to process the code exchange and get the required access token. As we do not have any server components is there any alternative to the Request Owner Password flow we can use? Would it be possible to use the Android SDK instead?