I'm running Forms 11g, IE9, Java 7 update 21
I am having trouble with java.exe processes remain hanging after closing Forms. If I have an an IE Browser window open with two tabs and then open two Forms sessions, which creates two java.exe processes. I then close both Forms sessions, and it leaves one java.exe hanging. If I then close the two IE Browser windows, it removes the java.exe process. I can replicate this consistently. It is working correctly as long as I do not have any other IE Browser windows open at the time that I open Forms.
I opend an SR with Oracle Forms, but since it works fine if I don't have IE open before opening Forms, they won't help indicating it is a Java issue. Tried to open an SR with Java, but they won't help because we don't pay support for Java.
This is a browser/java plugin issue and has nothing to do with Oracle Forms. If you open an applet in a browser, as long as that browser remains open the plugin will remain loaded and the java.exe process will remain in the task manager. Because the tabs in the browser are of the same browser session, it won't matter if you close the tab or not. The parent browser session is responsible for the java process. Here are two of many discussions about this topic which began in IE8 and continue today.
I am not aware of any way to do that. Unfortunately, using Java script to open a window will create a shared session. This is really something you need to ask of the Microsoft guys. I know that many people have complained about this new behavior, but I have not yet seen any response from Microsoft that addresses this undesirable behavior. Here is another MS blog that migth offer some clarity on what is happening:
Is there some reason why you are worried about the java.exe proc remaining? Once the browser is closed, it should also close the java proc.