[kaffe] kaffe -jar failes when environment variable CLASSPATH is set

Ito Kazumitsu ito.kazumitsu at hidec.co.jp
Mon Jun 6 17:12:43 PDT 2005


Kaffe invoked with -jar option failes if the environment variable
CLASSPATH is set.  Please see the following test case.

bash$ cat src/META-INF/MANIFEST.MF
Manifest-Version: 1.0
Main-Class: Main

bash$ cat src/Main.java
public class Main {
  public static void main(String[] args) {

bash$ jar tvf test.jar
     0 Tue Jun 07 09:03:34 JST 2005 META-INF/
    43 Tue Jun 07 08:53:58 JST 2005 META-INF/MANIFEST.MF
   408 Tue Jun 07 09:00:14 JST 2005 Main.class
bash$ kaffe -jar test.jar
bash$ kaffe -classpath XXXXXXX -jar test.jar
bash$ CLASSPATH=XXXX kaffe -jar test.jar
Segmentation fault

More information about the kaffe mailing list