Hello, I want to use the tSetEnv component to add environment variable values to my system but I get null values. In the tSetEnv, I define a variable called test with the value "C:/test" I test the integration of this variable with a tJava component connected to the tSetEnv component by onComponentOk. The Java code is:
I get a null value.. Any help would be greatly appreciated! Thanks!
Thanks for the answer. It returns me the value but this one seems not to be integrated in my process.. I'm under Windows and trying to industrialize the use of the execution af an OCR process through tesseract. Here is my test job:
I put an environment variable named TESSDATA_PREFIX with the value "C:/tesseract-2.04/" It's the path of the tesseract folder Then, in the tSystem, I put:
Unable to load unicharset file ./tessdata/fra.unicharset
It means that it didn't take into account the TESSDATA_PREFIX env variable. It it had been the case, it would have searched the file into /tessdata/fra.unicharset Does tSetEnv integrate environment variables in the machine system or is it internal to the software? Any idea?