logo back up home forward   further reading more topics »
 
home page back up home page next user guide, programmers guide home page whats new copyright whitepaper userGuide programmers Guide source bugs to do

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

Bye,
Scott


Scott,

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:
C:\projects\3d\3_books\mjbWorld
Is this an error? and if so is the first PATH line unnecessary?

Martin


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.

Can you help?

Please send me any improvements to here. I would appreciate ideas to make the pages more useful including error correction, ideas for new pages, improvements to wording. It helps if you quote the full URL of the page.

 

progam

I am working on a project which uses these principles, if you would like to help me with this you are welcome to join in, here:

http://sourceforge.net/projects/mjbworld/

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

Copyright (c) 1998-2008 Martin John Baker - All rights reserved.