LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-01-2003, 06:45 AM   #1
bnujos
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Rep: Reputation: 0
Access linux device driver from a java application


i am trying to write a java application. It have to collect some data from a device driver. i heard jni can do it , but let me know how???
or if there is any other way ??
thanks
 
Old 07-01-2003, 07:38 AM   #2
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
you can open files in /proc and /dev but i think you would then need to give the java interpreter access to these devices which i dont like the sound of. also isnt java supposed to be platform indpendant, wouldnt doing this make it horribly platform dependant?
 
Old 07-01-2003, 11:15 PM   #3
bnujos
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Original Poster
Rep: Reputation: 0
My application is not supposed to be platform nutral, It will run in linux machine only. Pls tell me specifically how to write an application that access device driver
 
Old 07-02-2003, 04:55 AM   #4
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
what device do you want to talk to?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Device Driver malacma Linux - Software 10 10-09-2007 06:14 AM
USB device is recognized, but wount access it's specific driver. Lechium Linux - Software 2 08-05-2004 01:26 PM
Problem installing sun java application server on linux R0ss_here Linux - Software 0 02-13-2004 12:14 PM
Linux Device driver: Need FAST IO Port Access Edgewise Programming 3 02-03-2004 10:52 PM
diff in Linux Driver n Linux Application abinash_y Linux - Hardware 2 05-18-2003 06:07 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration