Hi in order to automate Java application you must require Java add-in as shown in the image above.
In UFT Trail version you will get only ActiveX, Web, Visual Basic Addins.
FYI: The image(UFT Add-in manager) shown above is not a trail version , its a fully loaded licensed version (Uploaded for your understanding )