Forum Discussion

shankar_r's avatar
shankar_r
Community Hero
8 years ago
Solved

Setup - Java Bridge

Hi,

 

I haven't worked on the JavaClasses with Test Complete before.

 

I want to use a Java Class into Test Complete and I went thru this topic https://support.smartbear.com/testcomplete/docs/testing-with/advanced/using-external-functions/calli....

 

I'm able use this in Test Complete. However, I'm hard-coding the jvm.dll path in Tools > Options >Engine >Java Bridge as like below.

 

javaexisting.PNG

 

Is it possible to use System environment variable in the path as below? [I tried with below property it does't work]

 

jvm.PNG

 

Is there any best solution to config the Java Bridge in Test Complete as we running in multiple machines [all machines will not have same version or same path for jvm.dll]?

  • Hi Shankar,

     

    Currently this option does not support environment variables, and it's not possible to set it programmatically. Please submit a feature request if you need this feature.

2 Replies