#!/bin/sh
#
RTSJ_RI=/opt/timesys/rtsj-ri
$RTSJ_RI/bin/tjvm -Xbootclasspath=.:$RTSJ_RI/lib/foundation.jar $1
Running the rtjvm from *normal* user and from *root* yields different result. It seems that running from the normal user does NOT enable real-time priorities. On the other hand, running by root make the real-time priorities enabled.
Note: when in real-time priority (running as a root) other OS process seems to be paused for a while until the real-time priority thread is finished.
reference: Peter Dibble, ``Real-time Java Platform Programming''.