APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Ejs Windows 10 don't run simulation post and replies

Return to the Ejs Windows 10 don't run simulation thread
Login to post to this thread

Ejs Windoes 10 don't run simulation
Julio Pereyra
2 Posts

Hi everyone

I'm starting with Ejs, and I made a simple simulation (resistive divider wiht AC sourse). When I try run the simulation it's not work and ejs console show follow error:

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel

I have read documentation of ejs and java, only find that javaFX has been moved outside the JDK. I understand I need to add or install javafx in my laptop but I donĀ“t know how to do that.

I'm using jdk-16.0.2
EjsS 6.01
Windows 10 home single language

I hope you can help me, any advice I will apreciate a lot.


Replies to Ejs Windoes 10 don't run simulation

Re: Ejs Windoes 10 don't run simulation -
lookang Avatar
233 Posts

Probably you can read the instructions here

Tools required
EJSS authoring tool Direct Download recommended https://gitlab.com/ejsS/tool/tree/master/Release such as https://gitlab.com/ejsS/tool/blob/master/Release/EjsS_5.3_190422-beta.zip or any latest official version for the ability to create both Java and Javascript.
EjsS 5.X Requires Java Runtime Environment (JRE) https://www.java.com/en/download/ 1.7 or 1.8.  Latest is 8v201

It is NOT fully Java 9 compatible. Depending on your computer, your computer may need a different file.

OSP@SG blog
OSP@SG Digital Library

OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book