Reputation: 19
My Talend tool version is 5.6. As mentioned in Talend documentation it needs Java Runtime Environment 7 i.e jdk1.7
, which is installed - along with set java_home
in my environment variables. As per me it should work.
However I have jdk1.8
installed too, but I'm correctly pointing jdk1.7
path at environment variable.
Alternatively I have tried giving jdk1.7
path in Talend's Talend-Studio-win-x86_64.ini
file. It's still giving me error.
Below is snapshot: in cmd
the installed version shows jdk1.8
where in echo %JAVA_HOME%
it shows path of jdk1.7
While starting tool this error comes:
Upvotes: -1
Views: 8863
Reputation: 76
try to make changes in TOS_DI-win-x86_64.ini file
add line
-vm
C:\Program Files\Java\jdk-11.0.14\bin\javaw.exe
And update or confirm the version as below.
-Dosgi.requiredJavaVersion=11.0.14
Hope it'll help to fix the issue
Upvotes: 1
Reputation: 202
Suppose you have talend in c:\talend and jdk1.7 is in C:\jdk1.7. You can do like the following in windows environment.
Open command prompt.
Goto the bin folder location where jdk 1.7 is located. For example if you have jdk in C:\jdk1.7 then cd\
cd C:\jdk1.7\bin
In the above statement tos_di-xxxxx.exe is the executable file depending on the os environment
Upvotes: 0
Reputation: 161
Create a batch file with the following command:
Talend-Studio-win-x86_64.exe -vm "[jdk path]\bin"
Then start the studio by executing this batch.
Upvotes: 2
Reputation: 3554
Talend is based on eclipse, so you can set the java vm to use in the ini-file. (Sorry, I don't have an installation here right now, I think it is called talend.ini - nevertheless, it is located in talend's installation folder.)
Add the following to the top of the file:
-vm
[path to your java 7]/bin/javaw.exe
Upvotes: 1