MCPcopy Create free account
hub / github.com/astonbitecode/j4rs / java_opts

Method java_opts

rust/src/api/mod.rs:1750–1755  ·  view source on GitHub ↗

Adds Java options.

(&'a mut self, opts: Vec<JavaOpt<'a>>)

Source from the content-addressed store, hash-verified

1748
1749 /// Adds Java options.
1750 pub fn java_opts(&'a mut self, opts: Vec<JavaOpt<'a>>) -> &'a mut JvmBuilder<'a> {
1751 for opt in opts {
1752 self.java_opts.push(opt);
1753 }
1754 self
1755 }
1756
1757 /// By default, the created `Jvm`s include an implicit classpath entry that includes the j4rs jar.
1758 /// When `with_no_implicit_classpath()` is called, this classpath will not be added to the Jvm.

Callers 1

new_jvmFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected