I can't really comment on what you are doing, but if all you wanted to do was run that piece of C code at a real-time priority then you could have just done that - with no need for Java to be involved :)
I need C because I want to interact whit only two pins of LPT port and with Javax.comm I could only write words ( so 8 pins) . I tested the RTAI capabilities in that task so I'm going to test Java Real Time capabilities with the same task =D
The experiment goes well =) thank you so much for your attention and help =) I have only one question and after I will not disturbe you , I promise you =) The question is : why the same procedure not goes and restart the system with the OS Knoppix-RTAI ?
I understand that my question was confused =D I would like know if the OS Knoppix-RTAI has incompatibility with Java Real Time (perhaps java goes in conflict with RTAI even if RTAI modules are unactivated ?Or Java need a particular kernel that Knoppix-RTAI not has? I tryed to install Java RTSistem on Knoppix-RTAI and the installation it's ok but every type of command ,launched by JRTS, causes the restart of entire system ) ...Sorry for my "unusual" or perhaps "stupid" question =)
Sorry I don't know anything about that OS combination, but if JRTS causes a system restart I'd say there's something wrong with the OS. We only use POSIX API's so any Linux that supports those API's is capable of running JRTS, but the degree of true real-time support depends on the RT capabilities of the OS.