<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 14pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
Actually on second thought not sure you need polyglot jar</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 14pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 14pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
Try without it first !</div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 14pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div></div>
<div style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span>
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><b><span lang="EN-CA" style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">Michael Itkin</span></b><span lang="EN-CA" style="font-size:12.0pt; font-family:"Times New Roman",serif"><br>
</span></p>
<p style="margin:0in 0in 0pt"><font face=""Arial",sans-serif"><font size="2">Lead<span lang="EN-CA" style="color:black"> Developer  |  Content Services Engineering</span></font></font><span lang="EN-CA"></span></p>
<table style="">
<tbody>
<tr style="">
<td width="60" style="width:45.0pt; padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">Phone:</span><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">(905) 762 6276</span><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
</tr>
<tr style="">
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
<td style="padding:0in 0in 0in 0in"></td>
</tr>
<tr style="">
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
<td style="padding:0in 0in 0in 0in"></td>
</tr>
<tr style="">
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
</tr>
<tr style="">
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">Website:</span><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black"><a href="http://www.opentext.com/"><span style="color:blue">www.opentext.com</span></a></span><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
</tr>
</tbody>
</table>
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span lang="EN-CA" style=""><img class="EmojiInsert" style="max-width:100%" data-outlook-trace="F:1|T:1" src="cid:d537cd27-6810-44f5-8bfe-6ed960d68b42"></span><span lang="EN-CA" style="font-size:12.0pt; font-family:"Times New Roman",serif"><br>
<br>
</span><span lang="EN-CA" style="font-size:7.5pt; font-family:"Arial",sans-serif; color:#999999">This email message is confidential, may be privileged, and is intended for the exclusive use of the addressee. Any other person is strictly prohibited from disclosing
 or reproducing it. If the addressee cannot be reached or is unknown to you, please inform the sender by return email and delete this email message and all copies immediately.</span><span lang="EN-CA" style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
<br>
</span></div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Michael Itkin via GraalVM-Users <graalvm-users@oss.oracle.com><br>
<b>Sent:</b> January 26, 2023 9:54 AM<br>
<b>To:</b> Ikonne, Eze <ike.ikonne@capgemini.com>; the <graalvm-users@oss.oracle.com><br>
<b>Subject:</b> [EXTERNAL] - Re: [graalvm-users] Issue with using js-scriptEngine in OPENjdk17</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="background-color:#FFEB9C; width:100%; border-style:solid; border-width:1px; border-color:#9C6500; padding:1pt">
<strong><font color="red">CAUTION:</font></strong> This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. If you feel that the email is suspicious, please
 report it using PhishAlarm.</div>
<br>
<div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Sorry one more</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
polyglot-21.3.0.jar<br>
</div>
<div class="x_elementToProof">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:14pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_Signature">
<div>
<div></div>
<div style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<span>
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><b><span lang="EN-CA" style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">Michael Itkin</span></b><span lang="EN-CA" style="font-size:12.0pt; font-family:"Times New Roman",serif"><br>
</span></p>
<p style="margin:0in 0in 0pt"><font face=""Arial",sans-serif"><font size="2">Lead<span lang="EN-CA" style="color:black"> Developer  |  Content Services Engineering</span></font></font><span lang="EN-CA"></span></p>
<table style="">
<tbody>
<tr style="">
<td width="60" style="width:45.0pt; padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">Phone:</span><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">(905) 762 6276</span><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
</tr>
<tr style="">
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
<td style="padding:0in 0in 0in 0in"></td>
</tr>
<tr style="">
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
<td style="padding:0in 0in 0in 0in"></td>
</tr>
<tr style="">
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
</tr>
<tr style="">
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">Website:</span><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
<td style="padding:0in 0in 0in 0in">
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black"><a href="http://www.opentext.com/"><span style="color:blue">www.opentext.com</span></a></span><span style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
</td>
</tr>
</tbody>
</table>
<p style="margin:0in 0in 0pt; font-family:"Calibri",sans-serif; font-size:11pt"><span lang="EN-CA" style=""><img class="x_EmojiInsert" style="max-width:100%" data-outlook-trace="F:2|T:2" src="cid:f263025b-a326-4f27-bfb5-53ca332a6a59"></span><span lang="EN-CA" style="font-size:12.0pt; font-family:"Times New Roman",serif"><br>
<br>
</span><span lang="EN-CA" style="font-size:7.5pt; font-family:"Arial",sans-serif; color:#999999">This email message is confidential, may be privileged, and is intended for the exclusive use of the addressee. Any other person is strictly prohibited from disclosing
 or reproducing it. If the addressee cannot be reached or is unknown to you, please inform the sender by return email and delete this email message and all copies immediately.</span><span lang="EN-CA" style="font-size:12.0pt; font-family:"Times New Roman",serif"></span></p>
