processing/processing4

export with java not embeded on windows does not launch program

Open

#775 opened on Aug 26, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Java (176 forks)auto 404
help wantedwindows

Repository metrics

Stars
 (439 stars)
PR merge metrics
 (PR metrics pending)

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