File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes system calls of linux in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "system calls of linux in java" Watch "system calls of linux in java" New topic

system calls of linux in java

Amit Bathla
Ranch Hand

Joined: Feb 11, 2005
Posts: 51
i am a novice in java and have just begin learning linux
but i have a good project in mind.but for that i want to know
how to make system calls of linux using java
we want to know about that as fast as early as two days
if possible.thanking you .

you can contact me at xxx@xxx

[obfuscated email address - Ilja]
[ February 12, 2005: Message edited by: Ilja Preuss ]

University of Florida
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
There's two ways you can make system calls from within Java code:
1) JNI
2) java.lang.Runtime#exec()

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
The Process forum is about software development processes, not operating system process. Moving the Java in General (beginners).

And please answer in this forum, not via email. Thanks!

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link:
subject: system calls of linux in java
It's not a secret anymore!