Skip to content

icedtea-web: thread 'main' panicked at 'Error spawning JVM process' #456

Description

@pbb72

Bug Report

My apologies if this issue is a result of me not knowing what I'm doing.

My goal is running JOSM (installed from the extras bucket). Running that after installation returns the error message:

Windows cannot find 'javaw.exe'. Make sure you've typed the name correctly, then try again.

JOSM is a JNLP application which required Java Web Start. Searching around, I found this should be provided by the icedtea-web package from the java bucket. However, installing that package doesn't do anything to the error JOSM returns.

Checking the IcedTea-web package, I do not find javaw.exe but I do find javaws.exe. However, running that returns this error:

selected jre: C:/HOSTED~1/windows/JAVA_T~1/80F51A~1.302/x64/jre
thread 'main' panicked at 'Error spawning JVM process, java executable: [C:/HOSTED~1/windows/JAVA_T~1/80F51A~1.302/x64/jre], arguments: [["-splash:C:\\Users\\[redacted]\\scoop\\apps\\icedtea-web\\current\\share/icedtea-web\\javaws_splash.png", "-Xbootclasspath/a:C:\\Users\\[redacted]\\scoop\\apps\\icedtea-web\\current\\share/icedtea-web\\javaws.jar;C:\\Users\\[redacted]\\scoop\\apps\\icedtea-web\\current\\share/icedtea-web\\plugin.jar;C:\\Users\\[redacted]\\scoop\\apps\\icedtea-web\\current\\share/icedtea-web\\jsobject.jar;C:\\Users\\[redacted]\\scoop\\apps\\icedtea-web\\current\\win-deps-runtime\\js.jar;C:\\Users\\[redacted]\\scoop\\apps\\icedtea-web\\current\\win-deps-runtime\\tagsoup.jar;C:\\Users\\[redacted]\\scoop\\apps\\icedtea-web\\current\\win-deps-runtime\\mslinks.jar;C:/HOSTED~1/windows/JAVA_T~1/80F51A~1.302/x64/jre\\lib\\ext\\nashorn.jar;", "-classpath", "C:/HOSTED~1/windows/JAVA_T~1/80F51A~1.302/x64/jre\\lib\\rt.jar;C:/HOSTED~1/windows/JAVA_T~1/80F51A~1.302/x64/jre\\lib\\ext\\jfxrt.jar;", "-Dicedtea-web.bin.name=javaws.exe", "-Dicedtea-web.bin.location=C:\\Users\\[redacted]\\scoop\\apps\\icedtea-web\\current\\bin\\javaws.exe", "net.sourceforge.jnlp.runtime.Boot"]]', src\os_access.rs:42:19
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

System details

Windows version: 10

OS architecture: 64bit

PowerShell version: 5.1.19041.2364 and 7.3.1.

Scoop Configuration

{
  "last_update": "2023-01-09T12:39:26.1297465+01:00",
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop",
  "scoop_branch": "master"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions