Skip to content

Commit 7d1d62c

Browse files
ExpandingMandfdx
authored andcommitted
fixed reduce function call (#87)
1 parent b57f0ef commit 7d1d62c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/jvm.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@ function init()
154154
init(opts)
155155
else
156156
ccp = collect(cp)
157-
init(vcat(collect(opts), reduce((x,y)->string(x,sep,y),"-Djava.class.path=$(ccp[1])",ccp[2:end])))
157+
options = collect(opts)
158+
classpath = "-Djava.class.path="*join(ccp,sep)
159+
init(vcat(options, classpath))
158160
end
159161
end
160162

0 commit comments

Comments
 (0)