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 - Oct 12, 2012 at 10:54AM
Scott Garland
2 Posts

Hello,

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,
Chad


Current Replies - View all
Re: Correct java version,...   (Francisco Esquembre - Oct 12, 2012 at 6:07PM)
Re: Re: Correct java vers...   (Scott Garland - Oct 12, 2012 at 8:09PM)
The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics