Access to a Serial Port using Java RXTX library

Loïc Minier loic.minier at ubuntu.com
Tue Sep 6 11:48:41 UTC 2016


Hi Jenny,

The INSTALL file <https://github.com/rxtx/rxtx/blob/development/INSTALL>
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.

Cheers,
- Loïc

On Tue, Sep 6, 2016 at 1:34 PM, Jenny Murphy <jenny.murphy at episensor.com>
wrote:

> Hi,
>
>  I have a java application running in a .snap package.
> 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.
>
> When it runs I get the following error :
>
> check_group_uucp(): error testing lock file creation Error
> details:Permission deniedcheck_lock_status: No permission to create lock
> file.
> please see: How can I use Lock Files with rxtx? in INSTALL
>
>
> Anyone have any experience of this ?
>
> Thanks in advance.
> Jenny
>
> --
> *Jenny Murphy*
> *EpiSensor, Georges Quay House, Georges Quay, Limerick, Ireland*
> jenny.murphy at episensor.com <jenny.murphy at episensor.com>  t | +353 (0) 61
> 512 511  w | http://www.episensor.com
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>


-- 
- Loïc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160906/83df7c6e/attachment.html>


More information about the Snapcraft mailing list