Java Eclipse Dependencies Download Mac

Posted on  by admin
  • Plugin eclipse dependency free download. Eclipse Tomcat Plugin The Eclipse Tomcat Plugin provides simple integration of a tomcat servlet container for the developm.
  • Clicked 'view package dependencies' on one of the packages - blank window Clicked 'view package dependencies' on a project - eclipse hangs for a few minutes (spinning wheel), then becomes unresponsive This is a rather large project, but I cannot wait minutes for this to happen without eclipse.
  1. Java Dependencies Maven
  2. Java Eclipse Dependencies Download Mac Download

Appium Server is really tricky to setup in Mac OS as there are multiple components to be integrated. I have given the steps to setup Appium Server for Android platform. Using the below steps, the reader can start the Appium Server programmatically, run the tests in Emulator. Feel free to contact me in case of any issues during setup. Constructive feedback is welcome to improve the post which helps users.

To install Maven: Go to Help Eclipse Marketplace In the Find text box of the Eclipse Marketplace window, type “maven”, select Maven Integration for Eclipse, and click Install. Download the Java SDK and include it in your project’s dependency. For a Maven project, add the following dependencies to the pom.xml file.

Steps to setup Appium Android. I have given the steps below for Mac OS & Windows. Hope Linux follows the same pattern as that of Mac.

Step 1 : Download & Install Eclipse



Step 2 : Download & Install Appium

Mac & Windows users, choose the respective appium binary at

Mac users move the to the Applications folder.

Step 3 : Need to install a Emulator of your choice. I prefer Genymotion.!/download

Java Eclipse Dependencies Download Mac

Step 4 : Setup Genymotion : In Genymotion or any emulator, Create a Android Virtual Device of your choice. I choose to create Samsung Galaxy S4. Once the virtual device is created, try installing your android app, by drag and drop over the Virtual Device’s home screen.

Step 5 : Install Android SDK. Android Studio is not required and just the Android SDK is sufficient. We can add the required packages later using Android SDK Manager. Download the SDK tools appropriate for your platform.

  • On Mac or Linux, open a terminal and navigate to the tools/ directory in the Android SDK, then execute android sdk.
  • Under Tools, Make sure you do have Android SDK Tools, Android SDK Platform-tools, Android SDK Build-tools installed.
  • Also, install the Android Version (5.0.1) in which your application works.

Step 6 : Environment variables if not created properly will create issues when the Appium server is started from the eclipse. So, please follow the below steps diligently.

In Mac, setting up environment variables in ~/.bash_profile, ~/.profile or using any export command in the Terminal window will be available only for Terminal application.

If the Appium server is to be started from Eclipse, ANDROID_HOME env variable should be setup using the below procedure.

  • ANDROID_HOME environment variable setup. Mac users please follow the below link.
  • Create PATH variable using the same steps as above and add $ANDROID_HOME/platform-tools/, $ANDROID_HOME/tools/, $ANDROID_HOME/build-tools to your PATH variable.

Step 7 : Setting up Eclipse

  • Create a Maven project in Eclipse – File > New > Project > Maven > Maven Project
  • Add the below dependencies in your pom.xml


  • Appium Server programmatically run from Eclipse using the below code in the Project.


import java.util.concurrent.TimeUnit;

import org.apache.commons.exec.CommandLine;
import org.apache.commons.exec.DefaultExecuteResultHandler;
import org.apache.commons.exec.DefaultExecutor;
import org.apache.commons.exec.ExecuteException;
import org.openqa.selenium.By;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;

