Results 1 to 4 of 4
- 08-31-2009, 07:17 PM #1
Member
- Join Date
- Aug 2009
- Posts
- 9
- Rep Power
- 0
- 09-05-2009, 02:11 AM #2
You need a toolkit that uses native code to access the OS. I found this link, but I haven't tried it, so it might melt your processor. It has Javadoc, so it apparently has Java support. It can access many types of OS.
For tagging: Java retrieve Windows OS information
- 09-12-2009, 01:04 PM #3
Member
- Join Date
- Jul 2009
- Location
- bhubaneswar
- Posts
- 5
- Rep Power
- 0
thanx buddy....I don't if it helped the thread starter or not, but it helped me a lot !!!!
- 09-26-2009, 06:43 PM #4
Member
- Join Date
- Sep 2009
- Posts
- 9
- Rep Power
- 0
If you know of an API to do it in C, you can call that API from Java if you use JNI (Java Native Interface).
JNI lets you write methods for Java in C. You could write some C functions that call the functions you need from the existing API, and return the result to the Java code.
Some JNI info:
(the forum doesn't let me post links so I give you Google search terms. For each one, click on the first result from Google.)
A simple example of JNI:
google site:patriot.net "Trivial JNI example"
The JNI specification:
google site:java.sun.com "Java Native Interface Specification"
Deschutron
Similar Threads
-
How to interact with Windows Task Scheduler within Java Application
By tiburblium in forum New To JavaReplies: 0Last Post: 04-12-2009, 04:16 PM -
swt application running
By wolve634 in forum SWT / JFaceReplies: 3Last Post: 10-28-2008, 02:14 PM -
java : how to hide application icon from a task bar
By yogeshagashe in forum Advanced JavaReplies: 0Last Post: 03-12-2008, 01:05 PM -
Running a application in java
By barney in forum Java AppletsReplies: 1Last Post: 08-07-2007, 07:12 AM -
Running application in back
By fernando in forum Advanced JavaReplies: 1Last Post: 08-01-2007, 12:25 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks