|
From: <bc...@wo...> - 2002-01-03 09:42:53
|
[Paulo Eduardo Neves ] >When I try to install I get: Which java brand and version? >java -cp . jython-21 >try path /home/install/java/ >can not open archive >can not read from archive >can not load class =20 >net.sourceforge.liftoff.installer.source.ResURLFactory=20 >:java.lang.ClassNotFoundException:=20 >net.sourceforge.liftoff.installer.source.ResURLFactory Where is the jython-21.class located and what is your current directory when you start the installer? I can see it tries to find the class file at the path /home/install/java/jython-21.class. Is that where you have it? If you does, then your classpath is correct. Some IOException is occuring while the installer attempts to locate the .class file and open it as a ZipFile. Unfortunately, the installer doesn't print any information about the exception and that makes it a little harder to analyze. Please check that your copy of jython-21.class looks alright. That it have some sane access rights. That it has the right size: 2.780.495 bytes. That it is located on a local filesystem. >I tried the sugestion in this mailing list archives: > >java -classpath jython-21.class jython-21 -o jython21 That does not work on any of the JVMs I know of. [Otmar Humbel] >I'd try with the directory where jython-21.class lives in, such as: > >java -classpath your_directory jython-21 -o jython21 That should work for most JDK based java2 VMs. If your VM is a JDK1.1, you will also need to added the classes.zip to the classpath: java -classpath $JAVA_HOME/lib/classes.zip:. jython-21 -o jython21 where JAVA_HOME is the installation location of your java VM. regards, finn |