954,523 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

System program

I am given a assignment in college to make a project in java. i want to make program in java but my teachers advice to make a system program not application program.

But i don't know anything about system programming in java so please guys suggest me topics and also give the guidelines to learn system programming.

hackit
Newbie Poster
18 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

That seems like strange advice. Java was designed to be multi-platform, which is great, but the downside is that it doesn't tie strongly into the system of any one environment. You'll find that all kinds of system calls that you would use in C* are not available in Java unless they are portable across Windows, Mac and Linux.
ps: I notice you have posted a few questions recently - nothing wrong with that, but when you have got your answers please mark them "solved" to save wasted effort from helpful DaniWeb members.

ps: Just to clarify - Java has features like JNI to allow you call DLLs etc with C-style interfaces,, so anything is possible, but this takes you outside normal Java programming and gets really tacky as you start to mix Java concepts with C concepts.

JamesCherrill
Posting Genius
Moderator
6,371 posts since Apr 2008
Reputation Points: 2,130
Solved Threads: 1,073
 

You could do stuff based on the file system - eg a utility to calculate the total sizes of all the directories in a tree and sort them by size or somesuch. Java 7 has a new IO package called NIO that gives you all you need in a cross-platform implementation.

JamesCherrill
Posting Genius
Moderator
6,371 posts since Apr 2008
Reputation Points: 2,130
Solved Threads: 1,073
 
You could do stuff based on the file system - eg a utility to calculate the total sizes of all the directories in a tree and sort them by size or somesuch. Java 7 has a new IO package called NIO that gives you all you need in a cross-platform implementation.

ok. i will do it.
thanx

hackit
Newbie Poster
18 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: