Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Problem  (Read 4087 times)
0 Members and 1 Guest are viewing this topic.
Offline rafa_es

Junior Member





« Posted 2006-11-25 12:52:19 »

Hi guys

I know it is not the first time that this error is posted but is anyone else getting this error?

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
java.lang.NoSuchMethodError: javax.vecmath.Matrix4f.setTranslation(Ljavax/vecmat
h/Tuple3f;)V
        at org.xith3d.scenegraph.Transform3D.lookAt(Transform3D.java:692)
        at org.xith3d.scenegraph.View.lookAt(View.java:437)
        at org.xith3d.scenegraph.View.<init>(View.java:779)
        at org.xith3d.render.base.Xith3DEnvironment.<init>(Xith3DEnvironment.jav
a:796)
        at org.xith3d.render.base.ExtXith3DEnvironment.<init>(ExtXith3DEnvironme
nt.java:498)
        at org.xith3d.render.base.ExtXith3DEnvironment.<init>(ExtXith3DEnvironme
nt.java:536)
        at org.teg.game.Game.<init>(Game.java:312)
        at org.teg.game.Starter.runGame(Starter.java:95)
        at org.teg.game.Starter.onStartButtonPressed(Starter.java:41)
        at org.xith3d.utility.canvas.DisplayOptions.actionPerformed(DisplayOptio
ns.java:128)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
49)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2169)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:234)
        at java.awt.Component.processMouseEvent(Component.java:5488)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
        at java.awt.Component.processEvent(Component.java:5253)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)

        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1766)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:234)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


It only occurs in my university pc.

Rafael
Offline hawkwind

Junior Member




Java games rock!


« Reply #1 - Posted 2006-11-25 14:22:48 »

I was getting odd vecmath problems but fixed it by using the kh*jar  (dont remember exact spelling) vecmath that come with the distribution.
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #2 - Posted 2006-11-25 14:37:09 »

I was getting odd vecmath problems but fixed it by using the kh*jar  (dont remember exact spelling) vecmath that come with the distribution.

This is the exact reason. Please use the vecmath-kh.jar.

Does everyone agree to remove the vecmath.jar from SVN? It only confuses people.

Marvin
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Amos Wenger

Senior Member




Everything's possible, but not everything's fun...


« Reply #3 - Posted 2006-11-25 16:05:11 »

I was getting odd vecmath problems but fixed it by using the kh*jar  (dont remember exact spelling) vecmath that come with the distribution.

This is the exact reason. Please use the vecmath-kh.jar.

Does everyone agree to remove the vecmath.jar from SVN? It only confuses people.
+1

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline rafa_es

Junior Member





« Reply #4 - Posted 2006-11-25 16:49:18 »

This is the exact reason. Please use the vecmath-kh.jar.

Does everyone agree to remove the vecmath.jar from SVN? It only confuses people.

Marvin
+1

Rafael
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #5 - Posted 2006-11-26 01:58:53 »

OK, I will do that domorrow. I'm very drung now and don'r feel able to do that. But tomorrw I will...

Marvin
Offline Amos Wenger

Senior Member




Everything's possible, but not everything's fun...


« Reply #6 - Posted 2006-11-26 14:55:17 »

OK, I will do that domorrow. I'm very drung now and don'r feel able to do that. But tomorrw I will...
Drunk ?

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #7 - Posted 2006-11-26 17:06:31 »

Drunk ?

Yes, one of my colleagues at work had his stag night yesterday evening and I had a lot of beer Grin.
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #8 - Posted 2006-11-26 17:10:10 »

vecmath.jar is now deleted.
Offline Amos Wenger

Senior Member




Everything's possible, but not everything's fun...


« Reply #9 - Posted 2006-11-26 17:33:20 »

Drunk ?

Yes, one of my colleagues at work had his stag night yesterday evening and I had a lot of beer Grin.

 Shocked Shocked Shocked

 Cheesy

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline apohlmann

Senior Newbie





« Reply #10 - Posted 2006-11-29 17:10:32 »

Seems that I have the same problem in an older code:

Exception in thread "main" java.lang.NoSuchMethodError: javax.vecmath.Matrix4f.setTranslation(Ljavax/vecmath/Tuple3f;)V
   at org.xith3d.scenegraph.Transform3D.lookAt(Transform3D.java:691)
   at org.xith3d.scenegraph.View.lookAt(View.java:436)
   at org.xith3d.scenegraph.View.<init>(View.java:778)
   at org.xith3d.render.base.Xith3DEnvironment.<init>(Xith3DEnvironment.java:796)
   at org.xith3d.render.base.Xith3DEnvironment.<init>(Xith3DEnvironment.java:839)

But I use the vecmath-kh... and the java version is the 1.5.0_09....


Offline apohlmann

Senior Newbie





« Reply #11 - Posted 2006-11-29 17:39:04 »

What the F*** ?! *argh*

K problem solved....

I had the same Problem few weeks ago. While looking for help I found a thread where someone wrote that reinstalling the jre could fix it. So I installed the newest version and the problem was gone....

And that was exact the same! I reinstalled the 1.5.0_09 and it works now ....
But whats the reason for this ''crash'' ?? Its the second time that I use to spend some time for an unnecessary problem like that  Angry
and on top of that it is not my fault or the fault from xith....
Offline Amos Wenger

Senior Member




Everything's possible, but not everything's fun...


« Reply #12 - Posted 2006-11-29 17:45:28 »

What the F*** ?! *argh*

K problem solved....

I had the same Problem few weeks ago. While looking for help I found a thread where someone wrote that reinstalling the jre could fix it. So I installed the newest version and the problem was gone....

And that was exact the same! I reinstalled the 1.5.0_09 and it works now ....
But whats the reason for this ''crash'' ?? Its the second time that I use to spend some time for an unnecessary problem like that  Angry
and on top of that it is not my fault or the fault from xith....
Ask Sun.  Grin
It's nasty, it happened to me that Eclipse couldn't find some methods which I had just in front of me.. pretty disappointing Smiley

<dreaming>Anyway, I'll be happy when everyone have JDK 6 (including me)</dreaming>

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline apohlmann

Senior Newbie





« Reply #13 - Posted 2006-11-29 22:29:16 »

And there it is again.... I think the problem is java3d-1_4_0_01  Sad  I installed it to compare the loaders.... after the installation the problem returned....

Don't know what J3D does during the installation but it kills something needed or it changes something...  Huh
Seems that I had to install and deinstall it for each test..  Cry


No Xith problem so far   Smiley
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #14 - Posted 2006-11-29 22:47:02 »

And there it is again.... I think the problem is java3d-1_4_0_01  Sad  I installed it to compare the loaders.... after the installation the problem returned....

Don't know what J3D does during the installation but it kills something needed or it changes something...  Huh
Seems that I had to install and deinstall it for each test..  Cry


No Xith problem so far   Smiley

Just a guess: Maybe it installs vecmath.jar to the default java classpath (bin folder of the jdk). Then there could be name conflicts between sun's vecmath and vecmath-kh. In this case it could help to remove vecmath.jar from the jre's bin folder.

Marvin
Offline apohlmann

Senior Newbie





« Reply #15 - Posted 2006-11-30 09:33:27 »

Yes you are right!
I deinstalled J3D but the vecmath still remains in th jre lib....

Copying the vecmath in and out of the folder is faster than reinstalling the whole stuff.
Offline Amos Wenger

Senior Member




Everything's possible, but not everything's fun...


« Reply #16 - Posted 2006-11-30 18:05:25 »

Yes you are right!
I deinstalled J3D but the vecmath still remains in th jre lib....

Copying the vecmath in and out of the folder is faster than reinstalling the whole stuff.
Well why doesn't Xith3D have an installer Grin  Wink

Why not use vecmath-kh.jar for Java3D too ?

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline apohlmann

Senior Newbie





« Reply #17 - Posted 2006-12-01 07:47:34 »

Quote
Why not use vecmath-kh.jar for Java3D too ?

Yes, I thought so too but it causes some problems like this: java.lang.NoClassDefFoundError: javax/vecmath/Tuple3d.
So, instead spending time in this I'll copy the vecmath  Cool
OK, I could adjust the code more and more but this is at least far from testing J3D....
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

TehJavaDev (13 views)
2014-08-28 18:26:30

CopyableCougar4 (25 views)
2014-08-22 19:31:30

atombrot (38 views)
2014-08-19 09:29:53

Tekkerue (31 views)
2014-08-16 06:45:27

Tekkerue (31 views)
2014-08-16 06:22:17

Tekkerue (19 views)
2014-08-16 06:20:21

Tekkerue (29 views)
2014-08-16 06:12:11

Rayexar (66 views)
2014-08-11 02:49:23

BurntPizza (42 views)
2014-08-09 21:09:32

BurntPizza (34 views)
2014-08-08 02:01:56
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!