Smart Cache is written in 100% pure Java, it does not uses or requires any native or non-standard packages. Smart Cache runs on any platform, which has support for running compiled Java byte codes and has filesystem, which can use long filenames. To run Smart Cache your computer must be equipped with something (often called java-runtime, jre or jdk), what is able to run Java 1.1 programs. [2]
Java may be already installed on your system
[3]
- type on command line java
or jre
and see what happens. If you got Command not found
or Bad command or filename
error, you must download and install Java. See following sections
for more informations about this topic.
There are two main versions of Java available today, which are able to run Smart Cache. Older Java1.1 and newer Java2 (also called JDK/JRE 1.2). Smart Cache doesn't work [4] with old Java 1.0.X. Java2 is about 20% faster (more with HotSpot JVM) than Java1.1, but requires much more memory (RAM) and is bigger for download. I do not recommend running Java2 on computer with 16 or less MB of RAM.
If Smart Cache is only one Java program, which you are plan to use and you do not plan to provide cache for large (10+) computer network, get Java1.1 because it is smaller and you will not get noticeable benefit from Java1.2.
Java comes with two flavour JDK or JRE. JDK is intended for developers, who needs to develop and compile Java programs. JRE is for users, who wants just to run them. If you are not Java programmer, get JRE. If you already have JDK, you do not need to download JRE - JDK already contains it. [5]
Java download links for Solaris and Windows95/98/NT users: JDK1.1, JRE1.1, JDK1.2. General informations and download of Linux version of Java are at Blackdown's Linux-Java page.
Debian GNU/Linux
has Java runtime in package jdk1.1
.
This package is in non-free section, because they can not be
distributed on CD's. You can download it from many
mirror sites.
Users of other operation systems or Linux distributions can find Java in operation system itself. Start installation program and look for packages/programs named java, jdk, ... or consult documentation which comes with OS and follow instruction provided by OS vendor. Also they can find useful this page which lists Java links for some less common operation systems.
Follow your operation system specific instruction for installing Java. Some installation comes with sample programs or applets, so you can try to run one of them and look if Java works.
After installation
java
or jre
command must
work - It displays list of available options.
If you get Command not found or
Bad command or filename
error, your
PATH environment variable is not set correctly,
locate these executable(s) and add it to PATH.
For easy installation Smart Cache is distributed
in Debian binary package
scache
. Simply install this package and
required package jdk1.1
and optional
package tya
.
See also Smart Cache on Debian GNU/Linux, section 5.1 and do not forget Configuring a Web browser, section 4.3.
After Checking the Java installation, section 3.4, for installing Smart Cache you must perform these steps:
scache.zip
into some empty directory. A zip utility supporting
"Long Names" is required.
Info-Unzip or Winzip are fine, but DOS version
of PKZip is not.
Verify, that files have '.class' extension, not '.CLA' and
file names are in lower case. Java is case-sensitive. If not, you can have
a bad unarchiver, bad scache.zip or both.
.class
files.