From e318b1028745ffef6f335268dfe4c7f7fa1abea4 Mon Sep 17 00:00:00 2001 From: Mark Tozzi Date: Sat, 14 Jan 2017 15:18:05 -0500 Subject: [PATCH] GetServerAppVersion uses configured JVM, not system default. --- autoload/javacomplete/server.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autoload/javacomplete/server.vim b/autoload/javacomplete/server.vim index 4e3c7fe6..f5c9eb59 100644 --- a/autoload/javacomplete/server.vim +++ b/autoload/javacomplete/server.vim @@ -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