This viewer is brand new, so I'm not sure that there is such a thing as a "common problem" yet. We're still fleshing out what is possible with it and how best to deploy it, etc.
If you're talking about how to deploy the viewer via the web and still get JPEG acceleration, then the only way to do that is going to be via JavaWebStart. You can't use JNI from within an applet. With JWS, you can basically create a JAR file for each platform, and the JAR file will contain the TurboJPEG DLL specific to that platform. You then create a .jnlp file on your web server that serves up the libjpeg-turbo JNI JARs along with the TurboVNC Viewer JAR. The client will still need the JRE and JWS installed, but they won't need to have libjpeg-turbo installed. Rudimentary instructions are here, but they will require some site-specific customization: http://www.virtualgl.org/Documentation/JWS One of our upcoming projects will be to create a new project around some TurboVNC portal software that a customer has decided to open source. Their portal currently generates .vnc connection files and assumes that you have the TurboVNC Viewer installed on your client, but I would like to eventually extend it to accommodate launching the Java viewer via JWS as well (if any of you would be interested in funding this, let me know.) In the context of that project, it might make sense to develop a more automated method of creating the libjpeg-turbo JAR files or even to deploy those as part of the libjpeg-turbo binary distribution. For now, the process of setting up a JWS portal around the TurboVNC Viewer is somewhat left as an exercise for the reader, but please let me know if you find issues with the instructions above or believe that something should be added to them. On 2/27/13 1:48 PM, Kevin Van Workum wrote: > Supposed the end-user doesn't have libjpeg-turbo installed. Is there way > to bundle it in the jar file? Or maybe have the browser download the OS > specific library to a standard place so the applet can find it? Sorry, > I'm not a java or web developer, but this must be a common problem. > > On Tue, Feb 26, 2013 at 4:25 PM, DRC <dcomman...@users.sourceforge.net > <mailto:dcomman...@users.sourceforge.net>> wrote: > > Uh, what do you mean a working example? If you're on Mac, it does so > automatically (the JNI library is embedded in the app.) For other > platforms, install 1.3 beta of the libjpeg-turbo SDK > > (https://sourceforge.net/projects/libjpeg-turbo/files/1.2.90%20%281.3beta1%29/), > and the new Java viewer should automatically pick up the TurboJPEG > library from that. > > > On 2/26/13 1:01 PM, Dyweni - VirtualGL-Users wrote: > > Hi! > > > > Is there a working example for running the new Java Applet with the > > LibJPEG-Turbo JNI? > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > VirtualGL-Users mailing list > VirtualGL-Users@lists.sourceforge.net > <mailto:VirtualGL-Users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/virtualgl-users > > > > > -- > Kevin Van Workum, PhD > Sabalcore Computing Inc. > "Where Data Becomes Discovery" > http://www.sabalcore.com > 877-492-8027 ext. 11 > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > > > > _______________________________________________ > VirtualGL-Users mailing list > VirtualGL-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtualgl-users > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ VirtualGL-Users mailing list VirtualGL-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtualgl-users