Skip to content

Commit

Permalink
GetServerAppVersion uses configured JVM, not system default.
Browse files Browse the repository at this point in the history
  • Loading branch information
not-napoleon committed Jan 14, 2017
1 parent 8e8a9d5 commit e318b10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autoload/javacomplete/server.vim
Expand Up @@ -56,12 +56,12 @@ function! javacomplete#server#Terminate()
endfunction

function! s:GetServerAppVersion()
let classpath =
\ s:GetJavaviClassPath(). g:PATH_SEP.
let classpath =
\ s:GetJavaviClassPath(). g:PATH_SEP.
\ s:GetJavaviDeps(). g:PATH_SEP
return system(join(
\ [
\ 'java', '-cp', classpath,
\ javacomplete#server#GetJVMLauncher(), '-cp', classpath,
\ 'kg.ash.javavi.Javavi -version'
\ ]))
endfunction
Expand Down

0 comments on commit e318b10

Please sign in to comment.