This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How do I upgrade my OS Java version, need rxtx support

Hello,

I'm trying to connect my BBxM with an Arduino Uno3, using the Arduino IDE. Problem I'm having is the version of Java installed on my Ubuntu omap OS does not support rxtx (serial communications). Java version is 1.6.0_23. Have any users out there been able to upgrade or can point me to a link explaining how? Oracle recommends their SE Micro version, but that will not work for my application.

Thanks,

Cris

  • I am not sure if it is related to this forum or not, you must refer to a Oracle's Forum or used IDE forum or similar,

    For what I remember Serial Communications are not part of JAVA standard edition SDK's, they were provided in a separated SDK package.

    By searching in Oracle's site some of these packages seems to be united in one package JAVA ME Embedded, search for "commports" or "Generic Connection Framework" (GCF).

  • Hi Cris,

    Can you tell me what is the exact issue you are getting regarding Java.Also tell me which version you want to install???

    And upgrading the existing Java is  not supported because of the licence issue ,So you may have to do it manually.

  • Livin,

    A few things have changed since I posted my question, but basically, I have a simple Linux problem: I'm running Angstrom Linux 2011.03.. I found and installed the openjdk-6-java package and librxtx-java library using opkg. If I were to open a terminal window and type java -version, it says java can't be found. The java binary is located here: /usr/lib/jvm/java-6-openjdk/jre/bin and I have no idea where the rxtx library is located.... If I go to the bin directory, and type java -version, I get the same message as I stated before, so I'm assuming the binary file is not listed in my path statement. In order to get some response from java, I have to type ./java -version 

    Anyways, I'm trying to communicate with my Arduino Uno3 using the provided Arduino IDE version 1.0.3, and it required java to be installed and have serial communication ability.

    Being a noob to Linux is no fun...any help or suggestions would be appreciated!

    Thank you,

    Cris