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.

Java VM problem with EJS

Return to the EJS Modeling forum
Login to post to this thread

Correct java version, EJS not finding it
Scott Garland
2 Posts


Typing "java -version" into my terminal confirms that I have the latest version of java.

Its directory path is "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk"; however, the EJS console incorrectly has "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home" listed.

The field containing this path text is not editable within the EJS console, and typing the correct path in the "Launch EJS in this alternate Java VM" field does not solve the problem.

This issue has some very strange effects on EJS. All of the code text looks terrible, the run look and feel is not affected by the run look and feel options, and one of my .ejs programs will not open anymore and crashes my computer when I try.

I recently updated my Macbook Pro to Mountain Lion and I suspect that this may have some correlation to this issue.

Thanks for your help,

Current Replies - View all
Re: Correct java version,...   (Francisco Esquembre - )
Re: Re: Correct java vers...   (Scott Garland - )
OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book