Welcome! Log In Create A New Profile

Advanced

java errors

Posted by ZachHoeken 
java errors
April 28, 2007 03:11PM
hey, i finally got my development environment setup and my graphics cards sorted out, and when i go to run the java host software i get this:

it really sucks because i need to run the java program to be able to test the controller boards. i need to test the controller boards in order to get them ready for production.

Java 3D [dev] 1.4.0-build5-experimental 24 Jun 2005 10:18:22 PDT

Exception during event dispatch:
java.lang.NoClassDefFoundError: javax.media.j3d.NativeConfigTemplate3D
at java.lang.Class.initializeClass(libgcj.so.70)
at javax.media.j3d.GraphicsConfigTemplate3D.(Unknown Source)
at java.lang.Class.initializeClass(libgcj.so.70)
at org.reprap.gui.Panel3D.createCanvas3D(Panel3D.java:230)
at org.reprap.gui.Panel3D.createView(Panel3D.java:222)
at org.reprap.gui.Panel3D.initJava3d(Panel3D.java:272)
at org.reprap.gui.Panel3D.initialise(Panel3D.java:153)
at org.reprap.gui.RepRapBuild.(RepRapBuild.java:125)
at org.reprap.Main.createAndShowGUI(Main.java:313)
at org.reprap.Main.access$24(Main.java:77)
at org.reprap.Main$23.run(Main.java:574)
at java.awt.event.InvocationEvent.dispatch(libgcj.so.70)
at java.awt.EventQueue.dispatchEvent(libgcj.so.70)
at java.awt.EventDispatchThread.run(libgcj.so.70)
Caused by: java.lang.ClassNotFoundException: sun.awt.X11GraphicsDevice not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/hoeken/workspace2/Reprap/bin/,file:/home/hoeken/workspace2/Reprap/lib/comm.jar,file:/home/hoeken/workspace2/Reprap/lib/j3dcore.jar,file:/home/hoeken/workspace2/Reprap/lib/j3dutils.jar,file:/home/hoeken/workspace2/Reprap/lib/vecmath.jar,file:/home/hoeken/workspace2/Reprap/lib/j3d-org-java3d-all.jar,file:/home/hoeken/workspace2/Reprap/lib/], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.70)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.Class.forName(libgcj.so.70)
at java.lang.Class.initializeClass(libgcj.so.70)
...13 more
Re: java errors
April 28, 2007 04:45PM
Looks like a graphics prob. Have you got Java3D 1.4 or 1.5?

Best wishes

Adrian

Dr Adrian Bowyer
[staff.bath.ac.uk]
[reprap.org]


Quoting RepRap Forum Mailer :

> Author: ZachHoeken
> Username: ZachHoeken (ool-18bab6f6.dyn.optonline.net)
> Subject: java errors
> Forum: Developers
> Link: [forums.reprap.org]
> Approved: Yes
>
> hey, i finally got my development environment setup and my graphics
> cards sorted out, and when i go to run the java host software i get
> this:
>
> it really sucks because i need to run the java program to be able to
> test the controller boards. i need to test the controller boards in
> order to get them ready for production.
>
> Java 3D 1.4.0-build5-experimental 24 Jun 2005 10:18:22 PDT
>
> Exception during event dispatch:
> java.lang.NoClassDefFoundError: javax.media.j3d.NativeConfigTemplate3D
> at java.lang.Class.initializeClass(libgcj.so.70)
> at javax.media.j3d.GraphicsConfigTemplate3D.(Unknown Source)
> at java.lang.Class.initializeClass(libgcj.so.70)
> at org.reprap.gui.Panel3D.createCanvas3D(Panel3D.java:230)
> at org.reprap.gui.Panel3D.createView(Panel3D.java:222)
> at org.reprap.gui.Panel3D.initJava3d(Panel3D.java:272)
> at org.reprap.gui.Panel3D.initialise(Panel3D.java:153)
> at org.reprap.gui.RepRapBuild.(RepRapBuild.java:125)
> at org.reprap.Main.createAndShowGUI(Main.java:313)
> at org.reprap.Main.access$24(Main.java:77)
> at org.reprap.Main$23.run(Main.java:574)
> at java.awt.event.InvocationEvent.dispatch(libgcj.so.70)
> at java.awt.EventQueue.dispatchEvent(libgcj.so.70)
> at java.awt.EventDispatchThread.run(libgcj.so.70)
> Caused by: java.lang.ClassNotFoundException:
> sun.awt.X11GraphicsDevice not found in
> gnu.gcj.runtime.SystemClassLoader{urls=,
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
> at java.net.URLClassLoader.findClass(libgcj.so.70)
> at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
> at java.lang.ClassLoader.loadClass(libgcj.so.70)
> at java.lang.ClassLoader.loadClass(libgcj.so.70)
> at java.lang.Class.forName(libgcj.so.70)
> at java.lang.Class.initializeClass(libgcj.so.70)
> ...13 more
> _______________________________________________
> Developers mailing list
> Developers@reprap.org
> [reprap.org]
>



_______________________________________________
Developers mailing list
Developers@reprap.org
[reprap.org]
Re: java errors
April 28, 2007 04:52PM
at the top of the error output it says this, so i'm guessing i have java3d installed correctly:

Java 3D 1.4.0-build5-experimental 24 Jun 2005 10:18:22 PDT

unfortunately i have an ATI card. their linux support really sucks, so i'm using the open source drivers. they may be the problem. i ordered an nvidia card today that should get here on monday. hopefully that will fix the problem.
Re: java errors
April 28, 2007 05:53PM
Quoting RepRap Forum Mailer :

> Author: ZachHoeken
> Username: ZachHoeken (ool-18bab6f6.dyn.optonline.net)
> Subject: Re: java errors
> Forum: Developers
> Link: [forums.reprap.org]
> Approved: Yes
>
> at the top of the error output it says this, so i'm guessing i have
> java3d installed correctly:
>
> Java 3D 1.4.0-build5-experimental 24 Jun 2005 10:18:22 PDT
>
> unfortunately i have an ATI card. their linux support really sucks,
> so i'm using the open source drivers. they may be the problem. i
> ordered an nvidia card today that should get here on monday.
> hopefully that will fix the problem.

Though some Nvidia cards can have (easily fixed) problems of their own. See

[www.reprap.org]

Best wishes

Adrian

Dr Adrian Bowyer
[staff.bath.ac.uk]
[reprap.org]
_______________________________________________
Developers mailing list
Developers@reprap.org
[reprap.org]
Re: java errors
April 28, 2007 06:35PM
I use ATI cards in my Windows PC and discovered that AoI was constantly crashing my graphics card. I eventually asked Peter Eastman what I could do and he suggested disabling OpenGL. I did that and never had another problem of that sort. You might want to try that and see if it helps at least till you get your Nvidia cards.
Re: java errors
May 05, 2007 06:17PM
You need the next version up. I have:

Java 3D [dev] 1.5.0-build4-experimental 28 Jun 2006 09:13:01 PDT


This is available from:

[java3d.dev.java.net]

With release notes:

[j3d-core.dev.java.net]

If it works on the Mac, that's probably worth wikifying.

Vik :v)
Re: java errors
May 05, 2007 06:31PM
okay, it says the the wrong info in the wiki... i guess i should update it.
Sorry, only registered users may post in this forum.

Click here to login