processing / processing/processing4

export with java not embeded on windows does not launch program

未关闭
#775 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

help wanted windows
主要语言
Java
星标
494
派生
183
平均合并
4 小时 39 分钟
30 天内合并 PR
3

描述

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,在排除 Java 的情况下重现 Processing 4.3 中的 Windows 导出流程,然后检查生成的可执行文件的启动命令。当导出的可执行文件能够在不捆绑 Java 的情况下成功启动 sketch 时,即表示完成;该 issue 未指定源文件或要运行的测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
build-system, desktop
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。