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

オープン
#456 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java
領域
cli, tooling

調査の方向性

Start by inspecting the icedtea-web package and reproducing the javaws.exe invocation on Windows. Compare the expected javaw.exe entry point with the installed javaws.exe and the reported JVM path. Done means identifying the package or executable-resolution change needed for JOSM to launch, then verifying it with the reported setup.

索引モデルが issue の本文から書いたものです。

説明

bug

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"
}
主要言語
PowerShell
スター
314
フォーク
111
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ScoopInstaller/Java のほかの issue

ScoopInstaller/Java の issue をすべて見る

似ている issue

CLI の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。