I am trying to run my application in an ec2 instance using the command nohup java –enable-preview my-application.jar But somehow the –enable-preview flag is ignored and i still get an error on startup telling me that i should try running it with the flag –enable-preview. I use amazon’s corretto-17 as the openJDK version. Does corretto-17 not support the –enable-preview flag?
Tag: amazon-linux-2
How do I install jarsigner on Amazon Linux 2?
My understanding is that jarsigner is packaged with OpenJDK, which I’ve installed by running Now I have a bunch of synlinks to the jdk, like so: However, I don’t have jarsigner in the bin directory: What else do I need to do to install this binary? Answer It appears Amazon follows the RedHat packaging scheme with JRE and JDK separated,