comparing java/lwjgl and c#/xna...

  1. Probably because I’ve been doing it for years and years too :wink:

Cas :slight_smile:

No, it is not a good explanation. Seriously, this delay starts before the launch of my game, it doesn’t depend on my game itself.

Then maybe it has something to do with your webspace. I’ve never experienced this effect except when launching this particular game…it takes ages to load and it’s unclear to me what it actually does during that time. The last time that i’ve experienced such a thing was when using webstart via a local proxy.

Don’t forget that my game is “big”, around 15 MB. It’s unclear to me what it actually does during that time too, I will investigate.

It does sound as if it’s not the library loading that’s the problem but some kind of web delay instead.

Cas :slight_smile:

The first logging in TUER appears almost instantly here.
After that, it takes a few seconds for the game to appear. I don’t know the reason, but I was assuming it was just initializing the game. Those few seconds were way too short for me to give up and kill the game, and it didn’t make me want JOGL was part of Java in any case (if library loading has anything to do with it at all)…

It just has to be I/O… libraries that take minutes to load, simply because they are accessed in a slightly different environment, just doesn’t make sense. Webstart has so much I/O-bugs (AKA it worked the second time), what it wouldn’t surprise me if we could add another one.

I tried to modify the “update” behaviour, it doesn’t change anything.

Why is my java archive bigger after the download??? The java archive has a size of 14 MB and in the java web start viewer, it writes “16 MB”!!

You might want to peek inside, with you favourite zipper.

It could be that it uncompresses all class-files for speed-reasons, but that’s a totally wild guess. (And it would require the whole JAR to be rebuilt… maybe the reason of the minutes delay? ;))

Nah… just compare the jars and work from there.

I would like to compare the Java archive but I don’t find where Java hides the downloaded archive. I looked into ~/.java/deployment and I didn’t find it.

There are now exactly 128 class files inside my game.