processing / processing/processing4

export with java not embeded on windows does not launch program

Đang mở
#775 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.

help wanted windows
Ngôn ngữ chính
Java
Star
494
Fork
183
Merge trung bình
4 giờ 39 phút
Pull request đã merge (30 ngày)
3

Mô tả

Created by: jSdCool

Description

if you export a sketch on windows and do not check the "Include Java in the Windows (Intel 64-bit) application" box the generated executable will be unable to launch the program. after looking at the executable it appears this is caused by the command being set to %path% instead of javaw

Expected Behavior

the executable launches the program with no problem

Current Behavior

nothing happens

Steps to Reproduce

  1. make a sketch
  2. export the sketch with the "Include Java in the Windows (Intel 64-bit) application" box un checked
  3. attempt to use the generated executable

Your Environment

  • Processing version: 4.3
  • Operating System and OS version: windows 10 22H2 19045.3324

Possible Causes / Solutions

the command in the executable being set to %path% instead of javaw

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện quy trình export Windows trong Processing 4.3 với Java bị loại trừ, sau đó kiểm tra lệnh khởi chạy của tệp thực thi được tạo. Công việc được hoàn thành khi tệp thực thi đã export khởi chạy sketch thành công mà không đóng gói Java; issue không nêu tên các tệp mã nguồn hoặc các bài kiểm thử cần chạy.

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

Đánh giá

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

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.