Archive

Archive for April, 2009

What the heck is jexec?

April 2nd, 2009

Recently I installed JDK 6 on my CentOS instance. I noticed a weird service called jexec running on all run levels:

jexec           0:on    1:on    2:on    3:on    4:on    5:on    6:on

Googled and found this installation notes from Sun:

A new service script, named jexec, is added to /etc/init.d. This script allows users to directly execute any standalone JAR file that has an execution permission set.

OK, so it’s for executing jar files.. A tiny little bit more convenient than using java -jar, but no thanks, especially on a server.

One less thing to worry about: chkconfig –level 0123456 jexec off :D

Java , ,