Nice to know that if makes effect even on Java (nice for Eclipse and OpenJUMP).
To set the priority of a job just do the following:
$ renice 20 [pid]
$ renice 20 [name_of_job*]
To get the name of the job use $ ps -afe on the prompt
The range are from "-20 to 20"
Have a great time !