Create a custom ptviewer jar file
Sometimes the simple way by showing your panoramas using the PTViewer Java applet leads to problems, e.g. firewalls at the client side disallow a .jar file to load other files. Then your panoramic won't show at all. Another reason to create custom PTViewer jar files might be the need to include a subset of classes to enable special functions and at the same time don't use the full featured applet with a bigger file size.
This article will try to explain for users of different platforms how to build such a jar step by step. A jar is basically a zip archive with a certain structure of elements. Feel free to edit and improve this page.
--Zarl 07:42, 3 Nov 2005 (EST)
Elements that can be packed in a jar
- panoramic image in equirectangular projection as jpg
- a small preview image that is shown while the panoramic image is loaded and decompressed
- what else?
how to detect the Java version on MacOS X
open Terminal and type
press return and you should get something like
java version "1.4.2_09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-233) Java HotSpot(TM) Client VM (build 1.4.2-56, mixed mode)
If you get an error message please update your Java version