Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Getting error when running the job in Talend open studio 6.2.1

Hi,
I am getting the below error when triggering/running a job. I am using Talend open studio data integration 6.2.1 and I am using windows 10 32 bit OS.
Starting job sample at 16:15 02/09/2016.
java.lang.NoClassDefFoundError: Integer
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetMethodRecursive(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.validateMainClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Integer
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 7 more
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" 
Job sample ended at 16:15 02/09/2016.
Can someone please help me on this issue.
Thanks in advance,
Kind regards,
Sathish
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi Sabrina,
Issue is because of the environmental variable, I changed JAVA_HOME to "C:\Program Files\Java\jre1.8.0_101" and now it is resolved.
Thank you very much for your assistance 0683p000009MACn.png
Kind regards,
Sathish

View solution in original post

15 Replies
Anonymous
Not applicable
Author

Hi,
What's the JDK version you are using? Are you using JDK 1.8?
Best regards
Sabrina
Anonymous
Not applicable
Author

yes Sabrina, I am using jdk 1.8
Kind regards,
Sathish
Anonymous
Not applicable
Author

Hi,
Could you please go to Window > Preferences > Installed JREs, selecting Edit and browsing for the appropriate JRE (jdk1.8.0_XXX in your case) to see if it works?
 You are using java 1.8.0_51 or java 8_9? It seems that there is something wrong with java 1.8.0_9.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
I am having jdk1.8.0_101 and in talend installed JRE's is pointing to - C:\Program Files\Java\jre1.8.0_101\bin.
And along with the above error that I posted earlier I am getting additional error in a pop up, please find below the error
java.lang.Exception: Download jts-1.12.jar failed!
at org.talend.librariesmanager.utils.DownloadModuleRunnable.downLoad(DownloadModuleRunnable.java:117)
at org.talend.librariesmanager.utils.DownloadModuleRunnable.run(DownloadModuleRunnable.java:68)
at org.talend.updates.runtime.model.TalendWebServiceUpdateExtraFeature.install(TalendWebServiceUpdateExtraFeature.java:96)
at org.talend.updates.runtime.engine.InstallNewFeatureJob.installFeature(InstallNewFeatureJob.java:74)
at org.talend.updates.runtime.engine.InstallNewFeatureJob.run(InstallNewFeatureJob.java:65)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Please let me know if any further info required.
Thanks in advance,
Kind regards,
Sathish
Anonymous
Not applicable
Author

Hi Sabrina,
Thanks much for pointing me to the installed JRE's, I changed the path to "C:\Program Files\Java\jre1.8.0_101" and changed the name to "jre1.8.0_101" and now I am able to run the job. 
But when I close the talend and relaunch and upon checking the installed JRE I am seeing the path and name changed. Please find below the picture for the same with a error saying "Target is not a JDK Root. Java executable was not found" and I am able to run the job.
Will this create any other issue when I deploy the code and run it in server or from the command prompt using a batch script.

Thanks in advance for your support.
Kind regards,
Sathish
0683p000009MBU5.jpg
Anonymous
Not applicable
Author

Hi,
Please take a look at my screenshot.
Best regards
Sabrina
0683p000009MBUi.png
Anonymous
Not applicable
Author

Hi Sabrina,
When I close and relaunch talend the path is getting reset to "C:\Program Files\Java\jre1.8.0_101\bin" and name to "bin".
Please need your assistance in this and let me know if any further info required.
Thanks in advance for your support.
Kind regards,
Sathish
Anonymous
Not applicable
Author

Hi Sabrina,
Issue is because of the environmental variable, I changed JAVA_HOME to "C:\Program Files\Java\jre1.8.0_101" and now it is resolved.
Thank you very much for your assistance 0683p000009MACn.png
Kind regards,
Sathish
Anonymous
Not applicable
Author

Hi Team,
I installed Java version 1.8 in my 64bit system. Downloaded Talend application version 6.3.1. When I try to run the Talend application I am getting an error. PLease find attached the error text file.
1487612770492.log.log
Can someone let me know what is the error and how to resolve.
Thanks,
Mahak