Probvlem using Water with java

I have two questions re. Remobjects Water

I want to create a standard Java Project using Java JDK 21

  1. If I can compile and run the project in Debug mode and run the program using Debug I receive the message

    Java Hotspot ™ 74-bit Server VM warning : Option -XDebug was depreciated in JDK 22 and will likely be removed in a future release. - otherwise the program runs in debug mode. What about future versions which debuggger will be used in futures versions?

  2. If I compute the program in Release mode - The program build without error message but can not be executed (unable to start program) - any solutions?hank you

I think this message is safe to ignore; it’s just an extra (deprecated) parameter we’re passing to the Java debug engine. Thanx for reminding me, i’ll have that cleaned up.

Curious. Is that with a speciifc project, ir any project (e.g. even a fresh new app from template)? I’ll have a check when i get a chance.

I created a ne project Heelo Java (nothing special). If I compile it in Visual studio 2022 with Water I can compile and run it in debug mode. If I compile it in Visual Studio 2022 release mode I can not run it in release mode.

To be clear, is the issue Debug vs Release or Water vs Visua Studio?

If you compile Release in Water, does it run ok, or fail too? If you compile Debug in VS, does it work?

Here for me, Debug and Release both run fine.