MyCalendar Source Code Raadme File
By Fancy on 2002-3-25
------------------------------------------------------------------------
INDEX
------------------------------------------------------------------------
FILES LIST
NEEDED SOFTWARE ENVIRONMENT
HOW TO COMPILE
HOW TO RUN
HOW TO SET CLASSPATH
HOW TO MAKE A RUNABLE JAR PACKAGE
HOW TO REPORT BUG
HOW TO GET HELP
------------------------------------------------------------------------
FILES LIST
------------------------------------------------------------------------
calendar.zip
|-- fancy
| |-- Makefile for make command in linux
| |-- Manifest.mf for making jar package
| `-- MyCalendar.java source code
|-- README.txt readme file in English
`-- README_CH.txt readme file in Chinese
------------------------------------------------------------------------
NEEDED SOFTWARE ENVIRONMENT
------------------------------------------------------------------------
1. You can compile and run MyCalendar under Linux, Windows or Other
System (except DOS)
2. You must own J2SDK 1.4 (Java 2 Standard Edition Developer Kit v1.4)
------------------------------------------------------------------------
HOW TO COMPILE
------------------------------------------------------------------------
At first you should be sure that your JDK1.4 is valid and all needed
classes are in CLASSPATH. If you don't know how to set CLASSPATH, later
a section will tell you.
After unziped calendar.zip, there is a directory named fancy. Please
keep the directory and move it into a path which is in your CLASSPATH.
If you are under linux, you can change directory to fancy and type
make to compile it. It's like below command:
cd fancy
make
Or you are under Windows. you can change directory to fancy and use
command javac to compile it. It's like below command:
cd fancy
javac MyCalendar.java
After finished compiling, you can get below classes:
MyCalendar$1.class
MyCalendar$2.class
MyCalendar$3.class
MyCalendar$4.class
MyCalendar$CalendarTable.class
MyCalendar.class
------------------------------------------------------------------------
HOW TO RUN
------------------------------------------------------------------------
All classes are in directory fancy and the parent directory of fancy is
in you CLASSPATH, then you can run MyCalendar. The command is
java fancy.MyCalendar
------------------------------------------------------------------------
HOW TO SET CLASSPATH
------------------------------------------------------------------------
if your JDK1.4 is installed into
C:\jdk14 (under Windows)
or
/usr/local/jdk14 (under Linux)
you can set CLASSPATH like below one:
set CLASSPATH=C:\jdk14\jre\lib\rt.jar;. (under Windows)
or
export CLASSPATH=/usr/local/jdk14/jre/lib/rt.jar:. (under Linux)
------------------------------------------------------------------------
HOW TO MAKE A RUNABLE JAR PACKAGE
------------------------------------------------------------------------
There is a file named Manifest.mf in the zip package. Please find it.
Please sure that all classes which are got by compiling are in directory
fancy. Let current directory is fancy's parent. Then type below command:
jar cvmf fancy/Manifest.mf MyCalendar.jar fancy/
If it's successful, you can get a MyCalendar.jar at current directory.
It what you want. Then you can use below command to run it:
java -jar MyCalendar.jar
------------------------------------------------------------------------
HOW TO REPORT BUG
------------------------------------------------------------------------
If you found some bugs in MyCalendar, please tell the author, Fancy.
1. You can email to Fancy at outinn@163.com
2. You can write something in guestbook of http://outinn.yeah.net
3. You can post the message into java board of http://www3.ccw.com.cn
------------------------------------------------------------------------
HOW TO GET HELP
------------------------------------------------------------------------
You can ask help from Fancy at outinn@163.com
------------------------------------------------------------------------
-=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=-
/\
__________/II\___ OUTINN
/ _[]_ /____\ \
/_________/| () |\__\ http://outinn.yeah.net/
| ____ /-| __ |-\| Welcome to visit OUTINN!
|__|==|___| || |__|
-=--=--=- |_||_| =- Fancy at outinn@163.com