Java Executable Questions

Whitaker Kohls's Avatar

Whitaker Kohls

14 Sep, 2022 03:27 AM

Hello!
My name is Whitaker Kohls. I recently downloaded Moneydance, and I notice that it uses a JRE.

I write programs in Java, and when creating a Windows .exe file (using Launch4J), I could not find a way to rename the process name.
It shows up as "OpenJDK Platform Binary/Java Runtime" with a sub process named the same as the window.

However, Moneydance, shows up a "Moneydance.exe". How were you able to do this? I tried researching this on the web and hit a lot (very outdated) dead ends. Is the main program not written in Java?

If you could shed any light on this, that would be great!

Thank you for your time,
-Whitaker Kohls

  1. 1 Posted by Stuart Beesley ... on 14 Sep, 2022 03:42 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    NOTE: I’m a user, not affiliated with InfiniteKind…

    Moneydance is written in Java. If you look inside the install directories you can find moneydance.jar. You can even launch MD using just the JVM and the .jar files.

    I believe the .exe uses install4j - refer:
    https://www.ej-technologies.com/products/install4j/overview.html

    You can write pure java or Py(Jy)thon extensions.

    Example (Mac) launch scripts can be found on my site:
    https://yogi1967.github.io/MoneydancePythonScripts/

    (Not support, just a fellow user)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac