# How to send an argument when using processing-java

**URL:** <https://discourse.processing.org/t/how-to-send-an-argument-when-using-processing-java/47691>\
**Category:** Coding Questions\
**Created:** [January 3, 2026, 10:37pm UTC](https://discourse.processing.org/t/how-to-send-an-argument-when-using-processing-java/47691 "2026-01-03T22:37:46Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [January 4, 2026, 4:46am UTC](https://discourse.processing.org/t/how-to-send-an-argument-when-using-processing-java/47691/3 "2026-01-04T04:46:49Z")

</div>

Hello @paulstgeorge,

What version of Processing and OS are you using?

I use `processing cli` with Processing 4.4.10 and W10.

`processing-java`  
is now replaced with  
`processing cli`

> [@paulstgeorge](#):
>
> But, how do I send an argument, such as the value of a variable, at the same time?

See this reference for `processing-java.exe` :  
[https://github.com/processing/processing/wiki/Command-Line#adding-command-line-arguments](https://github.com/processing/processing/wiki/Command-Line#adding-command-line-arguments)

References:  
_[Processing 4 processing-java binary? - #10 by stefterv](https://discourse.processing.org/t/processing-4-processing-java-binary/47498/10)_  
_[processing cli --help links to old repository · Issue #1366 · processing/processing4 · GitHub](https://github.com/processing/processing4/issues/1366)_

`:)`

---

_[View the full topic](https://discourse.processing.org/t/how-to-send-an-argument-when-using-processing-java/47691)._