<br>
</span></div>
</div>
</div>
</div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Ikonne, Eze <ike.ikonne@capgemini.com><br>
<b>Sent:</b> January 26, 2023 9:48 AM<br>
<b>To:</b> Michael Itkin <mitkin@opentext.com>; the <graalvm-users@oss.oracle.com><br>
<b>Subject:</b> [EXTERNAL] - RE: Issue with using js-scriptEngine in OPENjdk17</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_x_MsoNormal, li.x_x_MsoNormal, div.x_x_MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
p.x_x_xmsonormal, li.x_x_xmsonormal, div.x_x_xmsonormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
p.x_x_xmsolistparagraph, li.x_x_xmsolistparagraph, div.x_x_xmsolistparagraph
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
span.x_x_EmailStyle25
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
ol
        {margin-bottom:0in}
ul
        {margin-bottom:0in}
-->
</style>
<div lang="EN-US" style="word-wrap:break-word">
<div style="background-color:#FFEB9C; width:100%; border-style:solid; border-width:1px; border-color:#9C6500; padding:1pt">
<strong><font color="red">CAUTION:</font></strong> This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. If you feel that the email is suspicious, please
 report it using PhishAlarm.</div>
<br>
<div>
<div class="x_x_WordSection1">
<p class="x_x_MsoNormal">Hi Michael,</p>
<p class="x_x_MsoNormal"> </p>
<p class="x_x_MsoNormal">Thanks, I will try your approach to see if I get a better outcome.
</p>
<p class="x_x_MsoNormal"> </p>
<p class="x_x_MsoNormal">Ike</p>
<p class="x_x_MsoNormal"> </p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_x_MsoNormal"><b>From:</b> Michael Itkin <mitkin@opentext.com> <br>
<b>Sent:</b> Thursday, January 26, 2023 8:45 AM<br>
<b>To:</b> the <graalvm-users@oss.oracle.com>; Ikonne, Eze <ike.ikonne@capgemini.com><br>
<b>Subject:</b> Re: Issue with using js-scriptEngine in OPENjdk17</p>
</div>
</div>
<p class="x_x_MsoNormal"> </p>
<div>
<p class="x_x_MsoNormal" style="background:white"><span style="font-size:14.0pt; color:black">I think you need more Jar files.  When I was experimenting I used</span></p>
</div>
<div>
<p class="x_x_MsoNormal" style="background:white"><span style="font-size:14.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_x_MsoNormal" style="background:white"><span style="font-size:14.0pt; color:black"><img width="1426" height="715" id="x_x_Picture_x0020_1" style="width:14.8541in; height:7.4479in" data-outlook-trace="F:2|T:2" src="cid:image001.png@01D93162.F65D5C90"></span><span style="font-size:14.0pt; color:black"></span></p>
</div>
<div>
<div>
<p class="x_x_MsoNormal"><span style="font-size:14.0pt; color:black"> </span></p>
</div>
<div id="x_x_Signature">
<div>
<div>
<p><b><span lang="EN-CA" style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">Michael Itkin</span></b><span style="color:black"></span></p>
<p><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">Lead</span><span lang="EN-CA" style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black"> Developer  |  Content Services Engineering</span><span style="font-size:12.0pt; color:black"></span></p>
<table class="x_x_MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td width="60" style="width:45.0pt; padding:0in 0in 0in 0in">
<p><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">Phone:</span></p>
</td>
<td style="padding:0in 0in 0in 0in">
<p><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">(905) 762 6276</span></p>
</td>
</tr>
<tr>
<td style="padding:0in 0in 0in 0in"></td>
<td style="padding:0in 0in 0in 0in"></td>
</tr>
<tr>
<td style="padding:0in 0in 0in 0in"></td>
<td style="padding:0in 0in 0in 0in"></td>
</tr>
<tr>
<td style="padding:0in 0in 0in 0in"></td>
<td style="padding:0in 0in 0in 0in"></td>
</tr>
<tr>
<td style="padding:0in 0in 0in 0in">
<p><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black">Website:</span></p>
</td>
<td style="padding:0in 0in 0in 0in">
<p><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:black"><a href="http://www.opentext.com/">www.opentext.com</a></span></p>
</td>
</tr>
</tbody>
</table>
<p><span lang="EN-CA" style="color:black"><img border="0" width="170" height="32" id="x_x_Picture_x0020_2" style="width:1.7708in; height:.3333in" data-outlook-trace="F:2|T:2" src="cid:image002.gif@01D93162.F65D5C90"></span><span lang="EN-CA" style="font-size:12.0pt; font-family:"Times New Roman",serif; color:black"><br>
<br>
</span><span lang="EN-CA" style="font-size:7.5pt; font-family:"Arial",sans-serif; color:#999999">This email message is confidential, may be privileged, and is intended for the exclusive use of the addressee. Any other person is strictly prohibited from disclosing
 or reproducing it. If the addressee cannot be reached or is unknown to you, please inform the sender by return email and delete this email message and all copies immediately.</span><span style="color:black"></span></p>
