No Compiler Detected running built Job

Five Stars

No Compiler Detected running built Job

Hi Everybody,

 

I have quite an uncommon situation. I have 2 identical servers with the same java versions, Talend versions, Windows version, etc. On one of them, a job is running perfectly and on the other I am getting an error about "No compiler detected" but just when I run the bat file of the standalone built job. I can run the job from Talend itself perfectly, but if I build the job and try to run it by itself I get the error.

 

Can anyone think what could be the reason? I have to say it is quite urgent since it was supposed to be just a copy/past from one server to the other and I have a meeting in a day about this... 

 

Best Regards,

JNanin


Accepted Solutions
Moderator

Re: No Compiler Detected running built Job

Hello,

You need the JDK for your Studio. JDK is not needed to run job especially in the studio, but needed to export the job

It is a good idea to ONLY install the JDK across all of your environments as it comes with the JRE anyway.

Please ensure proper version of JDK is installed. For v6 of Talend products JDKv1.8 is required instead of JRE. If that requirement is met, ensure JDK bin is included in your PATH environment variable and is being reached.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: No Compiler Detected running built Job

Hi again everybody,

 

After hours of testing, I have fixed the problem. I don´t know why, the command prompt wasn't using the right path for java so it couldn't find the bin file. I had it on the JAVA_HOME and on the PATH variables correctly, but it was still not working. What fixed my problem was deleting the JAVA_HOME variable, create it again pointing to the same place (C:\Program Files\Java\jdk1.8.0_181 in my case) and modifying the PATH variable order, changing the %JAVA_HOME%\bin from last position to first.

 

After restarting, everything has been working perfectly...

 

Regards,

JNanin


All Replies
Moderator

Re: No Compiler Detected running built Job

Hello,

You need the JDK for your Studio. JDK is not needed to run job especially in the studio, but needed to export the job

It is a good idea to ONLY install the JDK across all of your environments as it comes with the JRE anyway.

Please ensure proper version of JDK is installed. For v6 of Talend products JDKv1.8 is required instead of JRE. If that requirement is met, ensure JDK bin is included in your PATH environment variable and is being reached.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: No Compiler Detected running built Job

Hi again everybody,

 

After hours of testing, I have fixed the problem. I don´t know why, the command prompt wasn't using the right path for java so it couldn't find the bin file. I had it on the JAVA_HOME and on the PATH variables correctly, but it was still not working. What fixed my problem was deleting the JAVA_HOME variable, create it again pointing to the same place (C:\Program Files\Java\jdk1.8.0_181 in my case) and modifying the PATH variable order, changing the %JAVA_HOME%\bin from last position to first.

 

After restarting, everything has been working perfectly...

 

Regards,

JNanin

Five Stars

Re: No Compiler Detected running built Job

Hi Sabrina,

Thanks for the help, but yours is not the actual solution. I had the JDK v1.8 installed and the bin folder on the PATH environment variable since the beginning, and I was still getting the error. That is why I couldn't find out what was going on for so long. I even reinstalled JDK several times.

I chose my answer as solution because it was what fixed the problem for me, and since I saw another post with a similar problem, maybe it might help them too.

 

Regards,

JNanin

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download