Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Alternative Civs > Clash of Civilizations > Java Jock Wanted to help me figure out Best way to distribute the Clash Demo v2
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
04.Sep: `FC` 2.0.5 COMPLETED AND RELEASED
27.Jul: `FC` 2.0.4 COMPLETED AND RELEASED
16.Jul: `FC` 2.0.3 COMPLETED AND RELEASED

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Arrow  Old Post 10-10-1999 22:23 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Java Jock Wanted to help me figure out Best way to distribute the Clash Demo v2 Increase Your PM Length

See, the problem is that nobody has been able to get the demo to run. Java types have little trouble building and running Clash from the java source, but the demo's another thing. The only non-java types that have tried it (Paul Crocker, and Lord God Jinnai, thanks to them both ) have not been able to get it to run. I have spent a lot of time with Paul trying various tweaks to no avail. It is So Simple it should work, but well, I'm at wits end with it...

My attempt was based on the JRE, java runtime environment, from Sun (free) and a distribution of the class files. I think our main goal should be to get whatever demo to run for Win 95/98 asap. Other platforms would be icing on the cake.

Actually a JAR-Based or Applet-based demo would probably be better than what I sent out, but my limited attempts at both those approaches have failed since I didn't want to sink a lot of time into learning all the details.

I will send whoever would like to do it the whold source and rely on them to figure out how to do the demo, I'll take what I can get at this point.

I'm dying to get Demo v2 out. It has some of the alpha-1 military model in it, and also some of the diplomacy model that Jacobo was working on. It is Tough to beat already, even with the limited AI I have in it so far. (And my AI doesn't Cheat, unlike some games we could mention )


I think its important to get it out Now so people not currently involved can see we're making progress.

Thanks in advance for your help!

-Mark

mca is offline mca
Chieftain
Odense, Denmark
Jan 1970
time: 06:13
Post  Old Post 12-10-1999 03:33
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Get a bigger avatar today!

Let me know if this works:

(It has been tested on one Windows NT4 machine only, I don't have easy access to a Win98 or Win95 machine)


    [*]Download the ClashDemo_v1.zip file and unzip it. (I assume
    you have WinZip installed already.) It is a quite large file
    (more than 5 MB) so it might take some time. Downloading and
    unzipping will create the folder "Clash Demo".

    [*]Open the "Clash Demo" folder and doubleclick the icon named
    "Install Clash Now!". This will start the installation of the
    Java program, which is needed for Clash. Just click "Yes",
    "Next", then wait a few moments for Java to install, then
    click "Finish" to reboot your computer (you MUST do this).

    [*]Java is now installed, and you can start Clash by
    doubleclicking the "Clash Of Civilizations" icon in the
    "Clash Demo" folder.
    [/list=a]

    [This message has been edited by mca (edited October 11, 1999).]

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Post  Old Post 12-10-1999 05:28 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton buy from Amazon

Hi mca:

Thanks for taking a shot at it. I tried it. I got to running the Install batch file and go the following output:

C:\Clash Demo>./java/jre1_2_2-win
Bad command or file name

C:\Clash Demo>
C:\Clash Demo>

I changed the batch file to:
java\jre1_2_2-win

which worked on my computer to install jre.

now I need to reboot...

The play clash batch file didn't work either.

I changed the second line to java Game and it ran OK.

IMO you don't need the "-cp ." because "." is the default classpath for the jre in java 1.2.2 anyway.

But I still don't know if this is a valid test since I was able to get my version of the demo to run on my machine anyway...

Yep, my problem for checking out the demos is a lack of non-java win95 or 98 systems also

Thanks for trying.

Mark
[This message has been edited by Mark_Everson (edited October 11, 1999).]

Paul Crocker is offline Paul Crocker
Warlord
Slidell, LA, USA
Jul 1999
time: 05:13
Post  Old Post 12-10-1999 05:49
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Call to Power 2

I got the same error as Mark - I installed the JRE by going into the Clash_demo directory and clicking on the JRE application file. It installed the JRE (said it did anyway!). When I rebooted and clicked on the clash icon, I got

c:\Clash Demo\java>java -cp . Game
Bad command or file name

C:Clash Demo\java>


Paul Crocker is offline Paul Crocker
Warlord
Slidell, LA, USA
Jul 1999
time: 05:13
Post  Old Post 12-10-1999 05:56
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Browse Apolyton AD-FREE

Mark: Not quite sure what just happened here! Feel free to delete a few of those postings if you want to (I don't know how to). LOL getting this thing running! Can't wait to try it out

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Post  Old Post 12-10-1999 06:31 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton buy from Amazon

Paul: No problemo. I think you can delete your own posts. If you click on the edit post button (looks like a piece of paper with pencil), it gives you a checkbox at the upper left that says delete. Just check it and submit. If you don't get the box let me know and I'll Get them (click), Get them (click), Get them (click) .
[This message has been edited by Mark_Everson (edited October 11, 1999).]

mca is offline mca
Chieftain
Odense, Denmark
Jan 1970
time: 06:13
Red face  Old Post 12-10-1999 12:16
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Tired of ads?

Oh well, it worked for me... Just shows how much I _really_ know about Windows I guess...

./java/jre_etc is the Unix way of writing paths. Amazingly, it works on WinNT, too.

The JRE also seems to do something on NT that places the Java.exe in the default path, but doesn't (or can't) do this on Win9x.

The topic of this thread needs to be "Windows Jock Wanted ...", I think, because all this actually has little to do with Java.

If there's any demand for it, I'll try to make a distribution for Linux, which I think I could do a bit better than my feeble attempt at Windows.

Martin

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Post  Old Post 12-10-1999 16:04 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Put an end to popups!

Yeah, I thought they were Unix-like paths. I have no idea why the -cp command didn't work.

The JRE Is in the default path I believe. That's not the problem. At least with my demo Paul and Lord God Jinnai Both got java to run, but it gave a no-class-found error for Game.class even tho its sitting right there in the directory the batch file was executed from.

Sure, why don't you give Linux a shot. Want me to send you the demo v2 source first?

I think a JRE file is probably the way to go long term. That means all we need to do is send a single new file each update (and of course the JRE or whatever once).

I will write up a set of directions for the demo in the next few days, so those that Can get it to run can play around with it.

-Mark

Paul Crocker is offline Paul Crocker
Warlord
Slidell, LA, USA
Jul 1999
time: 05:13
Post  Old Post 12-10-1999 19:53
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Remove this text

Mark: I tried removing the extra posts last night, but got a message saying that only the forum moderator could do it. I guess I was just so excited last night at the prospect of finally seeing the demo that I clicked "submit" a few times too many

I tried running the demo on a NT machine today, and was able to partially install the JRE before the write-protection on the system at the lab aborted the procedure. This leads me to agree with MCA that the problems with (his at least) the demo may also be windows-based. I'm running windows 98 at home and encountered the problems described last night.

MCA: would it be possible to rewrite your batch files for windows 95/98 (even if you can't test it there?) just to see if things work that way? If it's just a matter of path syntax, it sounds like we're almost there Of course, I'm not a true programming guru, so I might be missing something here...

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:13.
Apolyton Time is 00:13.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0311 seconds (88.25% PHP - 11.75% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net