.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #33  
Old March 5th, 2004, 06:17 PM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Re: Combat Simulator Released!

Quote:
Originally posted by mivayan:
I am not sure exactly how and why but I have experienced the problem of java not looking for class files in the current directory.

Try this: java -classpath D:\Strategy\dominions2\doc\CombatSim Fight militia militia
Thanks a lot for the suggestion!

BTW, from within the correct directory, you could probably type this:

java -cp . Fight militia militia

and get the same result. "." means current directory - it worked for me.

I don't remember how to permanently get it into Java's head that class files are found in the local directory, but I'll post it here if I find out.
__________________
Cherry
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:33 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.