Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III

How to run job out side of Talend studio

I created a test job in the studio and it works fine. How I can run the job from out of Studio? Can it be run just like a java program?
Thanks in advance for any advices.
Thanks,
Joe
Labels (3)
6 Replies
Anonymous
Not applicable

Hello Joe
There are three options to execute a job outside of Talend,
1)Right click on the job name and select 'export job script' option to export the job, then unzip the file and click on .bat file on windows or .sh file on unix system to run the job directly.
2)Export the job and deploy it as webservice and run it.
3)Export the job and integrate it into Eclipse and run it as a java program.
Best regards
Shong
Anonymous
Not applicable

i selected the option1 and run the batch file, i got the following error,pls help me out

C:\test\EDW_GAP_Ship_flow>java -Xms256M -Xmx1024M -cp classpath.jar; fbii.edw_ga
p_ship_flow_0_1.EDW_GAP_Ship_flow --context=Default
Exception in thread "main" java.lang.UnsupportedClassVersionError: fbii/edw_gap_
ship_flow_0_1/EDW_GAP_Ship_flow (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Anonymous
Not applicable

Looks like a java version issue.
Anonymous
Not applicable

check the java version used by talend.
it may be different from whats there in the system you are trying to run.
java -version in cmd will give that
Anonymous
Not applicable

Hi,
 Can anoyone please suggest the best way of running Talend DI jobs in production environment(outside Talend studio)? I understand from my client that they run Talend DI jobs in unix server where JVM is running as Talend DI executables are in form of jars.
The other option to execute job is configuring Talend Administration Center and Job server and execute through job servers.
Please conform the best practice of running talend DI jobs in an enterprise environment.
Regards
Abhijit
 
Priyanka22kar
Contributor

can we embed a Talend job inside an HTML page and execute it?