
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
and also in the variable Path in the user variable
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?
- « Previous Replies
-
- 1
- 2
- Next Replies »

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had the error:
Java was started but returned exit code=1
I installed the java package found in this link and the install worked no problem.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@jamman wrote: diebestetest
I had the error:
Java was started but returned exit code=1
I installed the java package found in this link and the install worked no problem.
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can follow two sections:
1. The first sections: You make sure that your path in JDK and JRE is similar to these files' locations.
By right-click on Your computer shortcut -> check advanced systems.
2. You follow this fixing:
https://troubleshooter.xyz/wiki/fix-java-was-started-but-returned-exit-code-1/
I think the error will be resolved!
1.png

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did anyone solve this? I'm having the same issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had similar issue wherein I had created a Environment variable with new "System variables
as "JAVA_HOME" and used it in Path variable. Post which when I tried opening Talend it was giving me Java error with Return code = 1.
In order to resolve this I tried below:
- Made sure JDK latest version is installed. In my case the latest version "JDK-14.0.2" which was installed in below location "C:\Program Files\Java\jdf-14.0.2\"
- Removed all newly created system variables like "JAVA_HOME".
- Under "System Variables" -> "Path" Variable added the path where JDK was installed. i.e. C:\Program Files\Java\jdf-14.0.2\bin". Then click on Ok" button thrice to completely come out of it.
- Once I did this and tried to open the Talend_***.exe file. It opened without any issues.
Hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am also having similar issue using the facility. I have tried to resolve this issue, but I have not succeeded yet! Any help will be appreciated.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
What's JDK version are you using? On which talend build version you got this issue? More information will be helpful for us to address your issue.
Best regards
Sabrina

- « Previous Replies
-
- 1
- 2
- Next Replies »