<div dir="ltr">Hi Jenny,<div><br></div><div>The <a href="https://github.com/rxtx/rxtx/blob/development/INSTALL">INSTALL file</a> suggests that RXTX implements custom locking which requires OS integration; because you want your app to be the only one accessing the serial port(s), you should build RXTX with --disable-lockfiles to disable this feature of the library.</div><div><br></div><div>Cheers,</div><div>- Loïc</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 6, 2016 at 1:34 PM, Jenny Murphy <span dir="ltr"><<a href="mailto:jenny.murphy@episensor.com" target="_blank">jenny.murphy@episensor.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div> I have a java application running in a .snap package.</div><div>The java application is going to access the serial port and uses the RXTX Java library to do this. The RXTX jar is included in the .snap.</div><div><br></div><div>When it runs I get the following error :</div><div><br></div><div><div>check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.</div><div>please see: How can I use Lock Files with rxtx? in INSTALL</div><div><br></div><div><br></div><div>Anyone have any experience of this ?</div><div><br></div><div>Thanks in advance.</div><span class="HOEnZb"><font color="#888888"><div>Jenny</div><div><br></div>-- <br><div><div><strong>Jenny Murphy</strong></div>
<div><strong>EpiSensor, Georges Quay House, Georges Quay, Limerick, Ireland</strong></div>
<div>jenny.murphy<a href="mailto:jenny.murphy@episensor.com" target="_blank">@episensor.com</a> t | <a href="tel:%2B353%20%280%29%2061%20512%20511" value="+35361512511" target="_blank">+353 (0) 61 512 511</a> w | <a href="http://www.episensor.com/" target="_blank">http://www.episensor.com</a></div></div>
</font></span></div></div>
<br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">- Loïc</div></div>
</div>