Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have been working on the same environment for several months with TALEND (TOS-DI-7.0.1) and it works fine. But since yesterday, when I want to create a delimited file (.csv), in step 3 of the wizard, the output window shows me:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
at project.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput.main(ShadowFileInputToDelimitedOutput.java:2258)
Erreur de prévisualisation. Des paramètres doivent être modifiés`
Note : Les erreurs de prévisualisation sont généralement liées à un mauvais paramétrage de l'encodage.
org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(ShadowFilePreview.java:90)
org.talend.metadata.managment.ui.utils.ShadowProcessHelper.getCsvArray(ShadowProcessHelper.java:383)
org.talend.repository.ui.wizards.metadata.connection.files.delimited.DelimitedFileStep2Form$PreviewProcessor.nonUIProcessInThread(DelimitedFileStep2Form.java:1309)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)
What is surprising is that other already created delimited files show the same errors. However, I haven't changed anything in my JAVA configuration (java 😎
I don't have JDK, but just java version
java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
you can see it on where you have installed java.
it can be for example : C:\Program Files (x86)\Java\jdk1.7.0_45\bin
You could modify TOS_DI-win32-x86.ini (for window OS as example )to force Talend to plug with Java 1.8 and add these lines :
-vm C:\Program Files\Java\jdk1.8.0_xxx\bin
-vmargs
-Dosgi.requiredJavaVersion=1.8
I don't have JDK, only JRE version
And my TALEND configuration for JAVA
And i tried to add these lines, but i always have the same error! 😞
-vm C:\Program Files\Java\jre1.8.0_131\bin
-vmargs
-Dosgi.requiredJavaVersion=1.8
Hello,
Ensure proper version of JDK is installed. For v6 of Talend products JDKv1.8 is required instead of JRE.
Here is online documentation about: TalendHelpCenter: Configuring a JDK path to build Jobs
Let us know if it works for you.
Best regards
Sabrina
Hello Sabrina,
I took your advice in addition to Jeremy's.
But nothing helps, I still have the worries.
I usually back up my TALEND environment every two months. I came back to an old environment, and I still have the problem, I do not understand where it can come from ...
Hello,
Are you using Oracle JDK or openJDK?
Talend didn't add support for OpenJDK until V7.1.1 version. Have you tried to restart your machine to see if your V 7.0.1 studio works?
Best regards
Sabrina
The bit of the operating system needs to be the same as the JAVA version.
eg: windows 10 (64) + Java 8 (64)
If everythig worked the last day and now everything crash, you can suspect a windows update is causing your issue
I suspect that too, but it's a professionnal PC and i can't do anything...