Program won't run

Installation and usage on Windows / Installation unter Windows
Post Reply
Lee42048
Posts: 4
Joined: 05 Jun 2008 19:42

Program won't run

Post by Lee42048 »

I configure the joystick. As soon as I select an airport the program shuts down and closes. What can I be doing wrong?
thanks
Lee
User avatar
Joerg
Posts: 169
Joined: 25 May 2008 18:51
Location: ungefähr Karlsruhe
Contact:

Re: Program won't run

Post by Joerg »

Hi Lee,

could you give us some more information, like hardware+OS you're running and what the console window says which launches Heli-X? Also, there's a file named "log.txt" in the files/ directory of the Heli-X dir. Open that, copy and paste the contents here, and we can try to figure out what's wrong.
Heli-X unter Mac OS X 10.5 auf einem 20" iMac
in echt: Thunder Tiger Mini Titan E325 + Gaui EP100
Lee42048
Posts: 4
Joined: 05 Jun 2008 19:42

Re: Program won't run

Post by Lee42048 »

Hi,

I have Java version 1.6.0_03-b05 on a 1.8GHz machine with 512Mb ram. My video card has 64Mb instead of the 128Mb recommended but I upped the memory allocation in BIOS so it should run even if slow. I have XP SP2. One window is a system32 command window and the other says HELI-X 0.9.591 --- FPS: 38

The log file is;
Application started
3D Environment created
Using openGLLayer JOGL_AWT
Found 330 display modes
Trying to open xml File files/Application/ViewSettings.xml
Using display mode 800x600x32x60
Scenegraph created
Listener Volume: 1.0
Trying to open xml File files/Application/SoundSettings.xml
Listener Volume: 0.8
Sound configuration read
Trying to open xml File files/Application/CameraSettings.xml
View initialized
Trying to open xml File files/Application/EnvironmentSettings.xml
Environment initialized
Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin
Stick found: Name: PPM
Using Stick PPM
Digital component found:Button 0
Digital component found:Button 1
Digital component found:Button 2
Analog component found:Y Rotation
Analog component found:X Rotation
Analog component found:Z Axis
Analog component found:Y Axis
Analog component found:X Axis
Controller configuration file found: files/controller/PPM.xml
Trying to open xml File files/controller/PPM.xml
Controller configuration file files/controller/PPM.xml read
Trying to open xml File files/Application/ApplicationSettings.xml
Visible set true
Keyboard and mouse registered
Application successfully initialized
Trying to open xml File E:\downloads\temp\HELI-X\files\controller\PPM.xml
Pause
Controller configuration file found: files/controller/PPM.xml
Trying to open xml File files/controller/PPM.xml
Controller configuration file files/controller/PPM.xml read
Resume
Pause
Trying to open xml File ressources/environments/SkyBox/Altach/Altach.xml
Trying to open xml File ressources/environments/SkyBox/Altach/Altach.xml
Environment loaded
Resume

Thanks
Lee
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: Program won't run

Post by Michael »

Hello Lee,

I see two pssible problems:
1. OpenGL incompatibility,
2. too less memory abailable.

In order to look for 2:

Please delete the file ./files/Application/ApplicationSettings.xml and start HELI-X. Then select the airport "small" (which needs only some bytes of memory). Does HELI-X work now?

To look for the second possibility: Please run the program not by a double click but from the console: start->run->cmd. Then change the directory to your HELI-X directory and type in the name of the .bat file. Now we can see all exception in the console. What can you read there?

Michael
Lee42048
Posts: 4
Joined: 05 Jun 2008 19:42

Re: Program won't run

Post by Lee42048 »

Hi,

I deleted the applicationsettings.xml and selected airport small and got the same results. I then ran it from a command line without restoring the file and here is the last part of the output;

.jar

