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 Error - request config information post and replies

Return to the EJS Error - request config information thread
Login to post to this thread

Solved - Config file location
Brodie R
1 Posts


I found the solution while typing this. Config information was being stored in C:\Users\NAME\.EjsConsole.txt, which stores the JVM flags entered in the Advanced Options tab. I had to modify the flags to make EJS stop crashing on launch.

I'm going to leave this here, because I think it would be a good idea if this fact were added to the EJS documentation somewhere. I lost more than 3 hour to trying to fix this.

Post edited April 9, 2012 at 8:37 PM EST.

Post edited April 9, 2012 at 8:41 PM EST.

Replies to Solved - Config file location

Re: Solved - Config file location -
Francisco Esquembre
228 Posts


Yes. EJS saves user information in two (hidden) files in your user directory, .EjsConsole.txt and .Ejs.txt.

The first one contains the last configuration you used in the EJS console. The second one signals the path to your last EJS run and the source directory of your EJS workspace. This is used when you try to open the EJS model from a self-standing JAR file.

Brodie, what was your problem exactly?


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