Skip to content

Panic raised when jvm.dll not found #163

@ShootingStar91

Description

@ShootingStar91

Crate j4rs panics on this line if JAVA_HOME environment variable is not set correctly or jvm.dll is not found from the path set as JAVA_HOME.

thread 'main' panicked at 'Could find the jvm dynamic library: JavaLocatorError { description: "Java is not installed or not added in the system PATH" }', C:\Users\Arttu\.cargo\registry\src\github.com-1ecc6299db9ec823\j4rs-0.13.0\src\api_tweaks\generic.rs:41:38

tmc-langs-rust calls it on plugins/java/src/lib.rs line 115

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions