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

Function new_jvm

rust/src/lib.rs:69–77  ·  view source on GitHub ↗

Creates a new JVM, using the provided classpath entries and JVM arguments

(
    classpath_entries: Vec<ClasspathEntry>,
    java_opts: Vec<JavaOpt>,
)

Source from the content-addressed store, hash-verified

67
68/// Creates a new JVM, using the provided classpath entries and JVM arguments
69pub fn new_jvm(
70 classpath_entries: Vec<ClasspathEntry>,
71 java_opts: Vec<JavaOpt>,
72) -> errors::Result<Jvm> {
73 JvmBuilder::new()
74 .classpath_entries(classpath_entries)
75 .java_opts(java_opts)
76 .build()
77}
78
79#[no_mangle]
80pub extern "C" fn Java_org_astonbitecode_j4rs_api_invocation_NativeCallbackToRustChannelSupport_docallbacktochannel(

Callers 2

deploy_local_artifactFunction · 0.85

Calls 3

buildMethod · 0.80
java_optsMethod · 0.80
classpath_entriesMethod · 0.80

Tested by 2

deploy_local_artifactFunction · 0.68