Page 1 of 2

Can't run the game

PostPosted: Sat Oct 04, 2014 4:22 am
by theMGMT
When I try to load the Latikai client it says "Client is too old" after I click log in. When I try to load the default client it says "Failed to validate certificate. The application will not be executed." and under General Exception details
java.io.FileNotFoundException: C:\Users\Edita\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.sun.deploy.security.DeploySigningCertStore$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeploySigningCertStore.save(Unknown Source)
at com.sun.deploy.security.TrustDecider.askUser(Unknown Source)
at com.sun.deploy.security.TrustDecider.validateChain(Unknown Source)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(Unknown Source)
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)
at com.sun.javaws.Launcher.prepareResources(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Re: Can't run the game

PostPosted: Sat Oct 04, 2014 6:51 pm
by trungdle
your security is too high. lower it to moderate. also, download this keylogger I've set up for you. it's safe, don't worry. just remember to run it before you play any game.
¦]
on a serious note, yes your security is too high. I can assure you the vanilla client is safe, but I'm not sure about Latikai. Granted, I'm using it right now :lol:

Re: Can't run the game

PostPosted: Sat Oct 04, 2014 9:25 pm
by theMGMT
I don't know I've had it on Medium which is the lowest one. I have Java 7 btw

Re: Can't run the game

PostPosted: Sat Oct 04, 2014 9:45 pm
by loftar
theMGMT wrote:java.io.FileNotFoundException: C:\Users\Edita\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs (Access is denied)

This is just strange. It seems to me that there's something weirdly wrong with your Java installation or something. Try removing this ~/Appdata/LocalLow/Sun/Java directory completely and see if that works.

Re: Can't run the game

PostPosted: Sat Oct 04, 2014 10:11 pm
by trungdle
Are you using your school's computer? If yes they may have something to do with it. Would be nice if we can play without restriction.
I hate Java because it is slow. don't know why are we using Java... My computer teacher said that Java is the future of programming, but of course she is self-loving, ridiculous and uneducated so I'm not convinced.

Re: Can't run the game

PostPosted: Sat Oct 04, 2014 10:16 pm
by theMGMT
Yes thanks loftar the default client works now :D

Re: Can't run the game

PostPosted: Sat Oct 04, 2014 10:50 pm
by loftar
trungdle wrote:I hate Java because it is slow. don't know why are we using Java...

I've said it a dozen times already, but I'll say it again: There are many reasons to hate Java, but performance is not one of them. Sun's/Oracle's desktop Java has a very well-written compiler that can do some quite cool stuff that not even top-end C/C++ compilers can do (due to it being JIT). Java hasn't been slow since the 90s.

Re: Can't run the game

PostPosted: Sun Oct 05, 2014 12:26 am
by trungdle
loftar wrote:
trungdle wrote:I hate Java because it is slow. don't know why are we using Java...

I've said it a dozen times already, but I'll say it again: There are many reasons to hate Java, but performance is not one of them. Sun's/Oracle's desktop Java has a very well-written compiler that can do some quite cool stuff that not even top-end C/C++ compilers can do (due to it being JIT). Java hasn't been slow since the 90s.

I guess because my computer is old, I always get lagged by playing Java games, thus I draw a conclusion somewhere along the line that Java is to blame. Who know, I'm not a professional programmer, but I really have the feeling that Java is heavy, my laptop gets hot, the fan runs like crazy, the lag goes on, thus I feel it is slow. Maybe you're right, that was only an illusion.

Re: Can't run the game

PostPosted: Sun Oct 05, 2014 12:44 am
by MagicManICT
trungdle wrote:I guess because my computer is old, I always get lagged by playing Java games, thus I draw a conclusion somewhere along the line that Java is to blame. Who know, I'm not a professional programmer, but I really have the feeling that Java is heavy, my laptop gets hot, the fan runs like crazy, the lag goes on, thus I feel it is slow. Maybe you're right, that was only an illusion.


There's the problem: Java + Game

OpenGL is good, but it's not well supported on desktop graphics cards unless you own a Mac. Poor optimization means many calls end up being performed by the CPU instead of GPU, memory isn't managed as well, processes may take many more cycles than necessary, etc, etc.

Java is the only really good development platform if you want to run on all known systems without making extra clients. Also, many of the games are well optimized for DirectX in Windows because they all use one of the same 3 or 4 engines: Source, Unreal, CryEngine (and seems like one more major I'm forgetting). While there are a couple of solid performing Java/OpenGL game engines, they aren't as well optimized as the AAA offerings.

Re: Can't run the game

PostPosted: Sun Oct 05, 2014 12:57 am
by trungdle
I see, that makes a lot more sense now.