system programming with java

hi,

i was trying to fetch system related data, like processor usage, through java .. but i couldn't .. i couldn't find any API for the purpose..

finally used some shellscripting...

is there any API for these purpose?

If there are no such APIs then how java.io works?

how it interact with hardware? how it read input from IO devices?

[372 byte] By [sree-123a] at [2007-10-2 13:15:54]
# 1
think about it. Java is a platform independend language. What you are asking is HIGHLY platform specific. Why would Java support it? Your best bet for platform specific stuff in Java is in the java.net projects such as this one:https://jdic.dev.java.net/
gimbal2a at 2007-7-13 10:47:40 > top of Java-index,Java Essentials,Java Programming...
# 2
i dont think so is thre any api related to know the processor or to do shellscripting
aejaz143a at 2007-7-13 10:47:40 > top of Java-index,Java Essentials,Java Programming...
# 3
> i dont think so is thre any api related to know the processor or to do shellscriptingvade retro, satanas(english translation: go away, troll)
Franck_Lefevrea at 2007-7-13 10:47:40 > top of Java-index,Java Essentials,Java Programming...
# 4
>If there are no such APIs then how java.io works?>how it interact with hardware? how it read input from IO devices?can somebody answer these?
sree-123a at 2007-7-13 10:47:40 > top of Java-index,Java Essentials,Java Programming...
# 5

> >If there are no such APIs then how java.io works?

> >how it interact with hardware? how it read input

> from IO devices?

> can somebody answer these?

Java technology includes an abstraction layer called the Java Virtual Machine. This JVM isolates all system dependencies. Once a JVM exists for a platform, pure Java programs (in bytecode form) will run on that platform.

sree-123a at 2007-7-13 10:47:40 > top of Java-index,Java Essentials,Java Programming...