Forum Discussion

testcompuser01's avatar
testcompuser01
New Member
8 years ago

Do we need to attach dependent jar files along with project jar file(java bridge)

Hi,

 

I have attached the project jar file and also declared the class on which I want to work, but when I use Javaclasses,intellisense does not fetch the class name and I am not able to create the newinstance of that class.

 

So do I need to attach all dependent jar files,it will be huge effort as those are around 150 dependent jar files.

 

Many Thanks!!

 

  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 3 rankChampion Level 3

    Hi,

     

    It is my understanding that TestComplete just passes the call to create some Java class to Java runtime. Thus you must use Java means to let Java runtime know where to look for the dependent JARs. (Maybe put all of them into the same folder, or specify CLASSPATH environment variable, or via some other means that your developers may provide you with.)