I am writing an jni application in which i use java objects and these objects are created at run time,i don't know the identifiers in it. how can i access them from the native method?

Assuming you create these objects from within your Java code, you'll have to get references to them in the same way you would do from within Java, ie. a variable referencing the object. Or, if you multiple instances, an array for example. If you know where that variable or array is stored, you can use that to get the references to your objects.

Advertiser Disclosure:
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.