alot of custom APIS broke :-(

i had trouble with lwjgl and now Xith3D doesn’t seem to work :frowning: i get a noClassdeferror for javax/vecmath/toulpes3f or something

any help appreciated, i followed the instructions pretty straight forward… if you can help me, contant me on aim ( Kenshin5X ) to speed things up

i discovered i had java1.4.2 and java5 installed at the same time, so idelete both and now i have a fresh install of java5 … i followed the instructions on the siteb ut still the same error :-\

are you sure vecmath.jar is in your classpath?

Will.

C:\Program Files\Java\jdk1.5.0\jre\lib\ext

exact place it is in :open_mouth:

The APIs are not broken. You need to have all the needed libs in your classpath. The installation tutorial details this. If you are having troubles, make sure you only have one version of the JRE installed.

Please search the forums and the internet for troubleshooting help if you can’t get it to work following the installation docs.

Will.

is there any chance you can give me a working link to props.java ? the program that finds your paths for you

and i never ment they’re broke as in bad code; just ment that for some reason they didnt work on my computer…

update: i noticed i still had JRE 1.4.2 installed and uninstalled that but still nothing :frowning: i went in and changed JAVA_HOME to the java5 directory but still nothing …

my bad – the link is fixed now:

http://xith.org/tutes/Prop.java

Try just referencing all the .jars in your java command (useing -cp and -Djava.library.path) if you are unable to “install” them. Installation is just convenient.

Will.

well i followed ur install tutorial EXACTLY and it doesn’t work :-\ and im not good with command line compiling …

[quote]well i followed ur install tutorial EXACTLY and it doesn’t work :-\ and im not good with command line compiling …
[/quote]
Uh… it’s just javac Prop.java. Then java Prop to run.
You should probably learn the basics before you try to learn xith.

http://lockandload.8m.com/GemCannon04.jpg

I think I have that basics down, do you ?..

Now, because im unfortunate enough to not have my Xith3d working right off the bat, doesn’t give you merit to come in here and flame me. Ive reinstalled the java SDK, xith serveral times and followed the tutorial line for line.

[quote]http://lockandload.8m.com/GemCannon04.jpg

I think I have that basics down, do you ?..

Now, because im unfortunate enough to not have my Xith3d working right off the bat, doesn’t give you merit to come in here and flame me. Ive reinstalled the java SDK, xith serveral times and followed the tutorial line for line.
[/quote]
Hey, sorry if I offended you, I really meant no offense. It just sounded to me like you didn’t know, I mean, compiling software from the command line (for me at least) is a standard thing I do all the time, maybe you’re used to a GUI to do your compiling… And the problems you’re having sound like basic classpath problems. Run the program, if you’re remembering to put the natives in java.library.path, and the libraries (including vecmath.jar) in java.ext.dirs and it’s still not working then try manually specifying them in a bat file or something.

can you give a example of what it would look like to add the files into a bat?

also for lwjgl, i could get things to compile in JCreator, with the library added to custom but they wouldn’t execute unless i had all the lwjgl files in the same directory as the class and .java file. i wonder if the same will work for this?

[quote]can you give a example of what it would look like to add the files into a bat?

also for lwjgl, i could get things to compile in JCreator, with the library added to custom but they wouldn’t execute unless i had all the lwjgl files in the same directory as the class and .java file. i wonder if the same will work for this?
[/quote]
Take a look at the demos directory inside the xith folder, a lot of bat file for windows in there. And just look at some help or read up on how to use the java and javac commands.

to get lwjgl working on my comp i would have to put all the lwjgl files in with the class file on execution … is a similar thing possible with xith?

UPDATE: made some progress, i put the vecmath jar in xith/third-party/vecmath

and it got rid of the tuple3f error but now a new one popped up: NoClassDefError: net/java/games/jogl/GLEventListener

[quote]to get lwjgl working on my comp i would have to put all the lwjgl files in with the class file on execution … is a similar thing possible with xith?

UPDATE: made some progress, i put the vecmath jar in xith/third-party/vecmath

and it got rid of the tuple3f error but now a new one popped up: NoClassDefError: net/java/games/jogl/GLEventListener
[/quote]
lwjgl is separate, to get xith working you don’t need it. Xith by default uses jogl. What exactly are you trying to run and how are you trying to run it?

im running the runcube.bat in the demo directory

UPDATE: i had it in third-party/jogl-win32 so i changed it to third-party/jogl/jogl-win32 and the cube test worked when i ran the .bat :smiley:

[quote]im running the runcube.bat in the demo directory
[/quote]
Well that’s why you’re having the trouble, you should’ve said that in your first post. Runcube.bat is manually specifying the classpath location for all the libraries. You don’t want this if you’re putting your classes into the java.ext.dirs and java.library.path.

Do this:

  1. Put the native windows stuff (.dll and the like) in java.library.path

  2. put non-native libraries including xith.jar, jogl.jar, and vecmath.jar into java.ext.dirs

  3. open up Runcube.bat and look at what’s written there. As you can see it’s manually specifying the locations of all the libraries. What you just want, since your libraries are loaded in by default since they’re in those directories, is simply the last part that says: com.xith3d.test.CubeTest

  4. simply type in the console ‘java com.xith3d.test.CubeTest’

This should work if all your libraries are in the correct location. Also, if you want to use Xith, then go to the download directory and get the latest CVS that’s been built there (or download and compile the CVS yourself from xith3d.dev.java.net).

And last but not least, read all the FAQs on the xith homepage, and go here and read the getting started thing, read the interesting threads, etc.

thank you kind sir.

[quote]thank you kind sir.
[/quote]
Happy it worked out for you :slight_smile: