Hi Sony,
JyMOL's demo_build.sh is a script that attempts to be as cross-
platform friendly as possible. It calls "Makefile.demo" which unzips
the necessary jar & java files, compiles a demo, and then runs the
demo. The top of the Makefile.demo file has a configuration section
for Windows, Linux and Mac. You just need to tell the Makefile.demo
where to find your java and javac binaries. To do that, just open up
"Makefile.demo" in a text editor and find the section that matches
your computer and set the following. Let's say you're using Linux,
then you need to find these lines
**********
ifeq ($(strip $(UNAME)),Linux)
PLATFORM = linux
JAVA_HOME=/home/vertrees/playground/jdk1.6.0_21-$(ARCH)/
ANT_HOME = /usr/bin/ant
LIB_NAME = libjymol.so
endif
**********
and change
JAVA_HOME=/home/vertrees/playground/jdk1.6.0_21-$(ARCH)/
to point to wherever your Java JDK (
java.sun.com) is installed, for
example
JAVA_HOME=/home/sony/jdk1.6.0_21
This also assumes you have "unzip" installed.
For more information on Java, check out the free and useful book
"Thinking in Java" (
http://www.mindview.net/Books/TIJ/).
To run this you should just be able to type: "sh demo_build.sh".
Give that a shot and let me know if that helps.
Happy hacking!
-- Jason