Education Prize Logo
Science SPORE Prize
November 2011

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

Java version in ejs post and replies

Return to the Java version in ejs thread
Login to post to this thread

Can I use OpenJDK - Dec 6, 2011 at 7:12AM
Iannis Avramopoulos
4 Posts


   I have some problems in some of my simulations and I'm wondering if they occur due to the fact that I do not use Sun java. A novice question I know, but just to be sure.

   I'm using Ubuntu 11.10  32 bit and OpenJDK Runtime Environment. In terminal I give " java -version" and the response is:
   "java version "1.6.0_23"
    OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10)
    OpenJDK Server VM (build 20.0-b11, mixed mode)"

Is it OK with Ejs?

Replies to Can I use OpenJDK

Re: Can I use OpenJDK - Dec 07 2011 7:07AM
Francisco Esquembre
196 Posts

Hi Iannis,

It should work, but I am not 100% sure.

Could you please do the following?

1.- Open a console/terminal window
2.- Go to the EJS directory
3.- Type "java -jar EjsConsole.jar"

And see if it produces any error message. If so, please copy it and send it to me directly to or post it here.


Re: Re: Can I use OpenJDK - Dec 07 2011 7:23AM
89 Posts

We have tested the latest version of EJS and it appears to be working properly running under Ubuntu 10.10 and the OpenJDK Runtime Environment (IcedTea6 1.9).

Re: Re: Re: Can I use OpenJDK - Dec 09 2011 6:27AM
Iannis Avramopoulos
4 Posts

Hello and thank you both for your feedback.

I checked it and it seems that it has nothing to do with java version.

I will post a question regarding my simulations in another thread.


The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics