B
Benjamin
Is it possible to shutdown a user's computer from within Java?
Is it possible to shutdown a user's computer from within Java?
Is it possible to shutdown a user's computer from within Java?
Mr said:Well...
im not an orthodox or a conservative about Java, speaking loud about
his platform independency.
You can doit in java and it counts !!
The Power of java is about posibilities, not about the fool
conservative myths.
I was thinking something cross platform. Maybe something in the API?On which of the many platforms that Java supports? Linux? Unix? Mac?
Windows? Java is a platform-independent language -- you write your code once
and it runs on every platform. Shutting down the OS/computer is a platform-
dependent operation -- it is done differently on each platform. To
accomplish this, you would need to determine the operating system using Java
system properties and call C/C++ code via JNI to actually do the system
shutdown.
You can doit in java and it counts !!
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.