Access to a Serial Port using Java RXTX library

Jenny Murphy jenny.murphy at episensor.com
Wed Sep 7 13:32:49 UTC 2016


Hi all,
 This is solved . The problem was to do with the Java versions supported by
RXTX.
Jenny

On 7 September 2016 at 12:51, Jenny Murphy <jenny.murphy at episensor.com>
wrote:

> Hi,
>  I am having some difficulty building RXTX (get unsatisfied link errors
> with the new shared objects and jar file).
> Is there an other alternative to workaround my original problem with the
> permissions to use lock file?
> Thanks.
>
>
> On 6 September 2016 at 12:48, Loïc Minier <loic.minier at ubuntu.com> wrote:
>
>> 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/mailm
>>> an/listinfo/snapcraft
>>>
>>>
>>
>>
>> --
>> - Loïc
>>
>
>
>
> --
> *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
>



-- 
*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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160907/5728c92f/attachment.html>


More information about the Snapcraft mailing list