RFR: 6889: Provide build script for making it easier to build JMC

Marcus Hirt hirt at openjdk.java.net
Wed Aug 19 19:36:27 UTC 2020


On Wed, 19 Aug 2020 19:28:28 GMT, Marcus Hirt <hirt at openjdk.org> wrote:

>> Ah. If you don't have an OpenJDK identity, then that doesn't matter.
>
> One thing that I see beginners struggling with is running the built product. Perhaps being able to launch the built
> product could be a target? And perhaps with -vm $JAVA_HOME/bin added?
> For Mac:
> target/products/org.openjdk.jmc/macosx/cocoa/x86_64/JDK\ Mission\ Control.app/Contents/MacOS/jmc -vm $JAVA_HOME/bin
> 
> For Linux:
> target/products/org.openjdk.jmc/linux/gtk/x86_64/jmc -vm $JAVA_HOME/bin

We should ensure that the script works on both Mac and Linux. Check $OSTYPE. If it starts with darwin, then MacOS X.

-------------

PR: https://git.openjdk.java.net/jmc/pull/100


More information about the jmc-dev mailing list