[gme-users] Java Interpreter Registration

Iannucci, Stefano stefano at dasi.msstate.edu
Fri Jun 17 14:07:29 CDT 2016


Dear Kevin,
I followed your suggestion, and using the 32-bit version I was able to run the component.

Thank you!!

Best,
Stefano
From: gme-users [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Kevin Smyth
Sent: giovedì 16 giugno 2016 16.37
To: A list for GME users to share thoughts and discuss bugs and fixes. <gme-users at list.isis.vanderbilt.edu>
Subject: Re: [gme-users] Java Interpreter Registration

Hi Stefano,

GME does not properly report the path to Java interpreters, so that is not an indication of the error.


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.


I can reproduce your error message if I try to run the Java interpreter in 64-bit GME:
---------------------------
GME
---------------------------
Component execution failed: Class not registered

: 'Mga.Interpreter.TestJava'
---------------------------
OK
---------------------------
(I believe "interfaccia non registrata" is not the correct translation of that error code. The first google result for it is this:
http://stackoverflow.com/questions/3960437/net-comexception-interface-non-registered
Which points to REGDB_E_CLASSNOTREG, which is "Class not registered" according to https://msdn.microsoft.com/en-us/library/cc704587.aspx)


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)

Kevin


On Thu, Jun 16, 2016 at 1:51 PM, Iannucci, Stefano <stefano at dasi.msstate.edu<mailto:stefano at dasi.msstate.edu>> wrote:
Dear GME developers,
I'm a new GME user and I'm really appreciating it so far.
I'm trying to register a simple Java Interpreter following the instructions that I found on the Lesson 8 of the tutorial and on http://www.isis.vanderbilt.edu/sites/default/files/13-interpreters2.ppt
I realized a simple Java class (BONInterpreter.java, attached) and I registered the corresponding compiled class with JavaCompRegister.exe
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).
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.

Could you please give me some hint to solve this problem?

Thank you.
Best regards,
Stefano Iannucci

_______________________________________________
gme-users mailing list
gme-users at list.isis.vanderbilt.edu<mailto:gme-users at list.isis.vanderbilt.edu>
http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/gme-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20160617/f96090ea/attachment.html>


More information about the gme-users mailing list