Communication API and Linux

But... exists an implementation of Communication API for linux?

But... exists an implementation of Communication API
for linux?http://www.google.com/search?q=javacomm+for+linux
First hit:
Java Comm Serial API How-To for Linux
http://wass.homelinux.net/howtos/Comm_How-To.shtml
� {�                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Java Communications API and Java SDK 1.4.2

    I just installed the Java Communications API 2.0 on my Windows XP system, with JDK 1.4.2. As per the install instructions, I copied files from the zip into my /lib and /bin directories and set the classpath. However, when I attempt to compile any of the samples, the compiler displays a large number of errors. I know the API documentation only references JDK1.2 -- are there any special tricks to installing on newer JDKs, or will I need to acquire an older JDK to develop?

    My path variable is still not being set! Here is the content of my autoexec.bat located on the root directory of C:\
    rem - By Groove Setup
    PATH=%PATH%;"C:\Program Files\Groove Networks\Groove\Bin"
    PATH=%PATH%;C:\PROGRAM FILES\J2SDK1.4.2_07\BIN
    /code]
    When I type 'path' at the MSDOS C:\ prompt, I receive the following in the get the following:C:\WINDOWS;C:\WINDOWS\COMMAND;\C:\PROGRAM FILES\GROOVE NETWORKS\GROOVE\BIN
    As an aside, I noticed that when I perform a search of the my hard drive (c:\), I find two autoexec.bat files. One at the root, and the other in C:\Windows\Command\EBD.
    I believe the instructions stated to modify the autoexec.bat at the root directory.
    TIA for any assistance. This is really becoming a nusance and taking up quite a bit of my time trying to resolve this problem.

  • Communication API for Linux

    I want to develop an application in Java for Linux that uses serial port .
    But java.sun.com provides communications API for Windows, Solaris but not Linux ! ! !
    Where can I find free java api to drive a serial port easily ???
    Thanks a lot

    I think you can do this using the version for Solaris/SPARC along with RXTX for Linux (do a search on google), also I think IBM did a JavaCOMM api for linux.

  • Arch Linux Turkish Community @ 8th Free Software and Linux Festival

    Hey There Guys,
    We'd love to tell you about the latest news. We were at our stand all
    day long on the very first day of 8th Free Software and Linux Festival.
    What we've done?
    * We've burnt 20 i686 and 10 x86_64 CD images and created paper CD cases
    and gave everyone for free. (unfortunetly we were only capable of doing
    40 of them and 30 cases since especially the cases were so expensive as
    they were the best quality available)
    * Made some installations for people who needs help
    * Printed nearly 30 Turkish installation manual and gave them with the
    CD's..
    * Created a "Arch Linux on Tap" concept and made it available over the
    network!    They is very cool though since anyone can put the plug in
    and install Arch with our very new and fresh Arch mirror (that have i686
    and x86_64 packages for core, testing, community, extra).
    We'll continue to do introduce Arch Linux to visitors of the festival
    and help them to discover the beauty!
    We also have some pictures for you!    Comments are welcome!
    http://www.flickr.com/photos/tunix/sets … 848517025/

    Yeah, that's mine! (which runs Leopard for now but has several virtual Arch's on it..) I'm working on installing Arch on it.. (is a 3-4 years Arch user by now btw..)

  • Accessing the Admin API via Linux (and hopefully Python)

    I have been looking through the available documentation and past forum
    entries but I see nothing really on point.
    It is possible to have a complete GW system on Linux, from server to
    client. So if it is possible to administer a GW system from Linux using
    Console One, it should be possible to access the API from Linux.
    Can anyone point me towards the appropriate documentaion? Thanks
    Bob

    Bob Brandt wrote:
    > Michael Bell wrote:
    >> Yes, but there is no admin API exposed for Linux. Period.
    >>
    >> SOAP can do message store or address book related stuff. And some client
    >> option stuff. It cannot create/delete/rename users, or do most things
    >> Admin API (Win32 only) can do.
    >
    > That is very disappointing. So even though I can have a completely
    > non-M$ system, pride myself on not sending a cent to Redmond; Novell is
    > forcing me to use their competitor's (M$) inferior OS. Even the GW API
    > Gateway is not really supported anymore!
    >
    > Thats seems stupid and udderly backwards, in other words typically Novell!
    >
    > Bob
    All a matter of resources, Bob. They've had an admin api under
    development for years, just didn't have time to make it ready for Bonsai.
    You are correct, however you must have a win32 box (or try wine, but I
    doubt that's worth it). One friend of mine then wrappered the whole
    thing in a SOAP service, so he could mostly avoid thinking about windows.

  • About Java Communication API for Windows

    hi
    I'm studying Serial Communication in university.
    I'd like to know the reason why we can't downlaod Java Communication API for Windows.
    I confirmed Comm for Linux and Soralis, but I can't find Comm for Win.
    Please tell me the reason if someone know.

    For no particular reason Sun stopped supporting the windows version
    of that package. I use rxtx which happens to allow for much faster
    communication too.
    The interface is identical to Sun's version, just the package differs: "gnu.io".
    kind regards,
    Jos

  • Error in the latest Java comm api for Linux

    installed latest Java comm api for Linux, tried test application for the Sun package:
    $ java SimpleRead
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at SimpleRead.main(SimpleRead.java:67)
    Caused by: java.lang.NullPointerException
    at javax.comm.CommPortIdentifier.findConfFile(CommPortIdentifier.java:199)
    at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:117)
    ... 1 more
    What deis this message mean? How to make you serial port support work?

    and what does this error message mean??
    The package was installed accordingly to "Java(tm) Communications API Linux Installation Instructions":
    $ls /usr/lib/libLinuxSerialParallel.so
    /usr/lib/libLinuxSerialParallel.so
    $env|grep CLASS
    CLASSPATH=<..skipped..>:/opt/commapi/jar/comm.jar:/opt/commapi/jar/commtest.jar
    $ ls /opt/jdk1.5.0_04/jre/lib/javax.comm.properties
    /opt/jdk1.5.0_04/jre/lib/javax.comm.properties
    What else does it need?

  • Java Communications API (JCA) is really that difficult???

    Hi everyone, I am an advanced developer for some years in Microsoft Platforms (.NET, VS6, etc.). I have used Microsoft Programs for a while and I can certainly say that I can develop serious programs.
    The reason I am posting this is that I am doing some reaserac in the usability of other programmer platforms for windows and linux.
    I turned towards Java about a month ago. I kno very well the structure of the language but I came across something very silly:
    I tried to install the javax.comm package! Ha ha ha...
    I thought SUN is a serious company (one o the largest) and I keep wondering why this package is so difficult to install. I tried every single post on the forums and nothing worked for me. I am using sdk1.4.1
    with SUN Studio One update 1 (formerly Forte, ha ha).
    IS THERE ANYONE OUT THERE THAT HAS THE API WORKING ON A WINDOWS 2000 PLATFORM (language doesn't matter but the answer -please- must be in english...) THAT CAN GIVE ME THE MAP OF FILES LIKE:
    c:\j2sdk1.4.1\bin\win32comm.dl
    c:\j2sdk1.4.1\lib\javax.comm.properties
    c:\j2sdk1.4.1\lib\ext\javax.comm
    c:\program files\java\j2re1.4.1\lib\javax.comm
    Classpath = <somthing>
    etc.
    Please, I can't get this working. I need to see the damn package in the Studio so that I can work properly..
    CAN THIS API ORK WITH THE STANDARD EDITION OF JAVA AND THE COMMUNITY EDITION OF FORTE???

    Hi,
    Acneto, the jar file must be mounted and the
    the parser must be updated. If the api is installed
    correctly (finally i have it running) then the ide is
    able to compile and run programs that are associated
    with the api.That's what I've told you before...I've installed the commAPI in windows 98, Me, 2000 and XP...
    The problem with installing the API (I haven't told you before because I thought you already done it...) is with the "java home". Lots of people think that their java home is the jdk\lib and may be the c:\windows\java\lib...or other. And other people think that their java home is c:\windows\java\lib and then discover that is \jdk\lib.
    So what I always advice is to make a little problem:
    class JavaHome
    System.out.println("My java home is:"+System.getProperty("java.home"));
    }And so copy the files in the wrong place...
    (I don't know if there is a different way to update
    the parser database without adding the jar to the
    filesystem).I don't think so...anyway, you can mount the jar, update the database, and then unmount!
    I will make a post today that indicates a way of
    installing the api succesfully under win2K pro with
    j2sdk1.4.1 and Sun Studio One update 1 IDE.
    By the way, I believe that a special forum regarding
    serial and parallel port communications should be
    launced by SUN. There are just too many ppl out there
    that make such applications.I agree with you!
    Best regards,
    ANeto

  • Serial Communication API

    Can anyone recommened any API's that can be used to read and write to Serial ports? I have looked into Java Communication API but this is depricated and I would prefer not to use it. I have also tried RXTX but this is a little buggy.
    Any others out there? Would prefer a Windows/Linux multiplateform solution but if not just a Windows one is fine.
    Thanks,

    Yeah, I know that's what you 'should' do, but a user doesn't always do what you expect they 'should' do. So if a user does pull out the USB cable before the application is shut down and the COM port is closed, then the error appears. Isn't there a way to catch that exception?
    Best regards,
    RoDeNtJe

  • Use of communications API

    Communication API is used for windows platform, with win32comm.dll file & it is working satisfactorily. But the same is not working with Novell. It asks for win32com.nlm file, where do I get it?
    How to shutdown windows 98/95 through java application?

    I don't think COMM API are supported in Novell. I think that they are only for Windows and Solarias but actually there is a port for Linux and BSD too (it is called RXTX).
    To shutdown windows 9x try this:
      Runtime.exec("rundll32 user32.dll,ExitWindowsEx");

  • Communications-API: Windows download missing

    Hi,
    I wanted to download the Communications API for accessing the serial port for Windows but the appropriate download seems to be got lost.
    At http://www.sun.com/download/products.xml?id=43208d3d there are downloads for Linux and Solaris only ... so does anybody know what happened with the Windows-version?
    Oxy
    PS: Sorry for double posting but the other category was really wrong for this topic...

    Thank you for the unfriendly answer.
    Btw: when do you have tried to search for that
    problem last time? You get hundreds of results that
    are related to the Comm-API somehow...http://onesearch.sun.com/search/onesearch/index.jsp?qt=javacomm+windows&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums
    Second hit has all the info you ever might need.

  • Problem with java communication api for gsm modem port

    Hi,every body
        Am using gsm modem in my project previously my linux is 32bit with 32 bit jvm of sun that time there was no problem at the time of working with gsm modem port .But now am using 64bit linux then 32bit files are not supporting to communicate with gsm modem port .How can i get java communication api for unix 64bit ,64bit jvm of sun.please any body help me ...i am searching in sun/oracle also for downloading java communication files of 64bit jvm but i didn't get the link... i need bellow java communication api files.
           ex:1)libLinuxSerialParallel.so
                2)javax.comm.properties
                3)comm.jar
                4)commtest.jar

    Moderator Action:
    This duplicate cross-post is locked.
    Stay with your original post.
    https://forums.oracle.com/thread/2602063
    (... and your hijack reply to a third thread has been removed.)

  • Dual Boot Windows 8 and Linux?

    I have (UEFI System) an ASUS K55A UEFI motherboard laptop that came factory with Windows 8. I would like to install backtrack linux and Windows 8, but before I go screwing up my laptop, I want to see if this would be at all possible. I would use a virtual
    machine, but I need Backtrack Linux on a physical machine for testing purposes as I am taking a course in computer forensics, and I want to test cracking my home wi-fi. My processor is an Intel Core i5 2.5 ghz with a 500 GB HDD and 8GB DDR3 RAM. Any insight
    on this would be appreciated. Thank You.

    Hi,
    You can refer to this article to get detail information.
    http://apcmag.com/how-to-dual-boot-windows-8-and-linux.htm
    Niki Han
    TechNet Community Support

  • DUAL BOOT windows 7 and linux HELP

    MASTERS
    im planing to have windows 7 and linux at the same time (DUAL BOOT)
    but i dont know if one key recovery still works after installation
    ihave lenovo g560
    i3 @ 2.53
    4gb ram
    any advice guys?

    hi botards01,
    If you're planning to use linux occasionally (Ubuntu for example) and you don't want to risk losing the One Key Recovery functionality, try to install Ubuntu via Wubi as this doesn't repartition your HDD but creates a virtual disk on your current OS.
    Check it out - Install Ubuntu in Windows With Wubi
    Hope this helps
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Does the Communications API work with Studio 4

    I just installed Studio 4 along with the JDK. The Java version that I am running now is:
    java version "1.4.1_02"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
    Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
    Running on MS XP.
    The Communications API seemed to work just fine on JDK 1.3 with Forte 1.0.
    I installed the Comm API as instructed and set my ClassPath:
    CLASSPATH=D:\PROGRA~1\s1studio_jdk\j2sdk1.4.1_02\lib\comm.jar;D:\MyProjects\java\GarxFace
    A call to:
    Enumeration portList;
    portList = CommPortIdentifier.getPortIdentifiers();
    does not yield any ports at all.
    Stranger yet, if I use the auto complete feature in the editor. For example if I type: m_PortID. then no members of PortID show up.
    But the code compiles just fine.
    Any idea what is going on?

    First I found the reason that the auto complete was not working. I had to mount the comm.jar file (you did not have to do this in Forte 1,0, just set the classpath). I thought that I had done that. That is the problem when you work late. ;)
    Here is a eexcerpt that I found on a search in another post:
    Copy javax.comm.properties to your <JDK>\lib directory.
    C:\>copy c:\commapi\javax.comm.properties c:\jdk1.1.6\lib
    The javax.comm.properties file must be installed. If it is not, no ports will be found by the system.
    Notice it says that "javax.comm.properties file must be installed"
    javax.comm.properties is indeed installed in my JDK lib subrirectory, but it is almost like it is not being found.

Maybe you are looking for