当我尝试运行程序时,我收到此错误:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
javax.media.j3d.MasterControl.getAWT()J
at javax.media.j3d.MasterControl.getAWT(Native Method)
at javax.media.j3d.MasterControl.<init>(MasterControl.java:517)
at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:253)
at javax.media.j3d.TransformGroupRetained.setTransform(TransformGroupRetained.java:126)
at javax.media.j3d.TransformGroup.setTransform(TransformGroup.java:121)
at simbad.sim.BaseObject.create3D(Unknown Source)
at simbad.sim.StaticObject.create3D(Unknown Source)
at simbad.sim.Arch.create3D(Unknown Source)
at simbad.sim.Arch.<init>(Unknown Source)
at MyEnv.<init>(MyEnv.java:5)
at MyProg.main(MyProg.java:4)
答案 0 :(得分:0)
请提供更多信息。如Java docs中所述,如果Java虚拟机无法找到声明为native的方法的适当本机语言定义,则会引发UnsatisfiedLinkError
。