Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
mwindsch
Contributor
Contributor

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

0683p000009Ls3P.jpg

and also in the variable Path in the user variable

0683p000009Ls7a.jpg

0683p000009Ls4B.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?

 

Labels (2)
12 Replies
PMurylev1633223916
Contributor
Contributor

Have same problem! Fix it!

PMurylev1633223916
Contributor
Contributor

Fix ini file. Add PATH TO javaw.exe and jwm.dll

 

-vm "C:\Program Files (x86)\Java\jre1.8.0_221\bin\javaw.exe"

-vm "C:\Program Files (x86)\Java\jre1.8.0_221\bin\client\jwm.dll"

-vmargs

-Xms512m

-Xmx1536m

-Dfile.encoding=UTF-8

-Dosgi.requiredJavaVersion=1.8

-XX:+UseG1GC

-XX:+UseStringDeduplication

-XX:MaxMetaspaceSize=512m

-XX:-UseCompressedOops

Anonymous
Not applicable

Hello,

Great it is fixed. Thanks for sharing your solution with us on community.

Best regards

Sabrina