Feel like a fool - Install trouble

Hi. I feel like a fool, but I simply can’t install xith correct. The demos work, but I e.g. can’t run anything without pointing directly to the jars.

I have followed the install guide, but I find it rather confusing because e.g. my native and library paths don’t seem to be the same as the guide specifies.

Does anyone want to guide me through an install on XP with Java JDK 1.5? Just describe where to copy the different files add something to system variables (if needed) and so on.
It would also be nice with a specific command line on how to compile and run the code with the above install. Just to get anything right this time.

– Java is placed here:
C:\Program Files\Java\jdk1.5.0_01
C:\Program Files\Java\jre1.5.0_01

I know this is a trivial question, but can’t anyone help me?

Details…please. What failing?? What errors show up??

More than willing to help but theres not enough here to work with.

Compile and run this program: http://xith.org/tutes/Prop.java

That should display the correct paths (this is in the guide).

Will.

Hi.

Prop.class shows this:

Native Library path(s): C:\WINDOWS\system32;.;C:\WINDOWS\system32;C:\WINDOWS;C:
WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\ant\bin;C:\Program Files
\Common Files\Autodesk Shared;C:\Program Files\backburner 2
Java Library path(s): C:\Program Files\Java\jre1.5.0_01\lib\ext

This works, however not if I download the demos and run them outside the xith library. Also I can’t get the quake demo to work. It returns this error:

[i]OpenGL Extensions = GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture
net.java.games.jogl.GLException: Method “glActiveTextureARB” not available
at net.java.games.jogl.impl.windows.WindowsGLImpl.glActiveTextureARB(Win
dowsGLImpl.java:94)
at com.xith3d.render.jogl.TextureShaderPeer.shade(TextureShaderPeer.java
:668)
at com.xith3d.render.CanvasPeerBase.setState(CanvasPeerBase.java:121)
at com.xith3d.render.CanvasPeerBase.render(CanvasPeerBase.java:99)
at com.xith3d.render.jogl.CanvasPeerImpl.drawBin(CanvasPeerImpl.java:678
)
at com.xith3d.render.jogl.CanvasPeerImpl.display(CanvasPeerImpl.java:849
)
at net.java.games.jogl.impl.GLDrawableHelper.display(GLDrawableHelper.ja
va:74)
at net.java.games.jogl.GLCanvas$DisplayAction.run(GLCanvas.java:198)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:239)
at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:186)
at net.java.games.jogl.GLCanvas.display(GLCanvas.java:74)
at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java:950)

    at com.xith3d.scenegraph.View.renderOnce(View.java:732)
    at com.xith3d.scenegraph.View.renderOnce(View.java:665)
    at com.xithtk.loaders.quake3.Quake3Renderer.runRenderer(Quake3Renderer.j

ava:348)
at com.xithtk.loaders.quake3.Quake3Renderer.init(Quake3Renderer.java:306
)
at com.xithtk.loaders.quake3.Quake3Renderer.main(Quake3Renderer.java:373
)[/i]

Also it says it runs on opengl version 1.1 where the demos that comes with xith runs with version 1.3.4830 WinXP Release

I don’t know if this explains it. If not, just ask, and I will try to explain it in further details. I’ll do almost anything to get this to work :slight_smile:

OpenGL1.1? That’s odd. And this only happens for one?

[quote]however not if I download the demos and run them outside the xith library
[/quote]
Just give us all the information you possibly can. What command are you running? What libraries are installed and where?

Do you understand how Java works with these libraries? Basically, it needs to be told where they are so it can load them. This can be done by placing the libraries in the ext/ paths, or by explicitly specifying them on the command line.

If one way is working, can’t you just do it that way?

Will.

Hi. As it is now, I have copied the xith files to a lot of different directories in order to get it to work.

I will reinstall my system tomorrow and try to copy the files to the directories that Prop explains. Then I’ll write you with the errors I get.

I can not reinstall right now. We are working pretty hard on our exam project, and I do not want to risk that xith won’t work because of the install trouble.

It works for development right now because I have copied the files to almost every directory I could think of :slight_smile:

I appreciate you folks are willing to help and I hope that you still will when I get a chance to reinstall the system.