[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 ] [ 15 ] [ 16 ] [ 17 ] [ A ] [ B ] [ C ] [ D ] [ E ] [ next ]

Smart Cache Manual
Chapter 3 - Smart Cache Installation


3.1 Smart Cache requires Java

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. [1]

Java may be already installed on your system [2] - 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.


3.2 Choosing Java version

There are several versions of Java available today, which are able to run Smart Cache. Older Java 1.1 and newer Java2 (also called JDK/JRE 1.2 or higher). Smart Cache doesn't work [3] with old Java 1.0.X.

Java 1.2 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 Java 1.2 on computer with 32 or less MB of RAM. This big memory footprint was somewhat reduced in later Java 1.3 versions.

Java 1.4 (at least Win32 version, has not tried Unix port yet) was optimised and eats just about the same small amount of memory as Java 1.1.

SUMMARY: 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 for downloading and you will not get noticeable benefit from later versions of Java except bug fixes. If you have Win32 system and download file size does not matter, get 1.4 version; it is a really nice and stable.

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. [4]


3.3 Java downloading

Java download links for Solaris and Windows95/98/NT users: JDK1.1, JRE1.1, JDK1.3. 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.


3.4 Checking the Java installation

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.


3.5 Installation for Debian GNU/Linux users

For easy installation Smart Cache is distributed in Debian binary package scache or scache-native. You can get this package at http://home.worldonline.cz/~cz210552/deb/ or by apt if you add following line to /etc/apt/sources.list

     deb http://home.worldonline.cz/~cz210552/deb ./

You can also create packages yourself by getting .tar.gz distribution and running debian/rules binary. Check file debian/control for Build-Depends if you have installed required tools. This script creates two packages scache and scache-native.

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.


3.6 Generic installation from .zip file

After Checking the Java installation, Section 3.4, for installing Smart Cache you must perform these steps:

Do not forget to Configuring a Web browser, Section 4.3.


[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 ] [ 15 ] [ 16 ] [ 17 ] [ A ] [ B ] [ C ] [ D ] [ E ] [ next ]

Smart Cache Manual

0.84
Radim Kolar hsn@cybermail.net