W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1999

Re: can't start install.class

From: Luc Saint-Elie <lse@imaginet.fr>
Date: Thu, 15 Jul 1999 01:54:38 -0400 (EDT)
Message-Id: <>
To: nickishov@satellite.kiev.ua
Cc: Jigsaw Mailing List <www-jigsaw@w3.org>
Le 07:22 14/07/99 -0400, Mykola A. Nickishov a écrit:
>Luc Saint-Elie wrote:
> > This is a very (very very) classical CLASSPATH problem
> > here is the content of my install.bat file (I use Win 98):
> > cd D:\Jigsaw\Jigsaw
> > java Install
>Here is my install.bat:
>--> java -classpath "d:\jdk1.2\lib\classes.zip" Install
>It's placed in d:\jigsaw\jigsaw... Any advices now?


Two advices (without any guaranties :-)

1) You must distinguish your JDK CLASSPATH and the path telling the JVM 
where your java class is

Your CLASSPATH is something related to ALL your Java stuff, so set it one 
good time for all (setting the CLASSPATH on a case by case basis under 
Windows will lead you to a very depressing experience.. I don't know how 
Unix works in this field but Windows ...)

So in your autoexec.bat you may have stuff like :


In each of your myprettystuff.bat file (like install.bat but also in the 
.bat files you will use to launch and stop Jigsaw) you need to indicate :
a) WHERE the java class is (for example d:\jigsaw\jigsaw)
b) call the java class

in my case

cd D:\Jigsaw\Jigsaw => tell the JVM to browse to the directory where my 
class is
  java Install => fire and forget

2) If you're using JDK 1.2
d:\jdk1.2\lib\classes.zip is strange. There is no more classes.zip AFAIK

Hope this helps

| Luc Saint-Elie                                 |
| 75018 Paris France                             |
| Tel: 1(212)894 3713 ext: 0012                  |
| email : luc@interpasnet.com                    |
| Java Server Side Open Source technologies      |
| http://www.interpasnet.com/JSS                 |
Received on Thursday, 15 July 1999 07:01:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:35 UTC