Forum Discussion

leeasdf9's avatar
leeasdf9
Frequent Contributor
10 years ago

jp2launcher process.exe cannot be terminated

Hi,

Sorry for the question about jp2launcher again, this issue haunts me since a while and i finially realize the problem.

Sys.Process("jp2launcher,1").Terminate() works if jp2launcher process is "alive"(CPU utilisation ongoing),

but it happens sometimes that jp2launcher process is stucking, then the process cannot be terminated or closed and testcomplete is hanging on the termination action.

anybody same situation? any solution? using batch to kill process?

Thanks for any reply in advances and Br,

Li

3 Replies

  • mgroen2's avatar
    mgroen2
    Super Contributor

    Jp2launchers are always difficult.

    Best way is to prevent jp2launcher from appearing by allow running Java apps in the browser (decrease security settings). How to do that depends on the browser.

    • leeasdf9's avatar
      leeasdf9
      Frequent Contributor

      i totally agree, but its also difficult to prevent jp2launcher process, in development point of view it is not best option, at least i have found a workaround by using "if object exists" statement.

      Thanks anyways for your reply.

      Lee

      • mgroen2's avatar
        mgroen2
        Super Contributor

        OK, good to hear you have found a workaround.