If you want to run compilers and other external programs from within jEdit, you should install the
Console
plugin. Plugins can be downloaded and installed from within jEdit using the plugin manager (
Plugins
>
Plugin Manager
).