Login  Register

Re: JNLPClassLoader: Finding library java.dll hangs

Posted by gouessej on Aug 01, 2014; 8:17am
URL: https://forum.jogamp.org/JNLPClassLoader-Finding-library-java-dll-hangs-tp4031559p4032679.html

As I told you, please use jstack:
http://docs.oracle.com/javase/1.5.0/docs/tooldocs/share/jstack.html

You can ask him to run this command when the application freezes. Enable all logs and get the JVM crash logs. We can't investigate without information. Please use the very latest JOGL version (currently 2.2.0 RC 20140731).

Any updater can be bothered by firewalls, virus scanners, ... There is no perfect solution. I never used the update in the background with Java Webstart, I preferred updating the application before running it. Currently, there is no real update, the end user has to download and install anew my game, I just plan to use the hash of the application bundle to determine whether the application needs an update and suggest him/her to reinstall it (Notepad++, TortoiseSVN and some other applications already do something similar). It could be automatized by using curl (already installed under Mac OS X and GNU Linux, available for Windows) or by writing a very short piece of Java source code to download the JAR(s) but then you have to show something to the end user while you update the application... As you can see, it can become quickly very complicated.
Julien Gouesse | Personal blog | Website