Four Stars

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.


Captura1.JPGpro

 

Captura2.JPGJDK

Captura3.JPGError

 

 I need help please.

1 ACCEPTED SOLUTION

Accepted Solutions
Fifteen Stars

Re: Problem with JDK and JDR

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.

 

Rilhia Solutions
7 REPLIES
Fifteen Stars

Re: Problem with JDK and JDR

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...

Rilhia Solutions
Four Stars

Re: Problem with JDK and JDR

I have the following version of JDK installed:Captura4.JPG

 

 

 

and the configuration in Talend is:Captura5.JPG

 

 

But the error remains the same.

 

Thank you very much

Four Stars

Re: Problem with JDK and JDR

No one knows how I can solve this?
Fifteen Stars

Re: Problem with JDK and JDR

Untick the JRE and tick the JDK.

Rilhia Solutions
Four Stars

Re: Problem with JDK and JDR

Talend shows the same error.

The current configuration is:Captura6.JPG

 

 

If someone wants, I could upload the project here.

Fifteen Stars

Re: Problem with JDK and JDR

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.

 

Rilhia Solutions
Four Stars

Re: Problem with JDK and JDR

Thank you very much