knitex 0 Newbie Poster

I have recently started using VIM for writing java code so I'm still getting use to the things i can do with it. I'm having trouble compelling the file directly in vim. I would like to have it so i can use :compile to compile the programs and then it would print the errors in a split window. Here is my current .vimrc file.

1 call pathogen#runtime_append_all_bundles()
  2 call pathogen#helptags()
  3 filetype plugin on
  4 map <silent> ,m :wall<CR>:make<CR>
  5 compiler ant
  6 setlocal makeprg=javac
  7 map <F9> :make<Return:copen<Return>
  8 map <F10> :cprevious<Return>
  9 map <F11> :cnext<Return>
 10 
 11 syntax on  "Enables syntax highlighting for programming languages
 12 set mouse=a  "Allows you to click around the text editor with your mouse to move the cursor
 13 set showmatch "Highlights matching brackets in programming languages
 14 set autoindent  "If you're indented, new lines will also be indented
 15 set smartindent  "Automatically indents lines after opening a bracket in programming languages
 16 set backspace=2  "This makes the backspace key function like it does in other programs.
 17 set tabstop=4  "How much space Vim gives to a tab
 18 set number  "Enables line numbering
 19 set smarttab  "Improves tabbing
 20 set shiftwidth=4  "Assists code formatting
 21 colorscheme darkblue "Changes the color scheme. Change this to your liking. Lookin /usr/share/vim/vim61/colors/ for options.
 22 "setlocal spell  "Enables spell checking (CURRENTLY DISABLED because it's kinda annoying). Make sure to uncomment the next line if you use this.
 23 "set spellfile=~/.vimwords.add  "The location of the spellcheck dictionary. Uncomment this line if you uncomment the previous line.
 24 set foldmethod=manual  "Lets you hide sections of code
 25 "--- The following commands make the navigation keys work like standard editors
 26 imap <silent> <Down> <C-o>gj
 27 imap <silent> <Up> <C-o>gk
 28 nmap <silent> <Down> gj
 29 nmap <silent> <Up> gk
 30 "--- Ends navigation commands
 31 "--- The following adds a sweet menu, press F4 to use it.
 32 source $VIMRUNTIME/menu.vim
 33 set wildmenu
 34 set cpo-=<
 35 set wcm=<C-Z>
 36 map <F4> :emenu <C-Z>
 37 "--- End sweet men
 38 set makeprg=javac
 39 set efm=\ %#[javac]\ %#%f:%l:%c:%*\\d:%*\\d:\ %t%[%^:]%#:%m,\%A\ %#[javac]\ %f:%l:\ %m,%-Z\ %#[javac]\ %p^,%-C%.%#
 40 map <F9> :set makeprg=javac\\ %<CR>:make<CR>
 41 map <F10> :!echo %\\|awk -F. '{print $1}'\\|xargs java<CR>
 42 map <F11> :set makeprg=javac\\ #<CR>:make<CR>
 43 autocmd Filetype java set makeprg=javac\ %

Thanks for the help