aspose file tools*
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
Author

system calls of linux in java

Amit Bathla
Ranch Hand

Joined: Feb 11, 2005
Posts: 51
hi
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 possible.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 ]

Amit
University of Florida
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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
author
Sheriff

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: http://aspose.com/file-tools
 
subject: system calls of linux in java