Creating Jar file through Eclipse. 1. Create New Java Project in Eclipse as shown in below snap. 2. Now create your java(SampleJar)file [Name doesn't matter]. 3. Right Click on created Project and now click on Export and after that Navigate to java and select JAR file and after that follow the Instructions as shown in the window. and hence forth your JAR file is created for execution. 4. Now create new Java Project and import SampleJar.jar file which is created as shown in below image. 5. Create Java file TestJar and execute your program with created jar. TestJar.java package com.angad.testjar; import com.angad.jarfile.SampleJar; public class TestJar { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub SampleJar sampleJar = new SampleJar(); System.out.println("Square Method Called from JAR ==>"+sampleJar.square(10)); System.out.println("Cube Method Called from JAR ==>"+s...