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 4.x and 5.x not functioning after Java installation post and replies

Return to the EJS 4.x and 5.x not functioning after Java installation thread
Login to post to this thread

EJS not functioning after Java installation -The story
Juan Maria Fernandez
11 Posts

My system is Windows 7 ultimate. I have java 7 32 bits installed. All other java programs I have run smoothly without problems. In cannot launch EJS 4.3.x nor EJS 5.x. The console starts, ask for the workspace, and then dissapears.

When launching by java -jar EjsConsole.jar, I get the same: quick start, and then the console dissapears. After some debugging last night, after launching EjsConsole in in the Windows 7 system terminal, I obtain an error message in the Windows terminal about RMI registring process, the error output says about not being able of connecting to mi computer private network ip 192.168.1.25.

Last nignt went to sleep, and today I cannot reproduce the error. The process is the same: EjsConsole seems to start, and then quickly dissapears, but there is no error report in the Windows system terminal .

Curiously, I can work with EJS versions 3.x

It seems that the EJSConsole server cannot start properly, but not being a Java expert, I cannot be sure about this.

 

Any ideas? Could you help me, please?

 ********************************

The error message with EJS 5.0 is java.rmi.ConnectException: Conection refused to host: 192.168.1.25; nexted excetption is:  (and a lot a technical stuff here).

 

 

Post edited August 24, 2014 at 7:56 AM EST.

Post edited August 24, 2014 at 9:34 AM EST.


Replies to EJS not functioning after Java installation -The story

Re: EJS not functioning after Java installation -The story -
Francisco Esquembre
237 Posts

Jose Maria,

Try to disable the network altogether and start EjsS. If it works, then the problem is not in EjsS, but something related to the network, as I suspect.

If this fails, I'll send you a changed EJSConsole which does not exit if it cannot start EjsS.

Paco



Re: Re: EJS not functioning after Java installation -The story -
Juan Maria Fernandez
11 Posts

Thank you, Paco. Got it to work. The process was:

1) Install java 7 64 bits (having the 32 bits one already installed)

2) Put the path to java 64 bits in the system path

3) Cloning the classpath items I had in the 32 bit java with the 64 bit ones

4) Install fresh EJS version 5.0 (deleting first the previously installed versions)

5) When launching the EjsConsole.jar, let it go through the Firewall (I have the Windows Firewall active for external connections, and the Firewall asked permission).

I think 3) is not essential for EJS, but anyway 1) to 5) worked for me.

This info perhaps can be useful to others having similar problems.


**************

Paco, soy usuario de EJS desde las primeras versiones. Mis alumnos y yo hemos aprendido (sobre todo yo)  mucho con él. Nunca quise importunarte para darte las gracias, ahora es la oportunidad:

¡Un abrazo!

Post edited August 24, 2014 at 5:25 PM EST.



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