public class SetupAndroidAppium{

public static AndroidDriver driver;

static DefaultExecuteResultHandler resultHandler = new DefaultExecuteResultHandler();
static DefaultExecutor executor = new DefaultExecutor();

public static void setUp() throws Exception {

Java Eclipse Dependencies Download Mac

System.out.println(“****************setUP Starts****************”);

System.out.println(“ANDROID_HOME : “+System.getenv(“ANDROID_HOME”));
System.out.println(“PATH : “+System.getenv(“PATH”));

resultHandler = new DefaultExecuteResultHandler();
executor = new DefaultExecutor();
// executor.execute(killNode,resultHandler);
// executor.execute(killPlayerEmulator,resultHandler);
// executor.execute(killADB,resultHandler);

// CommandLine command = new CommandLine(“/bin/sh -c”);
// command.addArgument(“/Applications/”,false);


CommandLine command = new CommandLine(“/Applications/”);

command.addArgument(“/Applications/”, false);
command.addArgument(“–address”, false);
command.addArgument(“–port”, false);
command.addArgument(“–bootstrap-port”, false);
// command.addArgument(“–no-reset”, false);

executor.execute(command, resultHandler);



DesiredCapabilities capabilities = new DesiredCapabilities();

capabilities.setCapability(“platformName”, “Android”);
// capabilities.setCapability(“platformVersion”, “4.4.2”);
// capabilities.setCapability(“browserName”, “android”);

/* appPackage & appActivity is not mandatory as the Appium will inspect the .apk file for the default package and the activity
* Issues if any, please set it explicitly.
* */
// capabilities.setCapability(“appPackage”, “com.migmeplayground”);
// capabilities.setCapability(“appActivity”, “com.projectgoth.activity.MainActivity”);
capabilities.setCapability(“app”, “<PATH/TO/YOUR/ANDROID/APK>.apk”);
// capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, “device”);

// The device name could be found by running the command adb in the terminal window.
* android-sdk-macosx$ adb devices
List of devices attached device
* */
capabilities.setCapability(“deviceName”, “device”);

driver = new AndroidDriver(new URL(“;),capabilities);


driver.manage().timeouts().implicitlyWait(80, TimeUnit.SECONDS);

System.out.println(“****************setUp Ends****************”);

public static void main(String args[]){


System.out.println(“****************main Starts****************”);
System.out.println(“****************main Ends****************”);
catch(Exception e){



public static void tearDown() throws Exception {
System.out.println(“****************tearDown Starts****************”);

System.out.println(“****************tearDown Ends****************”);

public static void test01() throws InterruptedException {

System.out.println(“****************test01 Starts****************”);

driver.findElement(By.xpath(“YOUR TESTS HERE”));
driver.findElement(By.xpath(“YOUR TESTS HERE”));

System.out.println(“****************test01 Ends****************”);


* Method to launch the emulator programmatically
* */

public static void launchEmulator() throws ExecuteException, IOException{

System.out.println(“****************launchEmulator Starts****************”);

CommandLine launchEmul = new CommandLine(“/Applications/”);

Java Dependencies Maven

// command.addArgument(“–address”, false);
// command.addArgument(“”);
launchEmul.addArgument(“–vm-name”, false);

Java Eclipse Dependencies Download Mac Download


executor.execute(launchEmul, resultHandler);
System.out.println(“****************launchEmulator Ends****************”);

private static void killNodeAdbPlayer() throws ExecuteException, IOException, Exception{
System.out.println(“****************kill Node Adb Player Starts****************”);

CommandLine killNode = new CommandLine(“kill -9 $(lsof -i grep 6723 awk ‘{print $2}’)”);
CommandLine killPlayer = new CommandLine(“kill -9 $(lsof -i grep 6724 awk ‘{print $2}’)”);


System.out.println(“****************kill Node Adb Player Ends****************”);


The integrated development environment Eclipse is a powerful tool for computer programming. It features the base workshop as well as extensive plugin support, letting you customize the environment to your tastes.

Get to coding!

Work anywhere thanks to Eclipse’s cloud-based feature that shares your projects to the cloud.

Developed in Java with its main focus being Java, you’re able to code in a variety of languages such as Ada, C, C++, COBOL, Fortran, D, JavaScript, Groovy, Erlang, Haskell, Julia, Lau, Lasso, Python, Ruby, and many more languages thanks to the multitude of plugins available. Expanding upon coding uses, you’re also capable of using Eclipse to develop documents for LaTeX, and create packages for Mathematica.

Eclipse is open source and free, which means that you get frequent updates, many versions with unique features to choose from and a wide variety of plugins. This also means you’re fully capable of taking Eclipse’s code and developing an IDE that suits your personal needs, all while coding within Eclipse itself.


Projects created within Eclipse are easy to maintain and keep secure. However, if you are sharing your computer, other users may be able to access your projects.

Eclipse is great if you’re trying to learn a new programming language, especially if you already know one as you won’t need to install a secondary IDE for that language. To find the new plugin you need for the next language you’re learning, simply use Eclipse’s marketplace. The marketplace has thousands of plugins and tools that are ready to be installed.

Where can you run this program?

Eclipse can be installed on Windows computers, Mac Cocoa, and Linux systems. This gives you full cross-platform use thanks to the cloud feature of Eclipse.

Is there a better alternative?

No, there are many IDE programs out there such as WebStorm IDE, but no IDE truly has as many plugins available and supports as many languages as Eclipse.

Our take

Eclipse is a robust development environment with thousands of plugins supported. The vast selection gives you multiple languages to choose from and other handy add-ons.

Should you download it?

Yes, if you’re a developer or if you’re looking to code, then this is a must-have tool. It contains an extensive collection of plugins and supports many programming languages.