Skip to content

Commit

Permalink
fixed reduce function call (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
ExpandingMan authored and dfdx committed Aug 30, 2018
1 parent b57f0ef commit 7d1d62c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/jvm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ function init()
init(opts)
else
ccp = collect(cp)
init(vcat(collect(opts), reduce((x,y)->string(x,sep,y),"-Djava.class.path=$(ccp[1])",ccp[2:end])))
options = collect(opts)
classpath = "-Djava.class.path="*join(ccp,sep)
init(vcat(options, classpath))
end
end

Expand Down

0 comments on commit 7d1d62c

Please sign in to comment.