NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Easy Java Simulations (2001- ) => Information and Download => Topic started by: migulati@rediffmail.com on August 19, 2006, 04:39:55 pm



Title: ejrconsole not running
Post by: migulati@rediffmail.com on August 19, 2006, 04:39:55 pm

I have unziped the ejr file. But the ejrconsole file does not run. Can anybody help me at

migulati@rediffmail.com.



Title: Re: ejrconsole not running
Post by: Fu-Kwun Hwang on April 08, 2007, 11:24:26 pm
If you download Latest version of Ejs (http://www.phy.ntnu.edu.tw/demolab/download/EjsLatest.zip)
Installation Procedure: Please make sure you have at least java run time installed.

   1. Unzip downloded file to any directory in your computer (for example:c:\) It will create a new subdirectory: Ejs
   2. Double Click Ejs/EjsConsole.jar to run it!

Please let me know the message shown on your screen. Otherwise, I would not be able to help!


Title: Re: ejrconsole not running
Post by: Ka-lolek on July 28, 2007, 10:51:11 pm
Hello Sir,
When I doubleclick EjsConsole.jar, console screen shows up and immediately disappears. There is error:
Quote
error in thread "main" java.lang.NoClassDefFoundError: C:\Ejs\EjsConsole/jar

What should I do to repair it?
Greetings
Ka-lolek


Title: Re: ejrconsole not running
Post by: Fu-Kwun Hwang on July 29, 2007, 08:54:00 pm
I just download the same file and check it with my machine. It is working fine.
Please make sure you have install the Java Run Time (http://www.java.com/en/download/manual.jsp) on your machine.


Title: Re: ejrconsole not running
Post by: Ka-lolek on July 29, 2007, 09:21:25 pm
I ensured...It's properly installed.
To prove it I checked whether I can run EjsConsole.jar from cmd console
I wrote java -jar EjsConsole.jar and everything is working well.
I don't know what is reason of it, but I'm working on it.


Title: Re: ejrconsole not running
Post by: Fu-Kwun Hwang on July 29, 2007, 10:12:13 pm
Do you mean if you type "java -jar EjsConsole.jar" and it is working well. And it is not working when you double click EjsConsole.jar?
Then it is something wrong in your setting? Not the Ejs distribution.
You can create a  bat file to run "java -jar EjsConsole.jar". Ejs was running that way.
Now, we can run ejs by double click EjsConsole.jar

I did not have the same problem as you have. So I do not know how to help now.

If you find out how to make it work, please post it here! Thank you!


Title: Re: ejrconsole not running
Post by: Ka-lolek on July 30, 2007, 03:39:10 am
Quote
Do you mean if you type "java -jar EjsConsole.jar" and it is working well. And it is not working when you double click EjsConsole.jar?
Exacktly
Quote
Then it is something wrong in your setting? Not the Ejs distribution.
I think so also. But I've never told that there is sth wrong with Ejs. Now I know that there is sth wrong with my java properties
Quote
You can create a  bat file to run "java -jar EjsConsole.jar". Ejs was running that way.
Now, we can run ejs by double click EjsConsole.jar
Thanks, it's working. But I will try to solve my problem in spite of it :)
Quote
If you find out how to make it work, please post it here! Thank you!
Certainly, I will !

Greetings
Ka-lolek