NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
October 19, 2017, 04:09:48 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
An interdisciplinary approach. ...Wisdom
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1]   Go Down
  Print  
Author Topic: why export to web based applet does not work but work on local pc?  (Read 8077 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
lookang
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
on: January 20, 2009, 08:57:17 pm »

strangely EJS_4.1_090115 export into web applet after uploaded to a server does not load corectly, even though it works if i run from my local pc.


please take a look at my web
http://home.phy.ntnu.edu.tw/~lookang/EJS_4.1_090115/

i export as a common library but the web pages does not load correctly?

any tips how to make the web exported applet worked?

cannot be go into each simulation html to change the codebase = http://home.phy.ntnu.edu.tw/~lookang/EJS_4.1_090115/ right?

what are your settings when u export?

thanks!


* Picture 1.png (69.62 KB, 1509x830 - viewed 302 times.)
« Last Edit: January 20, 2009, 08:59:23 pm by lookang » Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #1 on: January 20, 2009, 09:01:57 pm »

Please indicated which one has problem.
I check out the following file:
http://home.phy.ntnu.edu.tw/~lookang/EJS_4.1_090115/Collision1Dwee_Simulation.html
It look fine to me.
Logged
lookang
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #2 on: January 20, 2009, 09:27:43 pm »

strange it can work on windows laptop.

i don't know what happen, but i seem to have java problem sometimes on computers.

 
what do you recommend?

uninstall all java and install again?

Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #3 on: January 20, 2009, 10:33:17 pm »

Is it possible that one of your computer is low on memory?
Check out java console and look for error message.
I need more information to help.
Logged
lookang
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #4 on: February 01, 2009, 01:10:20 pm » posted from:Singapore,,Singapore

http://www.um.es/fem/EjsWiki/index.php/FeedbackEn/00013

  Yes. I have experienced the same problem. It must be a problem of the Mac implementation of Java.

The way I solve this is by using the new capability (in recent versions of EJS) to generate HTML files that use a self-contained JAR file for each simulation.
Then, the simulations load correctly as applets also on Macs.


Think i need  self-contained JAR file for each simulation instead of common library, my applets are not loading on MACs.
will try soon
Logged
Pages: [1]   Go Up
  Print  
An interdisciplinary approach. ...Wisdom
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
work
Misc
2 20605 Last post June 29, 2007, 01:39:38 pm
by adrianbalaba
How to make sure the exported web based applet pages load quickly and work?
Questions related to EJS
lookang 1 5228 Last post January 16, 2009, 08:00:36 pm
by lookang
Fire work (projectile motion)
Examples for beginner who want to learn EJS
Fu-Kwun Hwang 1 10282 Last post February 16, 2009, 12:34:45 pm
by lookang
Excellent site ! Great work ! Cheers ! 44/board:4-3-
Thermodynamics
Alultitoguits 0 3190 Last post December 22, 2010, 09:34:54 pm
by Alultitoguits
is ejs missing export to movie as *.mov?
Questions related to EJS
lookang 3 3277 Last post March 23, 2011, 08:47:30 pm
by lookang
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.052 seconds with 23 queries.since 2011/06/15