# \[SOLVED\] URSim running issue after a clean installation

**URL:** <https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822>\
**Category:** URCaps SDK\
**Created:** [May 29, 2017, 4:52pm UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822 "2017-05-29T16:52:59Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon46802796](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@anon46802796](https://forum.universal-robots.com/u/anon46802796)\
**Post date:** [May 29, 2017, 4:52pm UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822/1 "2017-05-29T16:52:59Z")

</div>

Hello,

I’m having an issue running the URSim (both 3.4.1 and 3.3.3) on my clean Ubuntu 17.04 where I installed the `sdk-1.1.0-76`, `idk 1.8` and Maven 3.3.9 (no Starter package). I updated both the `install.sh` (SDK and URSim) files with the tips listed on this forum. I had no problems installing the SDK and also building the _HelloWorld_ and _MyDaemon_ examples.  
After running `./install.sh` I got the three desktop icons for the ursim, but when calling `./start-ursim.sh` the program stops at 100% and on terminal I get this log:

> ~/ursim-3.4.1-59/GUI ~/ursim-3.4.1-59 ~/ursim-3.4.1-59  
> May 29, 2017 6:47:36 PM com.steadystate.css.parser.CSSOMParser   
> WARNING: java.lang.ClassNotFoundException: com.steadystate.css.parser.SACParserCSS21 not found by org.w3c.css.sac [54]  
> May 29, 2017 6:47:36 PM com.steadystate.css.parser.CSSOMParser   
> WARNING: using the default ‘SACParserCSS21’ instead  
> WARNING [Thread-3] 18:47:36 29/05/17 Configuration.checkIfDataFromControllerReceived(line:423): Method used before correct value has been received from controller, returning default = [D@71b30f0d  
> WARNING [Thread-3] 18:47:36 29/05/17 Configuration.checkIfDataFromControllerReceived(line:424): Ignoring any future reports of error  
> Could not set the title in the daemon process.  
> ERROR [Init thread] 18:47:46 29/05/17: Crashed while loading  
> com.google.inject.ProvisionException: Guice provision errors:

> 1. Error injecting constructor, java.util.ConcurrentModificationException  
> at gui.polyscope.IOTab.(IOTab.java:26)  
> while locating gui.polyscope.IOTab  
> at com.ur.g3.mainpanels.PolyscopePanel.(PolyscopePanel.java:73)  
> at com.ur.g3.mainpanels.PolyscopePanel.class(PolyscopePanel.java:45)  
> while locating com.ur.g3.mainpanels.PolyscopePanel  
> at gui.main.MainPanel.(MainPanel.java:22)  
> at gui.main.MainPanel.class(MainPanel.java:22)  
> while locating gui.main.MainPanel  
> for parameter 2 at com.ur.g3.mainpanels.SelectStartScreen.(SelectStartScreen.java:22)  
> while locating com.ur.g3.mainpanels.SelectStartScreen  
> while locating gui.main.OnStartup annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=51)  
> at com.ur.injection.GuiceBinder.configure(GuiceBinder.java:171)  
> while locating java.util.Set\<gui.main.OnStartup\>  
> for parameter 1 at gui.main.URGUI.(URGUI.java:102)  
> at gui.main.URGUI.class(URGUI.java:98)  
> while locating gui.main.URGUI

> 1 error  
> at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)  
> at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)  
> at com.ur.injection.GuiceBuilder.get(GuiceBuilder.java:26)

Sometimes also looks that the Controller cannot starts or crashes immediately. Is something related to Java framework or I made something wrong?

I will add more details for a better understanding.  
Best regards,

Matteo Timossi @anon46802796

---

<div class="post-metadata">

