# Unable to Invoke browser(Chrome or Firefox)

**URL:** <https://discuss.circleci.com/t/unable-to-invoke-browser-chrome-or-firefox/22828>\
**Category:** Build Environment\
**Created:** [June 7, 2018, 8:21am UTC](https://discuss.circleci.com/t/unable-to-invoke-browser-chrome-or-firefox/22828 "2018-06-07T08:21:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giri070](https://avatars.discourse-cdn.com/v4/letter/g/87869e/32.png) [@Giri070](https://discuss.circleci.com/u/Giri070)\
**Post date:** [June 7, 2018, 8:21am UTC](https://discuss.circleci.com/t/unable-to-invoke-browser-chrome-or-firefox/22828/1 "2018-06-07T08:21:56Z")

</div>

I have configured config.yml with Maven(Java), its working in local machine but not with CircleCI. Please find the config.yml and error screenshot.

 ![Screenshot%20from%202018-06-07%2011-38-26](https://global.discourse-cdn.com/circleci/original/3X/0/b/0bd354be7ce3b0eefbef5c3ddaac161cdf7f3c31.png)

# Java Maven CircleCI 2.0 configuration file

# 

# Check [https://circleci.com/docs/2.0/language-java/](https://circleci.com/docs/2.0/language-java/) for more details

# 

version: 2  
jobs:  
build:  
docker:  
# specify the version you desire here  
- image: circleci/openjdk:8-jdk

```
  # Specify service dependencies here if necessary
  # CircleCI maintains a library of pre-built images
  # documented at https://circleci.com/docs/2.0/circleci-images/
  # - image: circleci/postgres:9.4
  

working_directory: ~/repo

environment:
  # Customize the JVM maximum heap limit
  MAVEN_OPTS: -Xmx3200m

steps:
  - checkout

  # Download and cache dependencies
  - restore_cache:
      keys:
      - v1-dependencies-{{ checksum "pom.xml" }}
      # fallback to using the latest cache if no exact match is found
      - v1-dependencies-

  - run: mvn dependency:go-offline

  - save_cache:
      paths:
        - ~/.m2
      key: v1-dependencies-{{ checksum "pom.xml" }}
    
  # run tests!
  - run: mvn integration-test
```

---

<div class="post-metadata">

**Author:** ![halfer](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/halfer/32/9083_2.png) [@halfer](https://discuss.circleci.com/u/halfer)\
**Post date:** [June 7, 2018, 9:12am UTC](https://discuss.circleci.com/t/unable-to-invoke-browser-chrome-or-firefox/22828/2 "2018-06-07T09:12:30Z")

</div>

(Please have another go at code-formatting your YAML. To format it, edit your question, select the whole of the config file, click the code button, and resave. Thanks.)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [September 5, 2018, 9:12am UTC](https://discuss.circleci.com/t/unable-to-invoke-browser-chrome-or-firefox/22828/3 "2018-09-05T09:12:33Z")

</div>

Closed on September 5, 2018, 9:12am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
