Results 1 to 7 of 7
  1. #1
    Addez is offline Senior Member
    Join Date
    Aug 2009
    Posts
    294
    Rep Power
    0

    Unhappy Can someone recommend a package for reading usb?

    Hai!
    I want to learn to use the usb connection with java, but I got a problem.
    JSR-80 isnt for windows vista (unless extrem moddification and loads of techningal stuff is edited)
    jUSB ruined my computer forcing me to reset my whole computer.
    And I can't find any other packages allowing me to read usb connections with ease.

    Can you recommend me any?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,762
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by Addez View Post
    Hai!
    I want to learn to use the usb connection with java, but I got a problem.
    JSR-80 isnt for windows vista (unless extrem moddification and loads of techningal stuff is edited)
    jUSB ruined my computer forcing me to reset my whole computer.
    And I can't find any other packages allowing me to read usb connections with ease.

    Can you recommend me any?
    I wanted to recommend jUSB but it has crashed your computer already ;-) There isn't much available for usb and Java; I'm afraid that your best bet is Google. Good luck.

    kind regards,

    Jos

  3. #3
    Addez is offline Senior Member
    Join Date
    Aug 2009
    Posts
    294
    Rep Power
    0

    Default

    =( Ok, but is there any other avalibility to get java get information from an ir reciver? This is why I needed usb in the first place..

  4. #4
    AndreB's Avatar
    AndreB is offline Senior Member
    Join Date
    Dec 2009
    Location
    Stuttgart, Germany
    Posts
    114
    Rep Power
    0

    Default

    You maybe read this article (today.java.net/pub/a/today/2006/07/06/java-and-usb.html)

    As java does not officially support USB nor does it usually "communicate" with hardware, maybe you should adapt your software:

    You can create a C/C++ application and use JNI or
    You create a C/C++ application write data to the HD or RAM (and reading it using CORBA or something) and call the Runtime.exec() from your java code.

    It all depeds. But usually hardware stuff is not plattform independent, so you really should think about non java code for communicating with your hardware.

  5. #5
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,762
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by Addez View Post
    =( Ok, but is there any other avalibility to get java get information from an ir reciver? This is why I needed usb in the first place..
    As I wrote: there isn't much USB stuff for Java; does this link help a bit?

    kind regards,

    Jos

  6. #6
    Addez is offline Senior Member
    Join Date
    Aug 2009
    Posts
    294
    Rep Power
    0

    Default

    Yea, thats the one I tried but crashed my computer on :(
    But what I ment was is ir recivers can be connected to other inputs than usb and if I can use java to connect with those inputs?

  7. #7
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,762
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by Addez View Post
    Yea, thats the one I tried but crashed my computer on :(
    But what I ment was is ir recivers can be connected to other inputs than usb and if I can use java to connect with those inputs?
    In this old IBM article they're quite enthousiastic about both the USB implementations (JSR80 and jUSB). Are you sure you did things right with that jUSB implementation?

    kind regards,

    Jos

Similar Threads

  1. Replies: 2
    Last Post: 12-17-2009, 12:06 AM
  2. Please recommend music to ringtone converter
    By hyang in forum Sun Java Wireless Toolkit
    Replies: 2
    Last Post: 01-26-2009, 06:15 PM
  3. please recommend SOAP API package
    By hyang in forum Advanced Java
    Replies: 3
    Last Post: 01-20-2009, 05:16 AM
  4. Replies: 3
    Last Post: 07-14-2008, 01:00 AM
  5. Calendars, what do you recommend to me?
    By tommy in forum New To Java
    Replies: 1
    Last Post: 07-27-2007, 11:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •