processing / processing/processing4

export with java not embeded on windows does not launch program

Open
#775 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted windows
Dominant language
Java
Stars
494
Forks
183
Avg merge
4h 39m
Merged PRs (30d)
3

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Windows export flow in Processing 4.3 with Java excluded, then inspect the generated executable's launch command. Done means the exported executable launches the sketch successfully without bundling Java; the issue does not name source files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.