We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › P5 sketchs won't display in Firefox
Page Index Toggle Pages: 1
P5 sketchs won't display in Firefox (Read 512 times)
P5 sketchs won't display in Firefox
Nov 24th, 2007, 2:05pm
 
I'm sorry if it's not a right place to post this,
but I have no idea why I'm not able to see some P5 sketches in Firefox. It's the latest verion, I have macBook Pro with os 10.4.x, and I of course enabled java/javascript in the firefox preference.

for example, when I go to, http://processing.unlekker.net/sphereCircles/index.html
in Safari, first it shows preload image with Sun Java logo,
then I see sphereCircles as if I run the code in p5 IDE,
but in firefox, nothing happens.

It's the same thing in many other sites where P5 sketches should display.

I'm very annoyed becuase Mozilla site is totally useless on this topic, and I'm sure that I don't need to update Java on my system or whatever becuase Safari works fine with Java.

anyone has same pain?

thank you.
Re: P5 sketchs won't display in Firefox
Reply #1 - Nov 24th, 2007, 2:21pm
 
what version of firefox are you runnning?

which version of java?
Re: P5 sketchs won't display in Firefox
Reply #2 - Nov 24th, 2007, 2:23pm
 
works for me in firefox 2.0.0.9 on os-x 10.4 ppc
Re: P5 sketchs won't display in Firefox
Reply #3 - Nov 24th, 2007, 5:34pm
 
http://processing.org/reference/troubleshooting/#applet
Re: P5 sketchs won't display in Firefox
Reply #4 - Nov 25th, 2007, 11:40am
 
this is the error message I get in the console.

### MRJPlugin:  getPluginBundle() here. ###
### MRJPlugin:  CFBundleGetBundleWithIdentifier() succeeded. ###
### MRJPlugin:  CFURLGetFSRef() succeeded. ###
Java for ppc cannot run in this configuration.
Please consult documentation.
2007-11-25 11:23:44.269 firefox-bin[212] WARNING: _wrapRunLoopWithAutoreleasePoolHandler got kCFRunLoopExit, but there are no autorelease pools in the stack.

I've tried download new version of java but I don't even know which one to download...
https://sdlc6e.sun.com/ECom/EComActionServlet;jsessionid=7E153FC48ABBC48833104A9
A30851581

and I don't even know how to figure out what version of java I have, and above all, It's not about java version issue because Safari works.

I'm running version 2.0.0.9 of firefox and i have Intel MacBook pro.
Re: P5 sketchs won't display in Firefox
Reply #5 - Nov 25th, 2007, 12:36pm
 
sounds like firefox is trying to run PPC java:

"Java for ppc cannot run in this configuration."

try downloading a universal binary or intel version of firefox ( if available ) ..

safari uses a different plugin as firefox, that's why it works i guess.

F
Re: P5 sketchs won't display in Firefox
Reply #6 - Nov 25th, 2007, 2:09pm
 
the latest version of firefox supports intel mac,
and there's no seperated version for intel/ppc.
but I finally found the reason on thier release note page for intel mac.

# Java does not run on Intel Core processors under Rosetta.

I need to launch Firefox under Rosetta because if not, newest flash plug in won't work,
and if I launch under Rosetta, Java won't work...

I'll try to update flash player enabler, but I'm quite sure that it won't change nothing.

'hope next release of firefox will fix this s**t!!

thanks for the kind replies

best,

Re: P5 sketchs won't display in Firefox
Reply #7 - Nov 25th, 2007, 2:13pm
 
java cannot be run under rosetta, that's not a firefox problem, and won't be fixed in any future release. rosetta is only a stopgap until companies update their software for intel.
Re: P5 sketchs won't display in Firefox
Reply #8 - Nov 25th, 2007, 4:29pm
 
it seems that i partly (i didn't test in many sites) solved the problem by simply removing flash player enabler (ppc) in the internet plug ins library, and launch firefox not under rosetta.
some flash games/anims work fine, and java works perfectly.

'hope this works.

Page Index Toggle Pages: 1