### GeoGebra applet not loading

by Nicholas Nguyen -I've started experimenting with GeoGebra. When I try to look at the example problem at

http://webwork.maa.org/wiki/GeoGebra1

and copy it to my course, the GeoGebra applet does not load, and gives the error:

ClassNotFoundException

geogebra.GeoGebraApplet

I tried copying the problem over to the PREP 2014 WeBWorK course, and the applet worked there. What could be going on with my course or WeBWorK installation that would cause GeoGebra applets to not work?

### Re: GeoGebra applet not loading

by Murphy Waggoner -### Re: GeoGebra applet not loading

by Nicholas Nguyen -I would be glad to work with others. I believe Paul Pearson was the mentor who presented the GeoGebra example in the last workshop. Have you posted any problems to the PREP 2014 WeBWorK course?

You can see some of my "scratch work" in a homework set titled "Nguyen_practice" (problems 21 and 22). Problem 21 is just me seeing if I can plot points in WeBWorK itself using the pg file. Problem 22 is an attempt to plot graphs in the GeoGebra applet that matches the ones in the pictures, but so far I have been unsuccessful. It seems that trying to do for loops in the Applet setup part of the code causes problems like a blank display.

As for the issue on my university's WeBWorK course, I tried copying the macros, but the same problem still happened. Have you tried it on yours yet?

Nicholas

### Re: GeoGebra applet not loading

by Murphy Waggoner -OTOH, I want to be able to have students plot points, circles, lines, etc., using Webwork.

### Re: GeoGebra applet not loading

by Nicholas Nguyen -$applet = JavaApplet(

code => "geogebra.GeoGebraApplet",

archive => "geogebra.jar",

codebase => findAppletCodebase("geogebra.jar"),

...

I was able to find the geogebra.jar on the geogebra website at

http://www.geogebra.org/webstart/4.2/unpacked/geogebra.jar

and changed the pg file:

code => "geogebra.GeoGebraApplet",

archive => "http://www.geogebra.org/webstart/4.2/unpacked/geogebra.jar",

codebase => findAppletCodebase("http://www.geogebra.org/webstart/4.2/unpacked/geogebra.jar"),

The 4.2 in the URL refers to the version of GeoGebra you use, so you may have to change it.

Meanwhile, I also solved the issue with my applet not graphing all vertices. I managed to get it to plot all vertices and edges in my graphs now. I'll try some other techniques like getting answers from the applet next week.