E:\downloads\temp\HELI-X>set jars=./libs/HeliX/HeliX591.jar;./libs/gluegen/glueg
en-rt.jar;./libs/jagatoo/jagatoo.jar;./libs/hial/hial.jar;./libs/jama/Jama-1.0.2
.jar;./libs/javagamenetworking/javagamenetworking.jar;./libs/jdom/jdom.jar;./lib
s/joal/joal.jar;./libs/jogl/jogl.jar;./libs/lwjgl/lwjgl.jar;./libs/jinput/Jinput
.jar;./libs/math/openmali.jar

E:\downloads\temp\HELI-X>set jars=./libs/HeliX/HeliX591.jar;./libs/gluegen/glueg
en-rt.jar;./libs/jagatoo/jagatoo.jar;./libs/hial/hial.jar;./libs/jama/Jama-1.0.2
.jar;./libs/javagamenetworking/javagamenetworking.jar;./libs/jdom/jdom.jar;./lib
s/joal/joal.jar;./libs/jogl/jogl.jar;./libs/lwjgl/lwjgl.jar;./libs/jinput/Jinput
.jar;./libs/math/openmali.jar;./libs/xith/xith3d.jar

E:\downloads\temp\HELI-X>Java\jre1.6.0_03\bin\java.exe -Dsun.java2d.noddraw=true
-Djava.library.path=./libs;./libs/gluegen/windows-i586;./libs/jinput/windows-i5
86;./libs/jogl/windows-i586;./libs/lwjgl/windows-i586;./libs/joal/windows-i586 -
Xmx256m -classpath ./libs/HeliX/HeliX591.jar;./libs/gluegen/gluegen-rt.jar;./li
bs/jagatoo/jagatoo.jar;./libs/hial/hial.jar;./libs/jama/Jama-1.0.2.jar;./libs/ja
vagamenetworking/javagamenetworking.jar;./libs/jdom/jdom.jar;./libs/joal/joal.ja
r;./libs/jogl/jogl.jar;./libs/lwjgl/lwjgl.jar;./libs/jinput/Jinput.jar;./libs/ma
th/openmali.jar;./libs/xith/xith3d.jar ch.ntb.HeliX.application.Application 1>f
iles\log.txt
javax.media.opengl.GLException: Method "glClientActiveTexture" not available
at com.sun.opengl.impl.GLImpl.glClientActiveTexture(GLImpl.java:992)
at org.xith3d.render.jsr231.TextureShaderPeer.clutchTextureUnit(TextureS
haderPeer.java:459)
at org.xith3d.render.jsr231.TextureShaderPeer.shade(TextureShaderPeer.ja
va:733)
at org.xith3d.render.RenderPeer.setState(RenderPeer.java:291)
at org.xith3d.render.RenderPeer.renderAtom(RenderPeer.java:333)
at org.xith3d.render.jsr231.RenderPeerImpl.drawBin(RenderPeerImpl.java:3
74)
at org.xith3d.render.jsr231.RenderPeerImpl.renderMain(RenderPeerImpl.jav
a:628)
at org.xith3d.render.jsr231.RenderPeerImpl.renderRenderPass(RenderPeerIm
pl.java:760)
at org.xith3d.render.jsr231.RenderPeerImpl.render(RenderPeerImpl.java:84
4)
at org.xith3d.render.jsr231.CanvasPeerImplBase.doRender(CanvasPeerImplBa
se.java:306)
at org.xith3d.render.jsr231.CanvasPeerImplAWT.display(CanvasPeerImplAWT.
java:570)
at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78
)
at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1
94)
at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GL
Canvas.java:452)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

thanks
Lee
daybyter
Posts: 15
Joined: 26 May 2008 09:00

Re: Program won't run

Post by daybyter »

OpenGL-Driver does not support Ver 1.3. Install better driver for the graphics card.
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: Program won't run

Post by Michael »

That's right. What kind of grahics adapater do you have?

Michael
Lee42048
Posts: 4
Joined: 05 Jun 2008 19:42

Re: Program won't run

Post by Lee42048 »

New drivers for my video card solved the problem.
thanks much
Lee
Post Reply