Re: Java class error on OS X

Bruno Dumon <[email protected]> Mon, 25 Aug 2003 21:29:03 +0200
Newsgroups gmane.editors.pollo.devel
Organization Outerthought
Message-ID <[email protected]>
On Mon, 2003-08-25 at 21:03, Grant Barrett wrote:
> I'm wanting to test Pollo on OS X, and so have downlaoded it and have 
> tried to run it. When I run the pollo.sh script, I get the following 
> error but no Pollo:
> 
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/outerj/pollo/Pollo
> 
> It looks like the setting of class paths isn't going as planned. I see 
> from the screenshots that at least one other person has gotten this to 
> work, so I am still hopeful. Any help you might offer would be 
> appreciated.

I don't have access to an OS X system, so I'm not sure what could go
wrong. I'm using the bash shell, maybe OS X uses another one by default
that's not compatible.

Some possible solutions are:

* Add the following as the first line of pollo.sh:
#!/bin/bash

* split the export CLASSPATH statement into two lines:
CLASSPATH=....
export CLASSPATH

Let me know if any of these helps (and keep the mailing list in the To
field).

Thanks,

Bruno

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[email protected]                          [email protected]



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0