Thus, you can use use unix commands as methods in your java programs. For more information, check out the following resources:
- http://en.wikipedia.org/wiki/JNI
(has examples and a good introduction)
- http://java.sun.com/developer/onlineTrai
These should help you get started.How can I change a directory (cd to somedirectory';) in java on unix?
I believe you would do it the same way you would in Windows. From my understanding about Java, it works just the same on all operating systems. I could be wrong, though. I've never looked into Java that much, myself.
No comments:
Post a Comment