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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Cannot run a job!! "Make sure your JVM setup is similar to the studio"

Hi,

 

I am unable to run any jobs in TOS.

I am using TOS 7.0.1.

I have tried using jdk 8.181, 11 and also 8.201 and i have set my path correctly (cross checked many times).

My PC is 64 bit.

The error says: "The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio."

Please help me in fixing this, i have tried all possible ways.

 

Regards,

Sneha Suresh

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello,

It seems wrong configuration for the JRE in Talend Studio 
Window -> Preferences 
Java 
Installed JREs 
Location was set to 
C:\Program Files\Java\jdk1.8.0_***\bin 
It should be set to : 
C:\Program Files\Java\jdk1.8.0_****

Go to studio -> Window -> Preferences -> Java -> Installed JREs
Remove the \bin from the value in the column Location.

Let us know if it works.

Best regards

Sabrina

View solution in original post

16 Replies
Anonymous
Not applicable
Author

Hello,

It seems wrong configuration for the JRE in Talend Studio 
Window -> Preferences 
Java 
Installed JREs 
Location was set to 
C:\Program Files\Java\jdk1.8.0_***\bin 
It should be set to : 
C:\Program Files\Java\jdk1.8.0_****

Go to studio -> Window -> Preferences -> Java -> Installed JREs
Remove the \bin from the value in the column Location.

Let us know if it works.

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi Sabrina,

I removed \bin in the specified path and it worked. Thank you.

 

Regards,

Sneha Suresh


@xdshi wrote:

Hello,

It seems wrong configuration for the JRE in Talend Studio 
Window -> Preferences 
Java 
Installed JREs 
Location was set to 
C:\Program Files\Java\jdk1.8.0_***\bin 
It should be set to : 
C:\Program Files\Java\jdk1.8.0_****

Go to studio -> Window -> Preferences -> Java -> Installed JREs
Remove the \bin from the value in the column Location.

Let us know if it works.

Best regards

Sabrina


 

 

Anonymous
Not applicable
Author

Hello,

Thanks for your feedback. Feel free to let us know if there is any further help we can give.

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi All,

 

Unable to compile the job with tS3Connection or any aws cloud components Component. Please could you advise what's going wrong.

 


Capture.PNG
Anonymous
Not applicable
Author

Hello @shekharsingh010,

Does this issue repro on all jobs or a specific one?

What's JDK version are you using?

Best regards

Sabrina

 

 

 

Anonymous
Not applicable
Author

Hello,

I did the same, but the error still appear.
Anonymous
Not applicable
Author

Hi I am new to talend,

 

after installation i have run the tRowGenerator sample job.

I got error with JVM installation or something like that.

Detailed error below.(JVM.JPEG)

I have also attached the JVM that is used (see JDK .jpeg).

Kindly help

Thanks

Surya


JDK.jpg
DK1623661989
Contributor
Contributor

I had to install oracle's jdk 11 on Mac M1. Then using jenv (this step is not needed if you don't have jenv) set global usage to the new installed oracle jdk 11. Inside Talend I had to specifically select the same JDK 11. It wasn't sufficient. Then I get into /Applications/TOSDI-7.3.1/studio/TOS_DI-macosx-cocoa.app/Contents/Info.plist file and inside Eclipse key (you can search for java_home inside the file to find the right place) added the line:

                <string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk-11.0.11.jdk/Contents/Home/bin/java</string>

 

Then it worked.

Anonymous
Not applicable
Author

Hello @DK1623661989

Thanks for sharing your solution with us.

Best regards

Sabrina