# Mvn install -P ursimvm

**URL:** <https://forum.universal-robots.com/t/mvn-install-p-ursimvm/237>\
**Category:** URCaps SDK\
**Created:** [September 21, 2016, 10:31am UTC](https://forum.universal-robots.com/t/mvn-install-p-ursimvm/237 "2016-09-21T10:31:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon61101646](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@anon61101646](https://forum.universal-robots.com/u/anon61101646)\
**Post date:** [September 21, 2016, 10:31am UTC](https://forum.universal-robots.com/t/mvn-install-p-ursimvm/237/1 "2016-09-21T10:31:32Z")

</div>

In order for **mvn install -P ursimvm** to work properly in the VMware.  
IP address of `<ursimvm.install.host>` in pom.xml may be the same as that of **ifconfig** results.

pom.xml

```
        <!--Host and standard user/password for UR Sim running in a VM-->
        <ursimvm.install.host> **192.168.118.128** </ursimvm.install.host>
        <ursimvm.install.username>ur</ursimvm.install.username>
        <ursimvm.install.password>easybot</ursimvm.install.password>

```

ur@ursim:~/urcap-sdk-1.0.0.7/samples/com.ur.urcap.examples.helloworld$ ifconfig  
eth0 Link encap:Ethernet HWaddr 00:0c:29:4f:c3:ae  
inet addr: **192.168.118.128** Bcast:192.168.118.255 Mask:255.255.255.0  
inet6 addr: fe80::20c:29ff:fe4f:c3ae/64 Scope:Link  
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
RX packets:54172 errors:0 dropped:0 overruns:0 frame:0  
TX packets:14253 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:19964303 (19.9 MB) TX bytes:1509038 (1.5 MB)  
Interrupt:19 Base address:0x2000

lo Link encap:Local Loopback  
inet addr:127.0.0.1 Mask:255.0.0.0  
inet6 addr: ::1/128 Scope:Host  
UP LOOPBACK RUNNING MTU:65536 Metric:1  
RX packets:7391500 errors:0 dropped:0 overruns:0 frame:0  
TX packets:7391500 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:0  
RX bytes:5045476513 (5.0 GB) TX bytes:5045476513 (5.0 GB)

---

<div class="post-metadata">

**Author:** ![jbm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/jbm/32/614_2.png) [@jbm](https://forum.universal-robots.com/u/jbm)\
**Post date:** [September 22, 2016, 2:15pm UTC](https://forum.universal-robots.com/t/mvn-install-p-ursimvm/237/2 "2016-09-22T14:15:06Z")

</div>

When you are using the `mvn install -P ursimvm` I guess this is because you have your Java development environment (e.g. Eclipse) outside of the VM, e.g. running on your Windows PC, and running the VM on this.

If you are using the development environment inside the same VM as the simulator, you should use `mvn install -P ursim`

Please refer to [this article](http://forum.universal-robots.com/t/urcap-deployment-methods/154) for elaboration on deployment methods.

---

<div class="post-metadata">

**Author:** ![anon61101646](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@anon61101646](https://forum.universal-robots.com/u/anon61101646)\
**Post date:** [October 3, 2016, 2:30pm UTC](https://forum.universal-robots.com/t/mvn-install-p-ursimvm/237/3 "2016-10-03T14:30:13Z")

</div>

Thanks Jbm,  
`mvn install -P ursim` works well. From now on I will use it.
