unable to identify java swing objects using UFT when java8 is installed

we have an java desktop application jar file. application is created using sun.awt frmework. i am currently have java8 installed in my machine. when i open the application through UFT, i am unable to find any objects present in that window. can anyone please help.

i used below command to open the application

dim oShell

set oShell = createObject("WScript.Shell")

oShell.Run = "java -jar C:\users\testers\javafiles\Test.jar"

set oShell = Nothing