From: Emanuele <buttice@elecomm.net>
To: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] jdbc redhat 6.0 NoClassDefFoundError
Date: Mon, 12 Jul 1999 17:06:31 -0700
Message-ID: <378A8307.F2187DC8@elecomm.net> (raw)
References: <1B3D5E532D18D311861A00600865478CA07E@exchange1.nt.maidstone.gov.uk>
Hi,
Thanks, I tried that and got a little further but now I get a :
Javac postgresql/CallableStatement.java
make: *** [postgresql/CallableStatement.class] Segmentation Fault.
I tried searching for this error in the mailing lists and didn't find a
match. Is there any more information that I can post that would help
find a solution to this. Would using RedHat 5.2 give me less problems ?
Anyone get this working on RedHat 5.2 ?
Thanks.
Peter Mount wrote:
>
> The exception is being thrown as the JVM cannot load the
> sun.tools.jar.Main class. Try adding the classes.zip file into the
> classpath.
>
> Peter
>
> --
> Peter Mount
> Enterprise Support
> Maidstone Borough Council
> Any views stated are my own, and not those of Maidstone Borough Council.
>
> -----Original Message-----
> From: Emanuele [mailto:buttice@elecomm.net]
> Sent: 09 July 1999 21:28
> To: pgsql-interfaces@postgreSQL.org
> Subject: [INTERFACES] jdbc redhat 6.0 NoClassDefFoundError
>
> Hello,
>
> This is my first attempt at installing jdbc on a rehat box. I have
> installed postgres-6.4.2 and jdbc on slakware 3.6 many times and I have
> automated the install process. I am using the same install process on
> the redhat box and it fails when running make.
>
> java.lang.NoClassDefFoundError: sun/tools/jar/Main
> at java.lang.Throwable.<init>(Throwable.java:40)
> at java.lang.Error.<init>(Error.java:21)
> at java.lang.LinkageError.<init>(LinkageError.java:21)
> at
> java.lang.NoClassDefFoundError.<init>(NoClassDefFoundError.java:21)
>
> My profile (CLASSPATH etc .. ) and install process is the same on both
> slakware-3.6 and Redhat-6.0 boxes, so I assume the problem has to do
> with some difference in the distribution and not my
> install procedure.
>
> Where should I start looking to resolve this ?
>
> Any help would be appreciated.
>
> --
> Emanuele Buttice Buttice@elecomm.net Network Manager
> Elecomm Corporation - www.elecomm.net
--
Emanuele Buttice Buttice@elecomm.net Network Manager
Elecomm Corporation - www.elecomm.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: buttice@elecomm.net
Subject: Re: [INTERFACES] jdbc redhat 6.0 NoClassDefFoundError
In-Reply-To: <378A8307.F2187DC8@elecomm.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox