<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">
I think you need more Jar files.  When I was experimenting I used</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">
<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">
<img style="max-width:100%" class="ContentPasted0 w-1426 h-715" size="41628" contenttype="image/png" data-outlook-trace="F:1|T:1" src="cid:2b0f948b-4f63-4a37-a7eb-0327b5a358f5"><br>
</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:2ef43cb8-203c-4c35-abb3-df534ec79106"></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> Ikonne, Eze via GraalVM-Users <graalvm-users@oss.oracle.com><br>
<b>Sent:</b> January 25, 2023 10:49 PM<br>
<b>To:</b> the <graalvm-users@oss.oracle.com><br>
<b>Subject:</b> [EXTERNAL] - [graalvm-users] 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_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
p.x_MsoListParagraph, li.x_MsoListParagraph, div.x_MsoListParagraph
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
span.x_EmailStyle17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
ol
        {margin-bottom:0in}
ul
        {margin-bottom:0in}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72" 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_WordSection1">
<p class="x_MsoNormal">Hi all,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">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_MsoNormal">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_MsoNormal"> </p>
<p class="x_MsoNormal">Here is the scenario</p>
<p class="x_MsoNormal"> </p>
<ol start="1" type="1" style="margin-top:0in">
<li class="x_MsoListParagraph" style="margin-left:0in">Jar files:</li></ol>
<p class="x_MsoListParagraph">js-scriptengine-22.3.1.jar</p>
<p class="x_MsoListParagraph">truffle-api-22.3.1.jar</p>
<p class="x_MsoListParagraph">compiler-22.3.1.jar</p>
<p class="x_MsoListParagraph">graal-sdk-22.3.1.jar</p>
<p class="x_MsoListParagraph"> </p>
<ol start="2" type="1" style="margin-top:0in">
<li class="x_MsoListParagraph" style="margin-left:0in">JDK – OpenJDK17</li></ol>
<p class="x_MsoNormal"> </p>
<ol start="3" type="1" style="margin-top:0in">
<li class="x_MsoListParagraph" style="margin-left:0in">Code snippet</li></ol>
<p class="x_MsoListParagraph"> </p>
<p class="x_MsoListParagraph">ScriptEngine engine = null;</p>
<p class="x_MsoListParagraph">engine =  GraalJSScriptEngine.create();  </p>
<p class="x_MsoListParagraph">ScriptEngineFactory factory = engine.getFactory();</p>
<p class="x_MsoListParagraph"> </p>
<ol start="4" type="1" style="margin-top:0in">
<li class="x_MsoListParagraph" style="margin-left:0in">Then I got the following exception</li></ol>
<p class="x_MsoNormal">java.lang.NoClassDefFoundError: jdk.vm.ci.services.Services</p>
<p class="x_MsoNormal">        at org.graalvm.libgraal.LibGraal.<clinit>(LibGraal.java:71)</p>
<p class="x_MsoNormal">        at org.graalvm.compiler.truffle.runtime.hotspot.libgraal.LibGraalTruffleRuntimeAccess.getPriority(LibGraalTruffleRuntimeAccess.java:44)</p>
<p class="x_MsoNormal">        at com.oracle.truffle.api.Truffle.selectTruffleRuntimeAccess(Truffle.java:90)</p>
<p class="x_MsoNormal">        at com.oracle.truffle.api.Truffle$1.run(Truffle.java:131)</p>
<p class="x_MsoNormal">        at com.oracle.truffle.api.Truffle$1.run(Truffle.java:108)</p>
<p class="x_MsoNormal">        at java.base/java.security.AccessController.doPrivileged(AccessController.java:692)</p>
<p class="x_MsoNormal">        at com.oracle.truffle.api.Truffle.initRuntime(Truffle.java:108)</p>
<p class="x_MsoNormal">        at com.oracle.truffle.api.Truffle.<clinit>(Truffle.java:63)</p>
<p class="x_MsoNormal">        at com.oracle.truffle.api.impl.Accessor.getTVMCI(Accessor.java:1365)</p>
<p class="x_MsoNormal">        at com.oracle.truffle.api.impl.Accessor$Constants.<clinit>(Accessor.java:1245)</p>
<p class="x_MsoNormal">        at com.oracle.truffle.api.impl.Accessor.engineSupport(Accessor.java:1306)</p>
</div>
<span style="font-size:9px">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>
</div>
</div>
</body>
</html>