<p class="x_x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
</div>
</div>
</div>
<div class="x_x_MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="x_x_divRplyFwdMsg">
<p class="x_x_MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> Ikonne, Eze via GraalVM-Users <<a href="mailto:graalvm-users@oss.oracle.com">graalvm-users@oss.oracle.com</a>><br>
<b>Sent:</b> January 25, 2023 10:49 PM<br>
<b>To:</b> the <<a href="mailto:graalvm-users@oss.oracle.com">graalvm-users@oss.oracle.com</a>><br>
<b>Subject:</b> [EXTERNAL] - [graalvm-users] Issue with using js-scriptEngine in OPENjdk17</span>
</p>
<div>
<p class="x_x_MsoNormal"> </p>
</div>
</div>
<div>
<div style="border:solid #9C6500 1.0pt; padding:1.0pt 1.0pt 1.0pt 1.0pt">
<p class="x_x_MsoNormal" style="background:#FFEB9C"><strong><span style="font-family:"Calibri",sans-serif; color:red">CAUTION:</span></strong><span style="color:black"> This email originated from outside of the organization. Do not click links or open attachments
 unless you recognize the sender and know the content is safe. If you feel that the email is suspicious, please report it using PhishAlarm.</span></p>
</div>
<p class="x_x_MsoNormal"> </p>
<div>
<div>
<p class="x_x_xmsonormal">Hi all,</p>
<p class="x_x_xmsonormal"> </p>
<p class="x_x_xmsonormal">I am trying to use the following jars to enable me to perform  java scripting  in my application running on OpenJDK17. I would</p>
<p class="x_x_xmsonormal">appreciate it if someone in this group could point me to right direction. Also, is what am trying to do actually possible?</p>
<p class="x_x_xmsonormal"> </p>
<p class="x_x_xmsonormal">Here is the scenario</p>
<p class="x_x_xmsonormal"> </p>
<ol start="1" type="1" style="margin-top:0in">
<li class="x_x_xmsolistparagraph" style="margin-left:0in">Jar files:</li></ol>
<p class="x_x_xmsolistparagraph">js-scriptengine-22.3.1.jar</p>
<p class="x_x_xmsolistparagraph">truffle-api-22.3.1.jar</p>
<p class="x_x_xmsolistparagraph">compiler-22.3.1.jar</p>
<p class="x_x_xmsolistparagraph">graal-sdk-22.3.1.jar</p>
<p class="x_x_xmsolistparagraph"> </p>
<ol start="2" type="1" style="margin-top:0in">
<li class="x_x_xmsolistparagraph" style="margin-left:0in">JDK – OpenJDK17</li></ol>
<p class="x_x_xmsonormal"> </p>
<ol start="3" type="1" style="margin-top:0in">
<li class="x_x_xmsolistparagraph" style="margin-left:0in">Code snippet</li></ol>
<p class="x_x_xmsolistparagraph"> </p>
<p class="x_x_xmsolistparagraph">ScriptEngine engine = null;</p>
<p class="x_x_xmsolistparagraph">engine =  GraalJSScriptEngine.create();  </p>
<p class="x_x_xmsolistparagraph">ScriptEngineFactory factory = engine.getFactory();</p>
<p class="x_x_xmsolistparagraph"> </p>
<ol start="4" type="1" style="margin-top:0in">
<li class="x_x_xmsolistparagraph" style="margin-left:0in">Then I got the following exception</li></ol>
<p class="x_x_xmsonormal">java.lang.NoClassDefFoundError: jdk.vm.ci.services.Services</p>
<p class="x_x_xmsonormal">        at org.graalvm.libgraal.LibGraal.<clinit>(LibGraal.java:71)</p>
<p class="x_x_xmsonormal">        at org.graalvm.compiler.truffle.runtime.hotspot.libgraal.LibGraalTruffleRuntimeAccess.getPriority(LibGraalTruffleRuntimeAccess.java:44)</p>
<p class="x_x_xmsonormal">        at com.oracle.truffle.api.Truffle.selectTruffleRuntimeAccess(Truffle.java:90)</p>
<p class="x_x_xmsonormal">        at com.oracle.truffle.api.Truffle$1.run(Truffle.java:131)</p>
<p class="x_x_xmsonormal">        at com.oracle.truffle.api.Truffle$1.run(Truffle.java:108)</p>
<p class="x_x_xmsonormal">        at java.base/java.security.AccessController.doPrivileged(AccessController.java:692)</p>
<p class="x_x_xmsonormal">        at com.oracle.truffle.api.Truffle.initRuntime(Truffle.java:108)</p>
<p class="x_x_xmsonormal">        at com.oracle.truffle.api.Truffle.<clinit>(Truffle.java:63)</p>
<p class="x_x_xmsonormal">        at com.oracle.truffle.api.impl.Accessor.getTVMCI(Accessor.java:1365)</p>
<p class="x_x_xmsonormal">        at com.oracle.truffle.api.impl.Accessor$Constants.<clinit>(Accessor.java:1245)</p>
<p class="x_x_xmsonormal">        at com.oracle.truffle.api.impl.Accessor.engineSupport(Accessor.java:1306)</p>
</div>
<p class="x_x_MsoNormal"><span style="font-size:7.0pt">This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended
 recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.</span>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>