HELI-X on RedHat 6.3

Installation and usage on Linux / Installation unter Linux
Post Reply
ArchmageAU
Posts: 12
Joined: 14 Jan 2013 04:17

HELI-X on RedHat 6.3

Post by ArchmageAU »

I am trying to get HELI-X working on the Linux 6.3 workstation (64-bit).

The splash screen starts up, I select English, but then the loading halts before anything can be configured.

I am running Java:
# java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr12-20121025_01(SR12))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr12-20121024_126067 (JIT enabled, AOT enabled)
J9VM - 20121024_126067
JIT - r9_20120914_26057
GC - 20120928_AA)
JCL - 20121014_01

I have JAVA_HOME and JAVA_LIBDIR set.

# glxgears
28375 frames in 5.0 seconds = 5674.795 FPS

Any suggestions?


Java errors:
Set new path for the resources: /opt/HELI-X41/resources/
Set new path for the user files: /opt/HELI-X41/files/
Couldn't find tag "WindowSettings" in file "/opt/HELI-X41/files/Application/ApplicationSettings.xml"
Couldn't find tag "InfoWindow" in file "/opt/HELI-X41/files/Application/ApplicationSettings.xml"
Couldn't find tag "ChatWindow" in file "/opt/HELI-X41/files/Application/ApplicationSettings.xml"
Couldn't find tag "Resolution" in file "/opt/HELI-X41/files/Application/ViewSettings.xml"
Using openGLLayer JOGL_AWT
Found 34 display modes
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: jawt (Not found in java.library.path)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1018)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:982)
at java.lang.System.loadLibrary(System.java:506)
at com.sun.opengl.impl.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:189)
at com.sun.opengl.impl.NativeLibLoader.access$000(NativeLibLoader.java:49)
at com.sun.opengl.impl.NativeLibLoader$DefaultAction.loadLibrary(NativeLibLoader.java:70)
at com.sun.opengl.impl.NativeLibLoader.loadLibrary(NativeLibLoader.java:103)
at com.sun.opengl.impl.NativeLibLoader.access$200(NativeLibLoader.java:49)
at com.sun.opengl.impl.NativeLibLoader$2.run(NativeLibLoader.java:132)
at java.security.AccessController.doPrivileged(AccessController.java:228)
at com.sun.opengl.impl.NativeLibLoader.loadAWTImpl(NativeLibLoader.java:118)
at com.sun.opengl.impl.JAWT.getJAWT(JAWT.java:91)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.lockToolkit(X11GLDrawableFactory.java:561)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.isXineramaEnabled(X11GLDrawableFactory.java:693)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.chooseGraphicsConfiguration(X11GLDrawableFactory.java:139)
at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:520)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:131)
at org.xith3d.render.jsr231.CanvasPeerImplAWT.<init>(CanvasPeerImplAWT.java:177)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:132)
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:166)
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:338)
at org.xith3d.render.Canvas3DPanel.<init>(Canvas3DPanel.java:261)
at org.xith3d.render.Canvas3DPanel.<init>(Canvas3DPanel.java:347)
at a.a.a.g.h.<init>(Unknown Source)
at a.a.a.m.q.<init>(Unknown Source)
at a.a.a.m.e.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:220)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)
at java.awt.EventQueue.access$400(EventQueue.java:92)
at java.awt.EventQueue$2.run(EventQueue.java:638)
at java.awt.EventQueue$2.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(AccessController.java:250)
at com.ibm.oti.security.CheckedAccessControlContext.securityCheck(CheckedAccessControlContext.java:30)
at sun.misc.JavaSecurityAccessWrapper.doIntersectionPrivilege(JavaSecurityAccessWrapper.java:41)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:280)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:180)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:172)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:133)
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: HELI-X on RedHat 6.3

Post by Michael »

Strange.

Do you use oracle's java, not the openJava version.

Graphics driver?

Perhaps try the 32 bite version ...

Michael
ArchmageAU
Posts: 12
Joined: 14 Jan 2013 04:17

Re: HELI-X on RedHat 6.3 (Solved)

Post by ArchmageAU »

Had to install java-platform. Was using IBM JVM for other applications.

# /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (rhel-1.50.1.11.5.el6_3-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)


Added the following lines to the runHELI-X64.sh
....
# JAVAPATH=$(dirname "$(which java)")
JAVAPATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/

JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
JAVA_LIBDIR=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib
...

Works fine now.

Thanks.
Post Reply