Java Design & External Hardware Interface: Java needs to expand scope.

I am a long time fan of Java and although I am far from an expert I think it is a great technology, especially now with some of the new IDE's like Netbeans, IDEA, etc.

My problem is that Java still has a serious limitation for me. I cannot easily hookup to any hardware, USB data acquisition in this case, and use Java. I'm sure some of the gurus could use JINI or a third party serial package and build something but this is beyond my ability. Yes, I know accessing hardware directly breaks the cross platform rules but I can't use Java for this project so here I am forced to start using Visual Studio 2005 and C#. Can't Java simplify access to hardware so companies will start providing Java libraries for their software? I am using Measurement Computing USB DAQ hardware and I would like to be able to use their product with a Java application as smoothly as I can with Visual Studio and C#. I'm not a big fan of VS and C# but I must admit it makes this project pretty simple to get going.In Java I wouldn't be out of the gate.

Just wish I could do this in Java is all I'm saying.

For my info, please clarify if it's a Java problem or a vendor problem?

Thanks

[1203 byte] By [wpilgria] at [2007-11-26 16:21:53]
# 1
try rxtx ( http://users.frii.com/jarvi/rxtx/) or jUSB ( http://jusb.sourceforge.net/) for windows ( http://www.steelbrothers.ch/jusb/)Note these are NOT pure java. They all use JNI to do the low level stuff, but at least someone else has done it for you.matfud
matfuda at 2007-7-8 22:45:37 > top of Java-index,Java Essentials,Java Programming...
# 2

I have used rxtx in the past for some simple playing with serial ports. It is a start but I guess it's just not as polished as the current C# VS 2005 support. To me this is what is lacking in Java.....the polish/ease of use. Sure it can all be done, but the degree of difficulty is WAY higher than VS 2005 & C#. For the professional software people it's not a problem but I'm a lowly engineer just trying to get a job done. Maybe it's partly the vendor's fault for not providing the Java interface for their product but if there is no standard way of accessing USB in Java how would they go about implementing it.

Just venting a bit I suppose. I would like to use Java but it's limited in this case.

wpilgria at 2007-7-8 22:45:37 > top of Java-index,Java Essentials,Java Programming...
# 3
[url= http://jcp.org/en/jsr/detail?id=80]Someone[/url] is working on this...
bckrispia at 2007-7-8 22:45:37 > top of Java-index,Java Essentials,Java Programming...
# 4

I agree. Whether it be serial or parallel ports, USB or Firewire, some form of I/O is a vital component of general-purpose computing, and one that Java sorely lacks.

USB especially really does live up to its "universal" name, so supporting it would surely be as natural as supporting filesystem access or mouse input.

Mr_Evila at 2007-7-8 22:45:37 > top of Java-index,Java Essentials,Java Programming...