Re: org.ozoneDB package not found

"Wieslaw Faruga" <[email protected]> Wed, 08 Sep 2004 09:58:48 +0200
Newsgroups gmane.comp.java.ozone.user
Message-ID <413ED7D8.12763.8B3D1F@localhost>
Hi,

On 8 Sep 2004 at 11:44, [email protected] wrote:

> Hi all,
> 
> when i complile Car sample given in the Ozone users manual I get following
> error :
> 
> E:\ozone-1.2\samples\XA>javac Car.java CarImpl.java
> it gives
>         public class CarImpl extends OzoneObjec
>                    ^
> Car.java:1: package org.ozoneDB does not exist
> import org.ozoneDB.OzoneRemote;
>                    ^
> Car.java:3: cannot resolve symbol
> symbol  : class OzoneRemote
> location: interface Car
>             public interface Car extends OzoneRemot
>                                          ^
> CarImpl.java:1: package org.ozoneDB does not exist
> import org.ozoneDB.OzoneObject;
>                   ^
> CarImpl.java:4: cannot resolve symbol
> symbol  : class OzoneObject
> location: class CarImpl
>             public class CarImpl extends OzoneObjec
>                                          ^
> 5 errors
> 
> That means,org.ozoneDB package is not installed during installation of
> ozone.

I think that it is installed but you try to compile sources without setting the classpath environment 
variable.
It will be better to use ant tool. Each sample has got its own build.xml build script.

> what all other packages are needed to install to be able to create objects
> and upload in database and then retrieve data from it ?
> 

To run a sample you should use an ojvm script that properly sets the classpath.

Cheers,
Wieslaw


----------------------------------------------------------------------
Startuj z INTERIA.PL!!! >>> http://link.interia.pl/f1830



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click