Hi, some mounts ago I wrote a code able to read/write USB port in order to 
communicate with an Arduino 2560. The code is written in Java. The code works 
perfectly with Ubuntu 14.04.
Some days ago I upgraded to Ubuntu 16.04 from scratch (completely erasing the 
OS partition) and I installed the GNU IO library.
I expected to run my code as in the previous OS 14.04 but when I tired to 
execute my code I noticed a problem. The problem was the inability to access 
the /dev/ttyACM0 (using the root user and a normal 'dialout' user). 
In order to resolve the problem I tried to update the OpenJDK because Java8 was 
already installed. During the upgrade I got the bug #1550950.
After this partial upgrade GNU IO was not runnable: the problem was not solved.
I resolved the problem using galternatives and setting for each j* voice the 
1081 choice (in each place where it was present).

Please write me if you need more explanation. I am glad to help the
linux community.

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-9 in Ubuntu.
https://bugs.launchpad.net/bugs/1579781

Title:
  librxtx-java fails to open /dev/ttyACM0 port!

Status in openjdk-9 package in Ubuntu:
  Incomplete

Bug description:
  In order to use librxtx-java to communicate with an arduino I have to
  use 1081 alternatives (OpenJDK 8 is 1081). In order to obtain this
  result I have installed galternatives and I have set for each j* voice
  the 1081 choice (in each place where it was present).

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: openjdk-9-jdk (not installed)
  ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
  Uname: Linux 4.4.0-22-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  Date: Mon May  9 14:44:03 2016
  ErrorMessage: tentata sovrascrittura di 
"/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h" presente anche nel 
pacchetto openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1
  InstallationDate: Installed on 2016-04-28 (11 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1
   apt  1.2.10ubuntu1
  SourcePackage: openjdk-9
  Title: package openjdk-9-jdk (not installed) failed to install/upgrade: 
tentata sovrascrittura di 
"/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h" presente anche nel 
pacchetto openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-9/+bug/1579781/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openjdk
Post to     : openjdk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openjdk
More help   : https://help.launchpad.net/ListHelp

Reply via email to