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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Problem with JDK and JDR

Hello
I have a problem executing the tWebService component. Error:
Exception in component tWebService_1 (Web)
java.lang.IllegalStateException: No compiler detected, make sure you are running on top of a JDK instead of a JRE.
I put screenshots of the process and Java configuration.


0683p000009LtGi.jpgpro

 

0683p000009LsxA.jpgJDK

0683p000009LtAl.jpgError

 

 I need help please.

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

1) Restarted your Studio?

2) Is your PATH variable configured with your JDK's bin folder?

3) Do you have more than 1 JDK/JRE configured in your PATH? If so, can you remove any? If not, maybe point to the JDK you want to, following this https://community.talend.com/t5/Migration-Configuration-and/Where-to-define-JAVA-HOME-for-Studio-TAC...

4) Do you have a JAVA_HOME environment variable configured?

 

If you didn't restart your Studio after making the change I suggested last time, do that first to just check quickly. If that does not fix it, check your environment variables.

 

View solution in original post

12 Replies
Anonymous
Not applicable
Author

The JDK is the Java Development Kit. The JRE is the Java Runtime Environment. You actually get a JRE when you download the JDK. You cannot develop and compile with the JRE, you can only run your precompiled code. As such you need the JDK for your Studio. It is a good idea to ONLY install the JDK across all of your environments as it comes with the JRE anyway.

 

For more info look here: https://community.talend.com/t5/Migration-Configuration-and/Requiring-a-JDK-installation-to-build-jo...

Anonymous
Not applicable
Author

I have the following version of JDK installed:0683p000009LtHW.jpg

 

 

 

and the configuration in Talend is:0683p000009LtEd.jpg

 

 

But the error remains the same.

 

Thank you very much

Anonymous
Not applicable
Author

No one knows how I can solve this?
Anonymous
Not applicable
Author

Untick the JRE and tick the JDK.

Anonymous
Not applicable
Author

Talend shows the same error.

The current configuration is:0683p000009LtH8.jpg

 

 

If someone wants, I could upload the project here.

Anonymous
Not applicable
Author

1) Restarted your Studio?

2) Is your PATH variable configured with your JDK's bin folder?

3) Do you have more than 1 JDK/JRE configured in your PATH? If so, can you remove any? If not, maybe point to the JDK you want to, following this https://community.talend.com/t5/Migration-Configuration-and/Where-to-define-JAVA-HOME-for-Studio-TAC...

4) Do you have a JAVA_HOME environment variable configured?

 

If you didn't restart your Studio after making the change I suggested last time, do that first to just check quickly. If that does not fix it, check your environment variables.

 

Anonymous
Not applicable
Author

Thank you very much
Anonymous
Not applicable
Author

Hi, I have the same problem when I exported my job and I just executed it (.bat).

But I don't have problem when i execute it with talend studio.

Help me plz.

 0683p000009LzqE.png

 

Anonymous
Not applicable
Author

Hello, I have the same problem with JDK JRE using twebservice, however the problem does not arise when I run my job with studio talent.
The problem when I run the job using .bat file

 

0683p000009LzpW.png