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 Domex.inc and JavaEx.inc when I enable Java and IE DOM extentions and run the script.

If I remove the Domex.inc 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 ?