You are not logged in.

Unanswered posts

#1 2011-04-12 16:53:27

mythilis
Member
32 posts

TDQ Java compatibility

Tags: [error, java, UNIX]

Hi,

I am currently using TDQ version 4.0.3. For running an analysis from Unix server, if I set the JAVA_HOME parameter pointing to the latest version of Java in my Unix server - 1.6.0_24, the script fails with the below error.

$ ./UNIX_Report_CTP_UID_GRD_run.sh
./UNIX_Report_CTP_UID_GRD_run.sh: java: cannot execute [Exec format error]

But when I use an older version - 1.6.0_18l, the job seems to run.

Is there a compatibility issue with later versions of Java? What would be the recommended version of Java for 4.0.3 and also for 4.1.2?

Thanks!
Mythili

Offline

#2 2011-04-12 17:13:29

scorreia
Talend Team


Re: TDQ Java compatibility

Hi,

no, that should work. What happens when you just type "java" in your console? Do you get the same message?
or could it be a problem with the encoding of the .sh file? could you run the command "dos2unix" on your file?


Thank you for your support,
Sebastiao Correia.

Offline

#3 2011-04-12 17:25:07

mythilis
Member
32 posts

Re: TDQ Java compatibility

Sebastiao,

I am getting the same error when I just type "java" on my console!

Thanks!
Mythili

Offline

#4 2011-08-04 07:19:53

kyawlwinphyo
Member
57 posts

Re: TDQ Java compatibility

Hi,
My unix server has a java version 1.4.2.10 and i'm using TOS 4.2.2
are these two compatible????
Thanks

Offline

#5 2011-08-24 08:39:17

scorreia
Talend Team


Re: TDQ Java compatibility

No, TOS requires at least Java 1.5.


Thank you for your support,
Sebastiao Correia.

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy