[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 ] [ 15 ] [ 16 ] [ A ] [ B ] [ next ]
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 2 platform runtime, JRE , JDK or simply just Java), what is able to run Java 1.5 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 information about this topic.
There are several versions of Java available today, which are able to run Smart Cache. Older Java 5 (JDK 1.5) and newer Java 6 (also called JDK/JRE 1.6). Smart Cache doesn't work with older Java versions.
Purists says that Java 6 is bit faster and Java 5 is more stable. I run Smart Cache on both versions without any stability problems. I havent benchmarked Smart Cache on these two different runtime versions.
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. [3]
Official Sun Java download links for Linux, Solaris and Windows users: JRE/JDK
5.0
, JRE/JDK 6.0
.
Linux users can also download OpenJDK Java distribution for Ubuntu, Fedora,
OpenSuse and Debian from OpenJDK on java.net
. Java
for FreeBSD is downloadable
from FreeBSD Foundation.
Debian GNU/Linux
has Java
runtime in package sun-java5-jre
. 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.
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 running java
or jre
command from
command line window/terminal must work and display short list of available
command line 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
or scache-native
. You can get this package at
http://scache.sourceforge.net
You can also create packages yourself by getting .tar.gz distribution and
running fakeroot debian/rules binary. Check file
debian/control
for Build-Depends if you have installed required
tools. Debian maintainer
guide
will give you more details about tools you need. This script
creates two packages scache
and scache-native
.
Install this package and required package sun-java5-jre
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:
Unpack 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.
Verify if your unpacker recreates archive directory structure when unarchiving.
Copy provided sample *.cnf files from directory samples to upper
directory, which contains .class
files.
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 ] [ A ] [ B ] [ next ]
Smart Cache Manual
0.94hsn_nospam_at.sendmail.dot.cz