This page comes exclusively from DanCity

FAQ  

DanCity Java FAQ

This document contains the anwsers to the most frequently asked questions regarding DanCity Java. If you have problems using the DanCity Applets you should consult this page before emailing support.

Section 1 - FAQ and Anwsers

Section 2 - How to Resolve Common Problems





Section 1 - FAQ and Anwsers

Where is the class file?

Q. I have downloaded the Applet package, but it does not contain a java class file. Where is it?

A. The Java class files are contained in the compressed JAR (Java Archive) files in the download package.


Why can I only see a gray box in my browser window?

Q. Why can I only see a grey box where the Applet should be?

A. A grey box indicated that the Java class file has not been found. See the Class not Found section for further advice.


Flag Applet: Generating stays at zero percent.

Q. I am using your Flag Applet on my page, but the Generating Animation message just stays at zero percent. What have I done wrong?

A. This usually means that the image you have referenced to in the image parameter of the applet tag has not been found. Ensure that the image is in the same directory as the HTML page and jar file. And that the case of the image filename and parameter reference are the same.


Do you offer support for Apple Macintosh machines?

Q. Do you offer support for Apple Macintosh machines?

A. Unfortunately it is not possible for us to support Macintosh machines at the moment.

Most versions of Netscape for that Mac only support the rather outdated 1.0 version of Java. All our applets are developed using Java 1.1, which has existed for a least the last three years. In fact Java 1.1 is currently being replaced by 1.2, with 1.3 under development!

We believe that the Scroller applet works Using IE 4.01 for the Mac, and there is a Java plug-in for Netscape. See http://www.mozilla.org/oji/MRJPlugin.html for more details.






Section 2 - How to Resolve Common Problems

Class Not Found

If you recieve a class not found error this indicates that the browser has not found the file needed to run the Java Applet. To resolve this problem please ensure:

  • The jar file is in the same directory as the webpage.
  • The jar filename letters are the correct case. Eg. 'FlagApplet.jar' not 'flagapplet.jar'.
  • The webpages HTML code appears exactly as specified in the documentation.
  • You transfer the jar file to your webserver in binary mode.

If the applet fails to run on your web server, try to get it working locally first.


Geocites Users: Class Not Found

It seems that Geocites servers do not like jar files! Jar files are the standard way of archiving Java class files. If you are trying to run an Applet on a Geocites server and are getting a Class not Found or similar error, try the following:

  • Rename the jar file to a class file. For example 'SliderMenu.jar' becomes 'SliderMenu.class'.
  • In your HTML change the APPLET tag ARCHIVE parameter to reference the new file. For example ARCHIVE="SliderMenu.jar" becomes ARCHIVE="SliderMenu.class".



Page contents © 1999. All rights reserved.