Posted: Mon Dec 14, 2015 9:38 am Post subject: Java Native Interface question
Hi,
Anyone who had any experience with the JNI can tell me please if there is any way to get the main class of an applet?
The thing is I'm trying to get the main class without knowing its name so I can't use FindClass.
and of course it is different between applications types i.e. for applet it could be main method and for web applets it's init / run.
Actually JVMTI is what I'm using but I thought that it'd be through the JNI.
I actually got all loaded classes with it besides the main one.
I'll take a look at what u sent, Thanks a lot _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum