Hi, it seems the VM options for the Amper run/debu...
# amper
s
Hi, it seems the VM options for the Amper run/debug configuration are not working as expected. Is there another way to pass JVM arguments when running the main?
Copy code
7:58:07 PM: Executing 'run -m jvm --enable-preview'…

/../amper run -m jvm
Error: LinkageError occurred while loading main class MainKt
	java.lang.UnsupportedClassVersionError: Preview features are not enabled for MainKt (class file version 65.65535). Try running with '--enable-preview'

ERROR: Task ':jvm:runJvm' failed: Process exited with exit code 1
7:58:11 PM: Execution finished 'run -m jvm --enable-preview'.
Also, the IDE shows both run and debug options for shared
main()
function, but it throws the following error/warning. Does it make sense to provide an option to select the target for a shared/main run?
Copy code
8:01:48 PM: Executing 'run -m shared --main-class MainKt'…

/.../amper run -m shared --main-class MainKt

ERROR: No run tasks are available for module 'shared'
8:01:52 PM: Execution finished 'run -m shared --main-class MainKt'.
a
They don't work, we need to spend some effort to design run configuration dialog This one is kind of rudiment, yes, we don't pass any fields anywhere Sorry for inconvenience, stay tuned There is an YT ticket you can follow
thank you color 1