Corba IIOP profile error when running Java3D application
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am studying Java3D, so I started with Sun's simple example HelloUniverse.java (see the attached file).
I installed Java3D (libjava3d-java 1.5.2+dfsg-5 and libjava3d-jni 1.5.2+dfsg-5) and VecMath (libvecmath-java 1.5.2-2) libraries: their jar files are put in /usr/share/java. I have openjdk-6-jdk 6b18-1.8-0ubuntu1.
I compile HelloUniverse.java with
> javac -classpath .:/usr/share/java/* HelloUniverse.java
I get no errors nor warnings.
When I run the application with
> java -classpath .:/usr/share/java/* HelloUniverse
the application starts (correctly showing the rotating cube), but I get the following exception:
*******
Jun 4, 2010 3:32:42 PM com.sun.
WARNING: "IOP00511201: (INV_OBJREF) IOR must have at least one IIOP profile"
org.omg.
at com.sun.
at com.sun.
at com.sun.
at com.sun.
at com.sun.
at com.sun.
at com.sun.
at com.sun.
at com.sun.
at org.GNOME.
at org.GNOME.
at org.GNOME.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at java.lang.
at java.lang.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at HelloUniverse.
*******
While the application is correctly executed, I wonder why those exceptions are raised. I found various posts on the Internet of this same error in several different contexts, and all of them were resolved switching to Sun's Java packages. That's why I think this error is not related to Java3D or VecMath, but to openjdk.
Please ask me if you need more information. Thanks.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: openjdk-6-jdk 6b18-1.8-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Fri Jun 4 15:40:24 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: openjdk-6
I forgot to mention that when I run the application with root permission:
> sudo java -classpath .:/usr/share/java/* HelloUniverse
it gives no exceptions and correctly executes.