Re: Making driver for Linux in Java?
From: Mario_5 (mario_zupan_at_inet.hr)
Date: 01/22/04
- Next message: David Gay: "Re: Mars Rover Controlled By Java"
- Previous message: nos: "jump"
- In reply to: Jared Dykstra: "Re: Making driver for Linux in Java?"
- Next in thread: Roman: "Re: Making driver for Linux in Java?"
- Reply: Roman: "Re: Making driver for Linux in Java?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 22 Jan 2004 17:34:36 +0100
"Jared Dykstra" <dyksjare@hotmail.com> wrote in message
news:ba84b53e.0401220046.34ed9a79@posting.google.com...
> Tux <mario_zupan@inet.hr> wrote in message
news:<bum9ec$fl2$1@sunce.iskon.hr>...
> > Is it possible and does someone try to make driver
> > for Linux in Java, for some USB device?
> > Could Java do that ?
> > I saw jUSB package but it seems that works only with the
> > devices which Linux already see.
>
>
> The short answer is no. ...well kinda. Consider these two factors:
>
> * It doesn't make sense to make a driver in a high-level language
> (like Java) unless the rest of the system is also a high level
> language so it can easily interface to the driver.
>
> * Java is designed to be hardware-independent. That is reflected in
> the 'write once, run anywhere' mantra. If you write code to interface
> to the hardware directly, you have to write native code. You would
> then have to recompile this native code for each OS and ship the
> correct shared library for others to use it.
>
> So you could make a native driver for use by other Java apps...but is
> this what you want?
>
> ---
> Jared Dykstra
> http://www.bork.org/~jared
OK. It doesn't need to be a driver but can I make Java application
which reads from USB devices but for that devices driver doesn't exist?
p.s.
jUSB package for Java exist but I can't understand can I use it if Linux
doesn't see my device because there is not proper driver for it.
- Next message: David Gay: "Re: Mars Rover Controlled By Java"
- Previous message: nos: "jump"
- In reply to: Jared Dykstra: "Re: Making driver for Linux in Java?"
- Next in thread: Roman: "Re: Making driver for Linux in Java?"
- Reply: Roman: "Re: Making driver for Linux in Java?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|