You can use dbx to debug the following types of Java applications:
A file with a file name that ends in .class
A file with a file name that ends in .jar
A Java application that is started using a wrapper
A running Java application that was started in debug mode to which you attach dbx
A C application or C++ application that embeds a Java application using the JNI_CreateJavaVM interface
dbx recognizes that it is debugging a Java application in all of these cases.