[Walrus-dev] Having trouble.

Jamie Nelson jamien@montanavision.net
02 Jun 2002 11:26:48 -0600


Hi-

This may not be the place to ask these types of questions.  If so, I
apologize.  I am not familiar with java and am getting an error when
trying to run Walrus 0.6.  I am trying to do this on a Mandrake 8.2
Linux machine.  I have both the 1.3.1 and 1.4 versions of the Sun j2re
and j2sdk installed.  I have installed the Blackdown
java3d-re-1.2.1_03-fcs-linux in the j2re and the Blackdown
java3d-sdk-1.2.1_03-fcs-linux in the j2sdk.  I have the Blackdown Java3d
environment installed in both the Java 1.3.1 and 1.4.0 environments.

Now onto the error. Here is what I have tried:

[root@ether walrus-0.6]# ./walrus 
java.lang.ClassNotFoundException:
mp/jar:antlrall-mod/jar:libsea/jar:walrus/jar
        at java.lang.Class.forName(Class.java:native)
        at java.lang.Class.forName(Class.java:55)


I tried setting the classpath to the full path I have the files in.

[root@ether walrus-0.6]# java -cp
/root/walrus-0.6/mp.jar:/root/walrus-0.6/antlrall-mod.jar:/root/walrus-0.6/libsea.jar:/root/walrus-0.6/walrus.jar H3Main
java.lang.ClassNotFoundException:
/root/walrus-0/6/mp/jar:/root/walrus-0/6/antlrall-mod/jar:/root/walrus-0/6/libsea/jar:/root/walrus-0/6/walrus/jar
        at java.lang.Class.forName(Class.java:native)
        at java.lang.Class.forName(Class.java:55)


I also tried using a different seperator (; instead of :) Sun mentions
this in some documents about classpath.

[root@ether walrus-0.6]# java -cp
/root/walrus-0.6/mp.jar;/root/walrus-0.6/antlrall-mod.jar;/root/walrus-0.6/libsea.jar;/root/walrus-0.6/walrus.jar H3Main
java.lang.ClassNotFoundException: /root/walrus-0/6/mp/jar
        at java.lang.Class.forName(Class.java:native)
        at java.lang.Class.forName(Class.java:55)
bash: /root/walrus-0.6/antlrall-mod.jar: Permission denied
bash: /root/walrus-0.6/libsea.jar: Permission denied
bash: /root/walrus-0.6/walrus.jar: Permission denied


If anyone has some time to point me in the right direction I would sure
appreciate it.  Thanks in advance.

Jamie Nelson
jamien@overstorm.net