mjbWorld - Running under XP

Enjoying info. on your Web site, wrote my first biggish Java3D program showing an
animation of windsurfers racing around a course .. of course right now my windsurfers
are just cubes with images mapped on them, hoping to use the mjbWorld program
to design a windsurfer model.

FYI .. took me a few tries to find a solution for a run.bat program under j2sdk 1.4.2
on Windows XP ..

here is one ..

SET PATH=%PATH%;C:\mjbWorld
SET PATH=C:\Program Files\Java\j2re1.4.2\bin;C:\Program Files\Java\j2re1.4.2\lib;C:\Program Files\Java\j2re1.4.2\lib\ext;%PATH%
SET CLASSPATH=%CLASSPATH%;C:\mjbWorld\mjbWorld.jar
SET CLASSPATH=%CLASSPATH%;C:\Program Files\JavaSoft\j2re1.4.2\lib\rt.jar;C:\Program Files\JavaSoft\j2re1.4.2\lib\ext\j3dcore.jar;C:\Program Files\JavaSoft\j2re1.4.2\lib\ext\vecmath.jar;C:\Program Files\JavaSoft\j2re1.4.2\lib\ext\j3dutils.jar
CD C:\mjbWorld
java -cp "%CLASSPATH%" -jar mjbWorld.jar mjbWorld.mjbWorld -Xint



Thanks very much for this, would it be alright if I include this on the
website to help others who are using Windows XP? (would you like me to
remove your e-mail/phone/fax to save you from SPAM?).

Its a pity that is so difficult to get java to run in different
environments, its a bit ironic when one of the main advantages of java is
its platform independence!

I notice the first line contains the directory 3_books whereas the other
lines have e_books:
Is this an error? and if so is the first PATH line unnecessary?


ok .. to use ..
remove name . yes please
change paths to your standard c:\mjbworld
right on exe path 3_books error .. not really needed .. unless you
cmd prompt often .. which I tend to do ..

metadata block
see also:
Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.


cover Beginning Java 2 SDK 1.4 Edition - A good book for learning java


Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to this site, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

cover JBuilder - There is also a free version of Jbuilder at borland website . However its licence conditions are quite restrictive so you may prefer another java IDE.

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2015 Martin John Baker - All rights reserved - privacy policy.