|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi all!
I'm having a strange problem here with SeetHome3D program I have all 3D stuff working, perfectly here. Lot of other programs and games tested and using 3D acceleration as witnesses. Also, every possible testing from the wiki works, and I could post the results here if necessary (But I don't want to waste thread space). So, that's not the problem.Java from Sun is the lastest available throw Yast. That should not be a problem too. Also, SweetHome3D is the lastest version available for Suse 11.0 by Yast. Despite all that, it fails. If I just click on the icon, it tries to open the starting image, but it just flashes on the screen. Running from the command line I get the following error: Code:
aurora /downloads/down 277% SweetHome3D.sh
ln: a criar ligação simbólica `/home/johannes/.eteks/sweethome3d/furniture/Contributions.sh3f': Arquivo existe
ln: a criar ligação simbólica `/home/johannes/.eteks/sweethome3d/furniture/KatorLegaz.sh3f': Arquivo existe
ln: a criar ligação simbólica `/home/johannes/.eteks/sweethome3d/furniture/Scopia.sh3f': Arquivo existe
java virtual machine used: /usr/lib64/jvm/java/bin/java
classpath used: /usr/share/java/SweetHome3D/Loader3DS1_2u.jar:/usr/share/java/SweetHome3D/freehep-vectorgraphics-svg-2.1.1.jar:/usr/share/java/SweetHome3D/iText-2.1.5.jar:/usr/share/java/SweetHome3D/jnlp.jar:/usr/share/java/SweetHome3D/SweetHome3D-2.0.jar:/usr/share/java/SweetHome3D/Help.jar:/usr/share/java/SweetHome3D/Textures.jar:/usr/share/java/SweetHome3D/Furniture.jar:/usr/share/java/java3d/vecmath.jar:/usr/share/java/java3d/j3dcore.jar:/usr/share/java/java3d/j3dutils.jar:/usr/share/java/sunflow/janino.jar:/usr/share/java/sunflow/sunflow-0.07.3.jar
main class used: com.eteks.sweethome3d.SweetHome3D
flags used:
options used: -Djava.library.path=/usr/lib64:/usr/lib
arguments used:
3D [dev] 1.5.3-build1-experimental 02 Jul 2008 12:48:05 UTC
Exception in thread "main" java.lang.NoClassDefFoundError: javax.media.j3d.X11NativeConfigTemplate3D
at java.lang.Class.initializeClass(libgcj.so.9)
at java.lang.Class.forName(libgcj.so.9)
at javax.media.j3d.NativeConfigTemplate3D$1.run(NativeConfigTemplate3D.java:79)
at java.security.AccessController.doPrivileged(libgcj.so.9)
at javax.media.j3d.NativeConfigTemplate3D.createNativeConfigTemplate3D(NativeConfigTemplate3D.java:74)
at javax.media.j3d.NativePipeline.initialize(NativePipeline.java:127)
at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:170)
at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:965)
at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:299)
at java.lang.Class.initializeClass(libgcj.so.9)
at javax.media.j3d.GraphicsConfigTemplate3D.getBestConfiguration(GraphicsConfigTemplate3D.java:321)
at java.awt.GraphicsDevice.getBestConfiguration(libgcj.so.9)
at com.eteks.sweethome3d.j3d.Component3DManager.<init>(Unknown Source)
at com.eteks.sweethome3d.j3d.Component3DManager.getInstance(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.addComponent3DRenderingErrorObserver(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.createApplication(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: sun.awt.X11GraphicsDevice not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/share/java/SweetHome3D/Loader3DS1_2u.jar,file:/usr/share/java/SweetHome3D/freehep-vectorgraphics-svg-2.1.1.jar,file:/usr/share/java/SweetHome3D/iText-2.1.5.jar,file:/usr/share/java/SweetHome3D/jnlp.jar,file:/usr/share/java/SweetHome3D/SweetHome3D-2.0.jar,file:/usr/share/java/SweetHome3D/Help.jar,file:/usr/share/java/SweetHome3D/Textures.jar,file:/usr/share/java/SweetHome3D/Furniture.jar,file:/usr/share/java/java3d/vecmath.jar,file:/usr/share/java/java3d/j3dcore.jar,file:/usr/share/java/java3d/j3dutils.jar,file:/usr/share/java/sunflow/janino.jar,file:/usr/share/java/sunflow/sunflow-0.07.3.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.9)
at java.lang.ClassLoader.loadClass(libgcj.so.9)
at java.lang.ClassLoader.loadClass(libgcj.so.9)
at java.lang.Class.forName(libgcj.so.9)
at java.lang.Class.initializeClass(libgcj.so.9)
...16 more
aurora /downloads/down 277%
Usually, that would be no source of problem, but for a miracle I'm in need of this program now. ![]() Thanks in advance for any help anyone can provide me on this matter.
|
|
|||
|
Hi didencool.
Java = 1.6.0.u13-0.1 SweetHome3D = 2.0-0.pm.1-noarch (from Packman as well) I'm also using x86_64 version: Code:
uname -a Linux aurora 2.6.25.20-0.1-default #1 SMP 2008-12-12 20:30:38 +0100 x86_64 x86_64 x ![]() Btw, I was just looking here, and I noticed that my system has also IcedTea Java version 1.7.0 as well as gcjava (but at least not openjdk). May that be a source of this problem? Thanks a lot since now for the help!
|
|
|||
|
Just in time, I reviewed the error message following what I just answered to didencool, and tried to remove the gcj (gcc java). Well, it's still not working, but the error message reduced enormouly.
![]() Moreover, it's not affecting the other java things. Both websites based on java, and programs like vuze, are still working. ![]() Unfortunatelly, also change a lot, and I can't get a clue now for "what next" just from reading it: Code:
aurora /downloads/down 278% SweetHome3D.sh
/usr/bin/SweetHome3D.sh: error: JVM_LIBDIR /usr/lib64/jvm-exports/java does not exist or is not a directory
ln: a criar ligação simbólica `/home/johannes/.eteks/sweethome3d/furniture/Contributions.sh3f': Arquivo existe
ln: a criar ligação simbólica `/home/johannes/.eteks/sweethome3d/furniture/KatorLegaz.sh3f': Arquivo existe
ln: a criar ligação simbólica `/home/johannes/.eteks/sweethome3d/furniture/Scopia.sh3f': Arquivo existe
java virtual machine used: /usr/bin/java
classpath used: /usr/bin/build-classpath: error: JVM_LIBDIR /usr/lib64/jvm-exports/java does not exist or is not a directory
main class used: com.eteks.sweethome3d.SweetHome3D
flags used:
options used: -Djava.library.path=/usr/lib64:/usr/lib
arguments used:
Exception in thread "main" java.lang.NoClassDefFoundError: error:
Caused by: java.lang.ClassNotFoundException: error:
at java.net.URLClassLoader$1.run(URLClassLoader.java:220)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:208)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Error: Could not find the main class.
Error: A JNI error has occurred, please check your installation and try again
aurora /downloads/down 279%
|
|
|||
|
Updating here, no changes.
Tried a clue found in an onld topic of old java 64 problems still in suse 10.1, and tried to run the /etc/profile.d/alljava.sh with the sh command. Nothing changed. ![]() Can anybody with any system please tell me if there is a directory called /usr/lib64/jvm-exports/java on your system? And, if yes, what does it contains? I'm thinking a well done symbolic link would solve the problem, but I have no guess about where to. ![]() I hate java!
|
|
|||
|
Ok, now a real update. Still not working, but new errors.
![]() I found another computer with Suse 11.0 to look at, and found where should a java directory pointing to: /etc/alternatives/jre_1.6.0_exports So, I just did: Code:
aurora:/usr/lib64/jvm-exports # ln -sT /etc/alternatives/jre_1.6.0_exports java Code:
aurora media/Primeval Season 1 176% SweetHome3D.sh
ln: a criar ligação simbólica `/home/johannes/.eteks/sweethome3d/furniture/Contributions.sh3f': Arquivo existe
ln: a criar ligação simbólica `/home/johannes/.eteks/sweethome3d/furniture/KatorLegaz.sh3f': Arquivo existe
ln: a criar ligação simbólica `/home/johannes/.eteks/sweethome3d/furniture/Scopia.sh3f': Arquivo existe
java virtual machine used: /usr/bin/java
classpath used: /usr/share/java/SweetHome3D/Loader3DS1_2u.jar:/usr/share/java/SweetHome3D/freehep-vectorgraphics-svg-2.1.1.jar:/usr/share/java/SweetHome3D/iText-2.1.5.jar:/usr/share/java/SweetHome3D/jnlp.jar:/usr/share/java/SweetHome3D/SweetHome3D-2.0.jar:/usr/share/java/SweetHome3D/Help.jar:/usr/share/java/SweetHome3D/Textures.jar:/usr/share/java/SweetHome3D/Furniture.jar:/usr/share/java/java3d/vecmath.jar:/usr/share/java/java3d/j3dcore.jar:/usr/share/java/java3d/j3dutils.jar:/usr/share/java/sunflow/janino.jar:/usr/share/java/sunflow/sunflow-0.07.3.jar
main class used: com.eteks.sweethome3d.SweetHome3D
flags used:
options used: -Djava.library.path=/usr/lib64:/usr/lib
arguments used:
3D [dev] 1.5.3-build1-experimental 02 Jul 2008 12:48:05 UTC
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib64/libj3dcore-ogl.so: /usr/lib64/libj3dcore-ogl.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1692)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1066)
at javax.media.j3d.NativePipeline$1.run(NativePipeline.java:231)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.NativePipeline.loadLibrary(NativePipeline.java:200)
at javax.media.j3d.NativePipeline.loadLibraries(NativePipeline.java:157)
at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:987)
at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:299)
at javax.media.j3d.GraphicsConfigTemplate3D.getBestConfiguration(GraphicsCo
at java.awt.GraphicsDevice.getBestConfiguration(GraphicsDevice.java:175)
at com.eteks.sweethome3d.j3d.Component3DManager.<init>(Unknown Source)
at com.eteks.sweethome3d.j3d.Component3DManager.getInstance(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.addComponent3DRenderingErrorObserver(U
at com.eteks.sweethome3d.SweetHome3D.createApplication(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.main(Unknown Source)
aurora media/Primeval Season 1 177%
![]() I'm completely lost when it comes to java apps, does anybody has a clue at this point? Thanks a lot in advance again!
|
|
|||
|
YES!
Found it. That last error made me include a "-d64" flag into the SweetHome3D.sh file. That, on its turn, yields the following new error: Code:
. . . options used: -d64 -Djava.library.path=/usr/lib64:/usr/lib arguments used: Error: This Java instance does not support a 64-bit JVM. Please install the desired version.
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|