-
-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
I tried to do something like this:
JavaCall.addClassPath("/mypath/*")
JavaCall.init(["-Xmx512M"])
It took me a while to understand why my class path was ignored.
You need to do either:
JavaCall.init(["-Xmx512M", "-Djava.class.path=/mypath/*"])
or:
JavaCall.addClassPath("/mypath/*")
JavaCall.addOpts("-Xmx512M")
JavaCall.init()
It would be nice if init(opts)
honored paths added via addClassPath
(though this raises the question of what to do if the user also includes "-Djava.class.path=..."
in opts
). Short of that, maybe the docs could mention the possible gotcha.
Metadata
Metadata
Assignees
Labels
No labels