Java Executable Questions

Whitaker Kohls's Avatar

Whitaker Kohls

14 Sep, 2022 03:27 AM

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:

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

    Example (Mac) launch scripts can be found on my site:

    (Not support, just a fellow user)

  2. System closed this discussion on 14 Dec, 2022 03:50 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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