<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">We do not support ARM 32-bit and there are also no immediate plans to add such support. One future possibility is to support creating native image binaries for 32-bit ARM devices.<div class=""><br class=""></div><div class="">- thomas</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 22 Mar 2020, at 10:15, Ofir Gordon &lt;<a href="mailto:ofirg6@gmail.com" class="">ofirg6@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="rtl" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div dir="ltr" class="">Great! I found the java files both in the graalvm build products and the build&nbsp;graal-jvmci-8 products, your answer was very helpful.</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">Do you know if it is possible to compile the jvm such that it will be compatible&nbsp;for an arm 32bit system? Is regular build (such as described in the links in this thread) will be enough? or is it creating only a version compatible&nbsp;for 64bit?</div></div><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div class="gmail_quote" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div dir="rtl" class="gmail_attr">‫בתאריך יום א׳, 22 במרץ 2020 ב-10:50 מאת ‪Fabio Niephaus‬‏ &lt;‪<a href="mailto:lists@fniephaus.com" class="">lists@fniephaus.com</a>‬‏&gt;:‬<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">On Sun, Mar 22, 2020 at 9:25 AM Ofir Gordon &lt;<a href="mailto:ofirg6@gmail.com" target="_blank" class="">ofirg6@gmail.com</a>&gt; wrote:<br class="">&gt;<br class="">&gt; Thank you for your answer!<br class="">&gt;<br class="">&gt; When running mx --env ce graalvm-home I'm getting the following error message:<br class="">&gt;&nbsp; "Could not find a JDK<br class="">&gt; The following JDKs are available:<br class="">&gt;&nbsp; &nbsp;/usr/java/jdk-12.0.2<br class="">&gt;&nbsp; &nbsp;/usr/java/openjdk1.8.0_242-jvmci-20.0-b02<br class="">&gt; Specify one with the --java-home or --extra-java-homes option or with the JAVA_HOME or EXTRA_JAVA_HOMES environment variable."<br class=""><br class="">Oh no, that's an mx error. You need to run `mx --env ce graalvm-home`<br class="">inside the graal/vm directory. If that doesn't work, try this: `mx<br class="">--env ce --java-home /usr/java/openjdk1.8.0_242-jvmci-20.0-b02<br class="">graalvm-home`.<br class=""><br class="">&gt;<br class="">&gt; The two jdks specified in the message are jdks that I downloaded, not the product of the graalvm compilation.<br class="">&gt;<br class="">&gt; What does it mean build a custom JVMCI-enabled OpenJDK? I cloned the graal project from here:<span class="Apple-converted-space">&nbsp;</span><a href="https://urldefense.com/v3/__https://github.com/oracle/graal__;!!GqivPVa7Brio!KxpRLQ0X2ffkAi-J3tzVWhPGTeCmK7gKouP3G28ROuRIFNw2CtXlBLe1VzoCpVMzPOmteA$" rel="noreferrer" target="_blank" class="">https://github.com/oracle/graal</a><br class="">&gt; and built the source code in it, under graal/vm.<br class="">&gt; Isn't this the JVM source code? Did I build the wrong code? What am I missing here?<br class=""><br class="">Disclaimer: I'm not on the GraalVM team, and my understanding of this<br class="">process may not always be accurate.<br class=""><br class="">When you build a GraalVM, it copies over most of the JVMCI-enabled<br class="">JVM's components (incl. GC). So the JVM you use to build GraalVM is<br class="">basically a template for the resulting GraalVM. In your case, that<br class="">would be /usr/java/openjdk1.8.0_242-jvmci-20.0-b02. The build process<br class="">compiles and installs the Graal compiler as well as some other<br class="">GraalVM-specific components.<br class=""><br class="">The graal-jvmci-8 repo [1] let's you build your own OpenJDK with JVMCI<br class="">support, which mx accepts as a GraalVM template. So that's where you<br class="">have to look for the JVM sources if you want to modify one of the GCs.<br class=""><br class="">Hope the above makes sense!<br class=""><br class="">Fabio<br class=""><br class="">[1]<span class="Apple-converted-space">&nbsp;</span><a href="https://urldefense.com/v3/__https://github.com/graalvm/graal-jvmci-8__;!!GqivPVa7Brio!KxpRLQ0X2ffkAi-J3tzVWhPGTeCmK7gKouP3G28ROuRIFNw2CtXlBLe1VzoCpVPBvQdo2g$" rel="noreferrer" target="_blank" class="">https://github.com/graalvm/graal-jvmci-8</a><br class=""><br class="">&gt;<br class="">&gt; Again thank you for your help,<br class="">&gt; Ofir<br class="">&gt;<br class="">&gt;<br class="">&gt; ‫בתאריך יום א׳, 22 במרץ 2020 ב-1:22 מאת ‪Fabio Niephaus‬‏ &lt;‪<a href="mailto:lists@fniephaus.com" target="_blank" class="">lists@fniephaus.com</a>‬‏&gt;:‬<br class="">&gt;&gt;<br class="">&gt;&gt; Hi Ofir,<br class="">&gt;&gt;<br class="">&gt;&gt; On Sat, 21 Mar 2020 at 10:19 pm, Ofir Gordon &lt;<a href="mailto:ofirg6@gmail.com" target="_blank" class="">ofirg6@gmail.com</a>&gt; wrote:<br class="">&gt;&gt;&gt;<br class="">&gt;&gt;&gt; Hello,<br class="">&gt;&gt;&gt; I hope this is the right place to ask this question,<br class="">&gt;&gt;&gt;<br class="">&gt;&gt;&gt; I built the GraalVM jvm code from the project repository, using the following instructions. I think it completed successfully (didn't see any error messages), and it created a new folder graal\vm\mxbuild with what seems to be the compilation product.<br class="">&gt;&gt;&gt;<br class="">&gt;&gt;&gt; My question is, how do I use the compiled JVM to run a java program? usually I would expect some java execution file, but I can't find any.<br class="">&gt;&gt;<br class="">&gt;&gt; If you ran mx --env ce build to build it, mx --env ce graalvm-home should print the path to your custom built GraalVM home. This should contain the usual bin/ directory with the java binary you are looking for.<br class="">&gt;&gt;&gt;<br class="">&gt;&gt;&gt; My goal is to eventually change the jvm code in order to test the behavior of the GC, so if there is a differnt way to do it with the graalvm source code I'll appreciate your instructions.<br class="">&gt;&gt;<br class="">&gt;&gt; The JVM has lots of GC flags. But if that's not enough and you want to change the actual implementation of one of the GCs, I think you'd need to build a custom JVMCI-enabled OpenJDK (see [1]) with your patches and use that to build a GraalVM.<br class="">&gt;&gt;<br class="">&gt;&gt; Hope this helps!<br class="">&gt;&gt;<br class="">&gt;&gt; Fabio<br class="">&gt;&gt;<br class="">&gt;&gt; [1]<span class="Apple-converted-space">&nbsp;</span><a href="https://urldefense.com/v3/__https://github.com/graalvm/graal-jvmci-8__;!!GqivPVa7Brio!KxpRLQ0X2ffkAi-J3tzVWhPGTeCmK7gKouP3G28ROuRIFNw2CtXlBLe1VzoCpVPBvQdo2g$" rel="noreferrer" target="_blank" class="">https://github.com/graalvm/graal-jvmci-8</a><br class="">&gt;&gt;<br class="">&gt;&gt;<br class="">&gt;&gt;&gt; Thanks in advance,<br class="">&gt;&gt;&gt;<br class="">&gt;&gt;&gt; Ofir<br class="">&gt;&gt;&gt;<br class="">&gt;&gt;&gt; _______________________________________________<br class="">&gt;&gt;&gt; GraalVM-Dev mailing list<br class="">&gt;&gt;&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:GraalVM-Dev@oss.oracle.com" target="_blank" class="">GraalVM-Dev@oss.oracle.com</a><br class="">&gt;&gt;&gt;<span class="Apple-converted-space">&nbsp;</span><a href="https://oss.oracle.com/mailman/listinfo/graalvm-dev" rel="noreferrer" target="_blank" class="">https://oss.oracle.com/mailman/listinfo/graalvm-dev</a><br class=""></blockquote></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">GraalVM-Dev mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:GraalVM-Dev@oss.oracle.com" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">GraalVM-Dev@oss.oracle.com</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://oss.oracle.com/mailman/listinfo/graalvm-dev" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://oss.oracle.com/mailman/listinfo/graalvm-dev</a></div></blockquote></div><br class=""></div></body></html>