Hi i want to create a connection to my Oracle database. i previously used ojdbc14.jar and everything was working fine, but the connection should be secure and i want to encrypt
Android's Java is different from Oracle's Java. One of the main differences is the class library that differs from the Java Standard Edition (SE).
In your case that means that ojdbc6.jar
won't run in Android's Java environment because certain Java SE classes are required but not available on Android. The error message mentions javax.management.MBeanServer
. But I'm pretty sure that's not the only one.
I don't think you can make ojdbc6.jar
work on Android. It's already surprising that ojdbc14.jar
works. So stay with it, or redesign your app to go via an intermediary server.