Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
shrikavi2008
Contributor
Contributor

tDotNetInstantiate error

Hi,
I created a job with tDotNetInstantiate and tDotNetRow to call dll.
I have downloaded the janet-dll and placed in c:\windows\system32 as well as in java's bin directory.
But Getting error as below:

Starting job test at 10:49 30/01/2016.

[statistics] connecting to socket on port 3527
[statistics] connected
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Java\jre1.8.0_66\bin\janet-win32.dll: A dynamic link library (DLL) initialization routine failed
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at org.talend.net.Object.loadLibrary(Object.java:201)
    at org.talend.net.Object.<clinit>(Object.java:164)
    at local_project.test_0_1.test.tDotNETInstantiate_1Process(test.java:336)
    at local_project.test_0_1.test.runJobInTOS(test.java:710)
    at local_project.test_0_1.test.main(test.java:567)
[statistics] disconnected
Job test ended at 10:49 30/01/2016. [exit code=1]

Regards,
R.Bharath

Labels (2)
8 Replies
Anonymous
Not applicable

Hi,
Have you already configured the JDK path in Windows > Preferences > Java > Installed JRES?
Are you using 32 bit OS? janet-win32.dll for Windows 32-bit version and janet-win64.dll for Windows 64-bit version. 
Please see the usage section in component reference: TalendHelpCenter:tDotNETInstantiate
Best regards
Sabrina
shrikavi2008
Contributor
Contributor
Author

Hi Sabrina,
Thanks for you reply.
I placed both janet-win32.dll & janet-win64.dll in my 64 bit OS.
I placed above files in jre , JDK and system 32 folders. Still getting same error


Regards,
R.Bharath
Anonymous
Not applicable

Hi R.Bharath,
Could you please indicate the build version you are using?
Best regards
Sabrina
shrikavi2008
Contributor
Contributor
Author

Hi,
I tried in Talend Platform MDM with Bigdata 5.6 and Talend Data Fabric 6.0
Regards,
R.Bharath
Anonymous
Not applicable

Hi,
C:\Program Files (x86)\Java\jre1.8.0_66\bin\janet-win32.dll: A dynamic link library (DLL) initialization routine failed

Starting from version 6.0, Talend Studio requires a JDK installation instead of JRE only to build jobs,  and you must configure the JDK path in  Windows > Preferences > Java > Installed JRES.
Have you tried to place your janet-win64.dllm under C:\Program Files (x86)\Java\jdk1.8.0_66\bin to see if it works?
Feel free to report a ticket on Talend Support Portal for your subscription product so that we can give you a remote assistance through support cycle with priority.
Best regards
Sabrina
Anonymous
Not applicable

I am having the same issue with the janet-win64.dll not being found. 
I have placed it in the java\jdk\jre\bin and java\jdk\jre\lib as well as the system32 folder.

The error being given:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no janet-win64 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.talend.net.Object.loadLibrary(Object.java:201)
at org.talend.net.Object.<clinit>(Object.java:164)
at csharp_test.test_1_0.Test.tDotNETInstantiate_1Process(Test.java:341)
at csharp_test.test_1_0.Test.runJobInTOS(Test.java:1072)
at csharp_test.test_1_0.Test.main(Test.java:929)

Has this been resolved?
shrikavi2008
Contributor
Contributor
Author

Hi,
Did you unblock the DLL ?

Right-click on the DLL and click on the unblock button. Then try.
Thanks,
R.Bharath
Anonymous
Not applicable

Hi rsimon1 

 

Have you find solution ? 

 

I created a C# dll and I try to use it in tDotNETInstantiate but I have this error : 

java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jre1.8.0_181\bin\janet-win64.dll: Can't find dependent libraries

 

I have try all solutions as i can find on the web but the error still (Put janet* in System32 or java jdk/jre folder. I have specified the path in properties... 

 

Thank in advance for your time. 

 

Rémi