Re: problems in Installation of OZONE-1.1

Leo Mekenkamp <[email protected]> Mon, 30 Aug 2004 11:13:45 +0200
Newsgroups gmane.comp.java.ozone.user
Message-ID <[email protected]>
On Sat, 2004-08-28 at 09:42, [email protected] wrote:
> Thanks for ur prompt reply.
> As per ur suggestion I downloaded binary version.After that I made a data
> directory in root directory of Ozone and tried to initialize it as:
>              ozoneInst -d<data_directory>
> 
> I got the following error :
> 
> E:\ozone-1.2\server\build\bin>ozoneInst -d e:\ozone-1.2\data
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/ozoneDB/tools/Ins
> tall
> E:\ozone-1.2\server\build\bin>
> 
> pl tell about this error.

It means that the JVM cannot find the class org/ozoneDB/tools/Install
which was specified in the ozoneInst batch file.

> I have even defined classpath in environment variable as
>      CLASSPATH=D:\j2sdk1.4.2

This is something you should never do; a JVM should be able to find its
own jar files and classes.

Why are you still trying to run from server\build\bin? Try deleting
every instance of ozone you have installed (both src + bin), reinstall
the binary only and try from there.

It is also not a good idea to store a database in the ozone program
directory; bad from both security as well as from a maintenance point of
view.

Cheers,
Leo




-------------------------------------------------------
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