Is there an easy way of running Java Application and IE DOM testcases from the same test script ?

There seems to be a conflict between and when I enable Java and IE DOM extentions and run the script.

If I remove the from the Runtime include, then the Java testCases will run OK.

So I guess I will have to put the testcases in different .t files ?