**Author:** ![anon16416181](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@anon16416181](https://forum.universal-robots.com/u/anon16416181)\
**Post date:** [May 29, 2017, 5:47pm UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822/2 "2017-05-29T17:47:13Z")

</div>

Hi @anon46802796,  
I had similar problems running in Ubuntu 16.04. I suggest you to try the software in Ubuntu 14.04, it works fine there.

---

<div class="post-metadata">

**Author:** ![ajp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ajp/32/471_2.png) [@ajp](https://forum.universal-robots.com/u/ajp)\
**Post date:** [May 30, 2017, 8:59am UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822/3 "2017-05-30T08:59:22Z")

</div>

Need Java 1.6 to run Polyscope… which is not so straightforward to install in recent releases as it’s been removed from standard repositories.

---

<div class="post-metadata">

**Author:** ![anon16416181](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@anon16416181](https://forum.universal-robots.com/u/anon16416181)\
**Post date:** [May 30, 2017, 12:47pm UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822/4 "2017-05-30T12:47:40Z")

</div>

You can run the simulator on 1.7 and 1.8 after you install it properly by configuring java, but the real robots have Java 1.6 installed by default, so I wouldn’t recommend it.

---

<div class="post-metadata">

**Author:** ![ajp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ajp/32/471_2.png) [@ajp](https://forum.universal-robots.com/u/ajp)\
**Post date:** [May 31, 2017, 3:50am UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822/5 "2017-05-31T03:50:41Z")

</div>

ah ok I didn’t get that far, just reverted to 1.6 🙂

---

<div class="post-metadata">

**Author:** ![anon46802796](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@anon46802796](https://forum.universal-robots.com/u/anon46802796)\
**Post date:** [May 31, 2017, 6:53am UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822/6 "2017-05-31T06:53:21Z")

</div>

Thank you @anon16416181. This works now, with 14.04, and I’m also using Java 1.7 (@ajp) without any issues.

The only thing is that, running `mvn install` it works, but running `mvn install -P ursim` for the deploy in the same VM I get some errors. I’ll take you updated.

---

<div class="post-metadata">

**Author:** ![ajp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ajp/32/471_2.png) [@ajp](https://forum.universal-robots.com/u/ajp)\
**Post date:** [January 31, 2018, 8:46am UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822/7 "2018-01-31T08:46:34Z")

</div>

In case anyone comes back to trying to install URSim under Ubuntu 16.04, it’s possible if you change this line in the install.sh file:

`commonDependencies='libcurl3 openjdk-6-jre libjava3d-* ttf-dejavu* fonts-ipafont fonts-baekmuk fonts-nanum fonts-arphic-uming fonts-arphic-ukai'`

Change openjdk-6-jre to openjdk-8-jre to prompt it to install 1.8 instead of trying to find 1.6 which doesn’t exist in the repositories.

---

<div class="post-metadata">

**Author:** ![anon46802796](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@anon46802796](https://forum.universal-robots.com/u/anon46802796)\
**Post date:** [January 31, 2018, 11:15am UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822/8 "2018-01-31T11:15:31Z")

</div>

Thank you @ajp, I tested today with Ubuntu 16.04, it works correctly.

---

<div class="post-metadata">

**Author:** ![anon60474395](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@anon60474395](https://forum.universal-robots.com/u/anon60474395)\
**Post date:** [January 31, 2018, 11:19am UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822/9 "2018-01-31T11:19:01Z")

</div>

Thank’s for this advice 🙂 I use Linux Mint 18 (based on Ubuntu 16.04). I’ve changed ‘openjdk-6-jre’ to ‘openjdk-8-jre’, have run installation (‘./install.sh’) and it went through, but there were some problems with dependencies at the end. After running ‘./start-ursim.sh’ program starts and everything looks good, but should I worry about this dependencies errors while installation?  
Where can I find ‘ursim-5.x.x’?

The result of installation:

> ~/UniversalRobots/ursim-3.4.4-97 $ ./install.sh  
> Reading package lists… Done  
> Building dependency tree  
> Reading state information… Done  
> Note, selecting ‘libjava3d-jni’ for glob ‘libjava3d-_’  
> Note, selecting ‘libjava3d-java-doc’ for glob 'libjava3d-_’  
> Note, selecting ‘libjava3d-java’ for glob ‘libjava3d-_’  
> Note, selecting ‘ttf-dejavu-core’ for glob 'ttf-dejavu_’  
> Note, selecting ‘ttf-dejavu-extra’ for glob ‘ttf-dejavu\*’  
> Note, selecting ‘ttf-dejavu’ for glob ‘ttf-dejavu\*’  
> fonts-arphic-ukai is already the newest version (0.2.20080216.2-4ubuntu2).  
> fonts-arphic-uming is already the newest version (0.2.20080216.2-7ubuntu2).  
> fonts-nanum is already the newest version (20140930-1).  
> lib32gcc1 is already the newest version (1:6.0.1-0ubuntu1).  
> fonts-baekmuk is already the newest version (2.2-11).  
> fonts-ipafont is already the newest version (00303-13ubuntu1).  
> libjava3d-java is already the newest version (1.5.2+dfsg-11ubuntu1).  
> libjava3d-java-doc is already the newest version (1.5.2+dfsg-11ubuntu1).  
> libjava3d-jni is already the newest version (1.5.2+dfsg-11ubuntu1).  
> ttf-dejavu is already the newest version (2.35-1).  
> ttf-dejavu-core is already the newest version (2.35-1).  
> ttf-dejavu-extra is already the newest version (2.35-1).  
> lib32stdc++6 is already the newest version (5.4.0-6ubuntu1~16.04.6).  
> libc6-i386 is already the newest version (2.23-0ubuntu10).  
> libcurl3 is already the newest version (7.47.0-1ubuntu2.5).  
> openjdk-8-jre is already the newest version (8u151-b12-0ubuntu0.16.04.2).  
> The following package was automatically installed and is no longer required:  
> libphobos2-ldc71  
> Use ‘apt autoremove’ to remove it.  
> 0 to upgrade, 0 to newly install, 0 to remove and 40 not to upgrade.  
> (Reading database … 328104 files and directories currently installed.)  
> Preparing to unpack …/curl-dev-ur\_7.18.2-1\_amd64.deb …  
> Unpacking curl-dev-ur (7.18.2-1) …  
> dpkg: error processing archive /home/tm/UniversalRobots/ursim-3.4.4-97/ursim-dependencies/curl-dev-ur\_7.18.2-1\_amd64.deb (–install):  
> trying to overwrite ‘/opt/urtool-3.0/share/man/man3/curl\_multi\_info\_read.3’, which is also in package urtool3 0.3  
> dpkg-deb (subprocess): decompressing archive member: internal gzip write error: Broken pipe  
> dpkg-deb (subprocess): cannot copy archive member from ‘/home/tm/UniversalRobots/ursim-3.4.4-97/ursim-dependencies/curl-dev-ur\_7.18.2-1\_amd64.deb’ to decompressor pipe: failed to write (Broken pipe)  
> dpkg-deb: error: subprocess returned error exit status 2  
> Preparing to unpack …/libxmlrpc-c-dev-ur\_1.33.14\_amd64.deb …  
> Unpacking libxmlrpc-c-dev-ur (1.33.14) …  
> dpkg: error processing archive /home/tm/UniversalRobots/ursim-3.4.4-97/ursim-dependencies/libxmlrpc-c-dev-ur\_1.33.14\_amd64.deb (–install):  
> trying to overwrite ‘/opt/urtool-3.0/include/xmlrpc-c/abyss.h’, which is also in package urtool3 0.3  
> dpkg-deb (subprocess): decompressing archive member: internal gzip write error: Broken pipe  
> dpkg-deb: error: subprocess returned error exit status 2  
> dpkg-deb (subprocess): cannot copy archive member from ‘/home/tm/UniversalRobots/ursim-3.4.4-97/ursim-dependencies/libxmlrpc-c-dev-ur\_1.33.14\_amd64.deb’ to decompressor pipe: failed to write (Broken pipe)  
> Preparing to unpack …/libxmlrpc-c-ur\_1.33.14\_amd64.deb …  
> Unpacking libxmlrpc-c-ur (1.33.14) …  
> dpkg: error processing archive /home/tm/UniversalRobots/ursim-3.4.4-97/ursim-dependencies/libxmlrpc-c-ur\_1.33.14\_amd64.deb (–install):  
> trying to overwrite ‘/opt/urtool-3.0/lib/libxmlrpc\_server.so.3.33’, which is also in package urtool3 0.3  
> dpkg-deb (subprocess): decompressing archive member: internal gzip write error: Broken pipe  
> dpkg-deb: error: subprocess returned error exit status 2  
> dpkg-deb (subprocess): cannot copy archive member from ‘/home/tm/UniversalRobots/ursim-3.4.4-97/ursim-dependencies/libxmlrpc-c-ur\_1.33.14\_amd64.deb’ to decompressor pipe: failed to write (Broken pipe)  
> Errors were encountered while processing:  
> /home/tm/UniversalRobots/ursim-3.4.4-97/ursim-dependencies/curl-dev-ur\_7.18.2-1\_amd64.deb  
> /home/tm/UniversalRobots/ursim-3.4.4-97/ursim-dependencies/libxmlrpc-c-dev-ur\_1.33.14\_amd64.deb  
> /home/tm/UniversalRobots/ursim-3.4.4-97/ursim-dependencies/libxmlrpc-c-ur\_1.33.14\_amd64.deb

---

<div class="post-metadata">

**Author:** ![ajp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ajp/32/471_2.png) [@ajp](https://forum.universal-robots.com/u/ajp)\
**Post date:** [February 1, 2018, 1:19am UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822/10 "2018-02-01T01:19:15Z")

</div>

I would guess this won’t cause a problem, looks like it’s trying to install the xmlrpc packages that have already been installed by the SDK urtool, and can’t handle that nicely for some reason…

You could try out one of the xmlrpc samples to see if it works:

[https://www.universal-robots.com/articles/ur/interface-communication/xml-rpc-communication/](https://www.universal-robots.com/articles/ur/interface-communication/xml-rpc-communication/)

---

<div class="post-metadata">

**Author:** ![anon60474395](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@anon60474395](https://forum.universal-robots.com/u/anon60474395)\
**Post date:** [February 1, 2018, 2:26pm UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822/11 "2018-02-01T14:26:48Z")

</div>

I have tried this xmlrpc example and it works 🙂 Thanks for your help 🙂

---

<div class="post-metadata">

**Author:** ![anon77555905](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anon77555905](https://forum.universal-robots.com/u/anon77555905)\
**Post date:** [May 7, 2018, 7:12am UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822/12 "2018-05-07T07:12:48Z")

</div>

If you need to run daemons, remember step 3 in this link [[SOLVED] `DaemonContribution::start()` always ends in `ERROR` - #5 by federico.baiamonte](https://forum.universal-robots.com/t/solved-daemoncontribution-start-always-ends-in-error/399/5) **Install URsim PolyScope 3.3.3.292 on Ubuntu 16.04**

It also works for PolyScope 3.4 and 3.5

---

<div class="post-metadata">

**Author:** ![anon22503550](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@anon22503550](https://forum.universal-robots.com/u/anon22503550)\
**Post date:** [August 23, 2021, 9:24am UTC](https://forum.universal-robots.com/t/solved-ursim-running-issue-after-a-clean-installation/822/13 "2021-08-23T09:24:32Z")

</div>

Hello,

I have a similar problem with URsim 3.15.3 on melodic Ubunti 18. I tried with Java 8 and 6.

I could install it but i couldn’t run it correctly. Please help me !

 ![Screenshot from 2021-08-23 11-16-59](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/0/079c1fb2c7d4db18be151eb7f889c9c96151ad98.png)
