Java Molecular Editor

Question types ::: qtype_jme
Maintained by Jean-Michel Védrine
Question type created by Dan Stowell. The student draw a molecule as a response to a question using the editor and that response is graded by comparing against various model answers. Old version of the JME question type were using a java applet, but this question type now uses a Javascript applet: JSME. JSME is a free and Open source molecule editor written in JavaScript.
Latest release:
147 sites
8 fans
Current versions available: 3

The JME editor can be used to design molecular structures, so you
can ask questions such as "Please draw the structure of
2,3-dichloro-but-2-ene". In order to mark responses, they need to
be converted to a simple text format called SMILES (see for more information).

So, the student must design the molecule, using the JSME Javascript Applet.
The content of the student response is automatically saved when the
student change page in the quiz either by pressing on the "Next"
button, or using the quiz navigation panel. When quiz attempt is
submitted, this response is then marked in the same way as a
(case-sensitive) short-answer question.

You can use a similar process when designing the question. Using
the JME applet, design a molecule that is a possible (right or
wrong) answer and then press a button next to the answer boxes
to store the current design as a SMILES code.

JSME is a free and Open source molecule editor written in JavaScript.

See B. Bienfait and P. Ertl, JSME: a free molecule editor in JavaScript, J. Cheminformatics 5:24 (2013)


This plugin is part of set Seeking new maintainer.

Potential privacy issues

It is not possible to use versions 1.x of this plugin without obtaining (see ) the JMEMolecularEditor© Java archive from Peter Ertl and installing it on your server (you need to put a copy of the JME.jar file in the question/type/jme/jme/ subfolder). This required code is closed source and as such has not been validated during plugin approval. Versions 2.x of this plugin use a Javascript Molecule Editor JSME which is Open source and freely available at


Screenshot #0


Jean-Michel Védrine (Lead maintainer)
Dan Stowell: Original Author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Jul 3, 2013, 2:07 AM
    I was able to contact Dan Stowell and to add him as a contributor. He was quite surprised to hear that jme question type is still alive smile
  • MD shot of me from his iphone4
    Wed, Jul 3, 2013, 11:45 AM
    Hi Jean-Michel,
    I understand and sympathise.
    Thanks for highlighting qtype_pmatchjme, i see it too relies on the closed JME.jar but doesn't distribute it.

    I will discuss this further as i do, personally, feel its not fair too.
  • Martin Dougiamas
    Wed, Jul 3, 2013, 12:00 PM
    In my opinion this is similar to any integration plugin that relies on extra things to work. As long as the plugin actually installs and uninstalls without the JME plugin, then I have no problem with it (ie the fact it isn't useful is not our concern).

    I'm OK to approve this IF (and only if):

    1) We give users FULL information on the dependency and what they need to do, in the description of this plugin and also qtype_pmatchjme.
    2) We make it explicit that JME is closed source and that we cannot vouch for it. The risk is all theirs to judge from the JME web site.
  • MD shot of me from his iphone4
    Wed, Jul 3, 2013, 2:07 PM
    Further to that, I've realised that the 'Potential privacy issues' field looks like a useful field to use to highlight the nature of risks involved here.

    I've added a FAQ here to clarify this:

    Jean-Michel, installation and using the plugin was no issue for me so i'll wait for the required changes to description before approving this.
  • Wed, Jul 3, 2013, 2:46 PM
    Hello Aparup and Martin,
    I tried to modify description and Potential privacy issues accordingly to your comments. But as English is not my native language, I would feel more comfortable if somebody else can verify the text. Fell free to edit it.
  • Wed, Jul 3, 2013, 2:50 PM
    Also thanks to Aparup for pointing me to the GPL compatible JSME javascript editor (I was not aware of it). I think it will be good to switch to JSME in a future version because it would be possible to use this plugin with mobiles.
    In fact I already started to do it, see but I need some javascript help to finish the move.
  • MD shot of me from his iphone4
    Wed, Jul 3, 2013, 8:05 PM
    I think that works for me Jean-Michel smile , that and its a reddish field helps. ok, hitting the green light.

    Nice work on the quick start to change this!
  • Tue, Nov 11, 2014, 4:07 AM
    Sorry it tooks so long to release a version using Open source JSME Modlecule Editor.
  • Ricardo Caiado
    Tue, May 19, 2015, 8:38 PM
    Just to let you know...

    "Not Found

    The requested URL /jsme/download/ was not found on this server.

    Apache/2.2.15 (CentOS) Server at Port 80"

  • Ricardo Caiado
    Wed, Dec 7, 2016, 8:36 PM
    Any upgrade to Moodle 3.2?
  • Thu, Dec 8, 2016, 5:13 PM
    I am sorry but I am now retired and I stopped Moodle coding. So I will not publish new versions and this plugin needs a new maintainer
  • Thu, May 18, 2017, 2:31 AM
    Any news concerning an upgrade to Moodle 3.x ? Many organic chemistry teachers would welcome this question type.
  • Ricardo Caiado
    Thu, May 18, 2017, 2:36 AM
    I endorse it
  • Thu, Feb 8, 2018, 2:16 AM
    Any upgrade to MOODLE 3.4?
  • Mon, Jul 8, 2019, 11:13 PM
    I am finishing my degree at Informatics Engineering and I am trying to upgrade this applet to Moodle 3.6, but I don't know how to do it. I have the JSME code and the applet one, and I am trying to update it by basing in anothers Moodle applet (like the algebra one), but it still doesn't work. Can someone help me?
1 2
Please login to post comments