# Printing out a variable content

The following scenario is a simple demo of the extended application of the tJava component. The Job aims at printing out the number of lines being processed using a Java command and the global variable provided in *Talend Studio* .

![](https://help.qlik.com/talend/en-US/components/8.0/Resources/images/Use_Case_tJava1.png)

### In this section

* [Setting up the Job](https://help.qlik.com/talend/en-US/components/8.0/java-custom-code/tjava-tfileinputdelimited-tfileoutputexcel-tfileoutputexcel-setting-up-job-standard-component-select)
* [Configuring the input component](https://help.qlik.com/talend/en-US/components/8.0/java-custom-code/tjava-tfileinputdelimited-tfileoutputexcel-tfileoutputexcel-configuring-input-component-standard-component-set)
* [Configuring the output component](https://help.qlik.com/talend/en-US/components/8.0/java-custom-code/tjava-tfileinputdelimited-tfileoutputexcel-tfileoutputexcel-configuring-output-component-standard-component-set)
* [Configuring the tJava component](https://help.qlik.com/talend/en-US/components/8.0/java-custom-code/tjava-tfileinputdelimited-tfileoutputexcel-tfileoutputexcel-configuring-tjava-component-standard-component-then)
* [Executing the Job](https://help.qlik.com/talend/en-US/components/8.0/java-custom-code/tjava-tfileinputdelimited-tfileoutputexcel-tfileoutputexcel-executing-job-standard-component-press)

**Related concepts**

* [tJava](https://help.qlik.com/talend/en-US/components/8.0/java-custom-code/tjava "Extends the functionalities of a Talend Job using custom Java commands.")

**Related information**

* [tFileInputDelimited](https://help.qlik.com/talend/en-US/components/8.0/delimited/tfileinputdelimited)
* [tFileOutputExcel](https://help.qlik.com/talend/en-US/components/8.0/excel/tfileoutputexcel)