<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Dear Kevin,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I followed your suggestion, and using the 32-bit version I was able to run the component.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><br>
Thank you!!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Stefano<a name="_MailEndCompose"><o:p></o:p></a></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> gme-users [mailto:gme-users-bounces@list.isis.vanderbilt.edu]
<b>On Behalf Of </b>Kevin Smyth<br>
<b>Sent:</b> giovedì 16 giugno 2016 16.37<br>
<b>To:</b> A list for GME users to share thoughts and discuss bugs and fixes. <gme-users@list.isis.vanderbilt.edu><br>
<b>Subject:</b> Re: [gme-users] Java Interpreter Registration<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Stefano,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">GME does not properly report the path to Java interpreters, so that is not an indication of the error.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Instead of the "X" icon, you should see a Java cup. Be sure you are running 32-bit GME. Under Help->About GME, it should read "16.3.23... x86". It is "GME" from the start menu, not "GME (64 bit)". Java interpreters do not work with 64-bit
 GME.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I can reproduce your error message if I try to run the Java interpreter in 64-bit GME:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">---------------------------<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">GME<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">---------------------------<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Component execution failed: Class not registered<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">: 'Mga.Interpreter.TestJava'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">---------------------------<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">OK   <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">---------------------------<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">(I believe "interfaccia non registrata" is not the correct translation of that error code. The first google result for it is this:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://stackoverflow.com/questions/3960437/net-comexception-interface-non-registered">http://stackoverflow.com/questions/3960437/net-comexception-interface-non-registered</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Which points to REGDB_E_CLASSNOTREG, which is "Class not registered" according to
<a href="https://msdn.microsoft.com/en-us/library/cc704587.aspx">https://msdn.microsoft.com/en-us/library/cc704587.aspx</a>)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">There is only one source of registration for User (non-system) mode. If you run JavaCompRegister.exe and select "Register systemwide", it should not show up in 64-bit GME, since in the System registry, 32- and 64-bit are separated. (Unregister
 the interpreter first if you want to try this)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Kevin<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, Jun 16, 2016 at 1:51 PM, Iannucci, Stefano <<a href="mailto:stefano@dasi.msstate.edu" target="_blank">stefano@dasi.msstate.edu</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dear GME developers,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I'm a new GME user and I'm really appreciating it so far.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I'm trying to register a simple Java Interpreter following the instructions that I found on the Lesson 8 of the tutorial and on
<a href="http://www.isis.vanderbilt.edu/sites/default/files/13-interpreters2.ppt" target="_blank">
http://www.isis.vanderbilt.edu/sites/default/files/13-interpreters2.ppt</a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I realized a simple Java class (BONInterpreter.java, attached) and I registered the corresponding compiled class with JavaCompRegister.exe<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">However, even though the registration was successful, the components window on GME does not report the path to the interpreter (components.png) and when I try to execute it I get
 an "interface not registered" error message (interface_not_registered.png).<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I'm currently using Windows 10 and GME 16.3.23.2919 x64. I have installed both the 32 and 64 bit versions of Java.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Could you please give me some hint to solve this problem?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thank you.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Best regards,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Stefano Iannucci<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
gme-users mailing list<br>
<a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a><br>
<a href="http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/gme-users" target="_blank">http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/gme-users</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>