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 > JRE is too slow! Use m$ JVM instead!
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
Anarqu|stA is offline Anarqu|stA
Settler
Joinville, SC, Brazil
Sep 2000
time: 05:13
Lightbulb  Old Post 09-09-2000 04:02 Visit Anarqu|stA's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
JRE is too slow! Use m$ JVM instead! Support Apolyton, buy Civilization III: Complete

Why do you use Sun JRE? It's sucks! You can have a GREATER speed using the m$ jvm, for do that, instead of running jre or java, create a bat with jview or wjview (they work like java and javaw), you can too generate a "fake" win executable with jexegen from the m$ sdk for java to make the game easier to install and play.

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Post  Old Post 09-09-2000 04:17 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Anarqu|stA:

I'll look into it for demo5. But those are solutions only for wintel machines, no?

F_Smith, do you have any experience with these?

Anarqu|stA is offline Anarqu|stA
Settler
Joinville, SC, Brazil
Sep 2000
time: 05:13
Post  Old Post 09-09-2000 04:27 Visit Anarqu|stA's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Yes, it's only on win32 machines, the vm is included in ie4+ or win98+. But it's VERY VERY VERY faster than jre! The only problem is that it's doesn't support java 1.2 features, but the clash doesn't use it, if you want, try to set the classpath to your clash_d4.jar and run "jview clash.Game" or "wjview clash.Game", you'll see the difference. And another good thing with m$ vm, you doesn't need to download the big jre instalation.

F_Smith is offline F_Smith
Prince
Austin, Tx 78728
May 1999
time: 05:13
Post  Old Post 09-09-2000 04:33
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Hi:

yes, the sun JRE is the slowest runtime environment for Java going.

The fastest currently is IBM's newest one. Altho this is mainly due to the 'cache' size -- IBM's vm has a default cache size of 32 meg. The JRE can be set to a cache size of 32 meg, which makes it perform nearly the same as the IBM one, but that has to be done manually by the user.

The ms one is acceptable -- that's the one that get's used with the beast, when it's run thru IE. It's the one I use at work when putting an app on someone else's machine (mainly because everyone that has IE has 'jview', which means I don't have to install one).

The Sun 'Hotspot' is excellent, too. Both the IBM and Hotspot vm's are approaching C++ speeds in some areas, and surpassing C++ speeds in others.

As far as ease of install, we have about a half-dozen choices that would be better than making a 'windoze' executable. Perhaps the neatest is the 'Java Web Start' package that I saw at JavaOne this year -- I'll post a link and a description later tonight.

Altho a simple 'batch' file would even be preferable to a windoze executable . . .

Anarqu|stA is offline Anarqu|stA
Settler
Joinville, SC, Brazil
Sep 2000
time: 05:13
Post  Old Post 09-09-2000 04:39 Visit Anarqu|stA's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

You can put this bat on the download page, because only a few people will download a huge vm for a game that has only 400k. I didn't used IBM or Hotspot VM, i'll look at them.

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Question  Old Post 09-09-2000 05:16 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Suffering from ads?

I get errors on startup using jview. Specifically:

java.lang.NullPointerException
at java/util/Hashtable.get
at com/ms/awt/WToolkit.getFromMRUMap
at com/ms/awt/WToolkit.getImageFromHash
at com/ms/awt/WToolkit.getImage
at clash/gui/ClashSplash.paint
at com/ms/awt/WComponentPeer.doClearAndPaint
at com/ms/awt/WComponentPeer.paintNode
at com/ms/ui/windowmanager/PaintRequest.run
at com/ms/ui/windowmanager/RunnableMessage.run
at com/ms/awt/WSystemQueue.getMessage
at com/ms/awt/WEventQueue.getNextEvent
at java/awt/EventDispatchThread.run

It runs for a while after this, but always hangs after 5-20 turns. At least after this error there is no difference in speed between jre and jview on my machine (600MHz PIII 256MB Ram).

Any ideas from the peanut gallery?

F_Smith is offline F_Smith
Prince
Austin, Tx 78728
May 1999
time: 05:13
Post  Old Post 09-09-2000 13:02
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Lose 30 kilos (of popups)

Actually, from a web page we can force the VM we want 'em to with the Java plug in. That's how I deploy Java2 applets at work.

Another intriguing option to watch is the 'Java Web Start' package they've just released.

You download an application once, then every time you start up the app it checks for new versions at the sight you downloaded it from, and you can also designate the vm to use. It's very new, but really slick. Download the demo for 'swing set'. It's also a very handy tool for writing 'swing' components, you'll be impressed.

I'm not sure it's ready for primetime quite yet, but it'll be interesting to see how far it can progress in the next 6 months. It really creates a 'web' application.

* * *

Mark:

Hmmm.

I don't know. I've encountered many wierdnesses in JView, but I can't remember that specific one offhand . . .

Put in a few 'display' printlines and try and isolate the line that causes the error, I guess.

Anarqu|stA is offline Anarqu|stA
Settler
Joinville, SC, Brazil
Sep 2000
time: 05:13
Post  Old Post 10-09-2000 01:34 Visit Anarqu|stA's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Call to Power 2

I think you didn't see the diference because your computer has a huge memory and speed, if you try on slower computers the difference will be greater.

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Post  Old Post 10-09-2000 05:49 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Avatar Enlargement: We've got the solution

Sounds like a reasonable explanation...

Anyway, we will find a good set of alternatives for demo 5.

  < 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.0367 seconds (89.22% PHP - 10.78% MySQL) with 29 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