Four Stars

Java was started but returned exit code=1 / code=13

Hi,

I wanted to install/run Open Talend for Data Migration on an ne PC (Windows 10 64bit).

I downloaded the Version TOS_DI-Win32-20180116_1512-V6.5.1 and TOS_DI-20180116_1512-V6.5.1.

I also installed Java jre1.8.0_161 and jdk1.8.0_161 (Install Path: C:\Program Files (x86)\Java)

After starting Talend (TOS_DI-win-x86_64.exe  or  TOS_DI-win-x86_64.exe) I always get the Message:

Java was started but returned exit code=1

Then I red some Messages in the community and found something about the Environment variables.

So I added a new variable in the System Level Environment variable

Talend1.JPG

and also in the variable Path in the user variable

Talend3.JPG

Talend2.JPG

 

After that testing Talend nothing changed. Still the same Problem:

Java was started but returned exit code=1

 

Then I went to the parent Folder of Talend (C:\Talend\TOS_DI-Win32-20180116_1512-V6.5.1) and opened the ini file (TOS_DI-win-x86_64.ini).

The Content of the ini-file:

-vmargs
-Xms512m
-Xmx1536m
-Dfile.encoding=UTF-8
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication

 

I added this row to the ini-file:

-vm C:\Program Files (x86)\Java\jdk1.8.0_161\jre\bin\server\jvm.dll

 

After that I started Talend again and got this message:

Java was started but returned exit code=1  / code=13

 

Now I have no idea what I can do to solve my Problem.

Do I have the wrong Java versions?

Is something wrong with the new variables or ini-file Adaptation?

Whats my fault/faults?

What can/must I do, that Talend runs?

 

2 REPLIES
Moderator

Re: Java was started but returned exit code=1 / code=13

Hello,

Could you please check the java version by typing java - version in cmd to see if your java environment is set correctly?

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.

Note: TOS_DI-win-x86_64.exe is used for 64 bit OS.

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

Re: Java was started but returned exit code=1 / code=13

Talend runs on top of Eclipse, and this is an Eclipse error message. This page may help you resolve it: http://troubleshooter.xyz/wiki/fix-java-was-started-but-returned-exit-code-1/