I have knowledge in Java and android developing.
Unity does not support Java language. But you can use and/or access java libraries, such as jar files. Which are treated as separate plugins. And should be placed in special Plugins folder.
On more how to access jar files in here.