Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#456 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
cli, tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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"
}
Ngôn ngữ chính
PowerShell
Star
315
Fork
111
Merge trung bình
13 ngày 18 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ScoopInstaller/Java

Tất cả issue của ScoopInstaller/Java

Issue tương tự

Thêm issue về CLI

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.