pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
jdbc redhat 6.0 NoClassDefFoundError
5+ messages / 2 participants
[nested] [flat]

* jdbc redhat 6.0 NoClassDefFoundError
@ 1999-07-09 20:28  Emanuele <buttice@elecomm.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Emanuele @ 1999-07-09 20:28 UTC (permalink / raw)
  To: pgsql-interfaces

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* RE: [INTERFACES] jdbc redhat 6.0 NoClassDefFoundError
@ 1999-07-12 07:41  Peter Mount <petermount@it.maidstone.gov.uk>
  0 siblings, 1 reply; 5+ messages in thread

From: Peter Mount @ 1999-07-12 07:41 UTC (permalink / raw)
  To: 'Emanuele' <buttice@elecomm.net>; pgsql-interfaces

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [INTERFACES] jdbc redhat 6.0 NoClassDefFoundError
@ 1999-07-13 00:06  Emanuele <buttice@elecomm.net>
  parent: Peter Mount <petermount@it.maidstone.gov.uk>
  0 siblings, 0 replies; 5+ messages in thread

From: Emanuele @ 1999-07-13 00:06 UTC (permalink / raw)
  To: pgsql-interfaces

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* RE: [INTERFACES] jdbc redhat 6.0 NoClassDefFoundError
@ 1999-07-13 09:14  Peter Mount <petermount@it.maidstone.gov.uk>
  0 siblings, 1 reply; 5+ messages in thread

From: Peter Mount @ 1999-07-13 09:14 UTC (permalink / raw)
  To: 'Emanuele' <buttice@elecomm.net>; pgsql-interfaces

I actually develop the driver under RH5.2, so it should work on that
platform.

As for RH6, I use it here, and also using SUSE 6.1 (I think that's
correct) on my laptop. Finally, I also test it using Java2 under Win32.

As for the Segmentation fault, it is being caused by the jdk, not the
driver. What JVM are you using?

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: 13 July 1999 01:07
To: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] jdbc redhat 6.0 NoClassDefFoundError


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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [INTERFACES] jdbc redhat 6.0 NoClassDefFoundError
@ 1999-07-13 18:34  Emanuele <buttice@elecomm.net>
  parent: Peter Mount <petermount@it.maidstone.gov.uk>
  0 siblings, 0 replies; 5+ messages in thread

From: Emanuele @ 1999-07-13 18:34 UTC (permalink / raw)
  To: pgsql-interfaces

Peter Mount wrote:
> 
> I actually develop the driver under RH5.2, so it should work on that
> platform.

I originally tried RH5.2 using libc jdk 1.1.7, postgres 6.4.2 and got
seg faults and postgresql.jar
Error 137.

> As for RH6, I use it here, and also using SUSE 6.1 (I think that's
> correct) on my laptop. Finally, I also test it using Java2 under Win32.
> 
> As for the Segmentation fault, it is being caused by the jdk, not the
> driver. What JVM are you using?

After getting a few replies to this post, I was reminded that Rh6 is
using glibc, I'm was using the same jdk I used in Slakware3.6 which is
libc based.... Maybe trying a jdk for glibc would help :-) 

Thanks. 
 
> Peter
> 
> --
> Peter Mount
> Enterprise Support
> Maidstone Borough Council
> Any views stated are my own, and not those of Maidstone Borough Council.
> 

-- 
Emanuele Buttice  Buttice@elecomm.net Network Manager 
Elecomm Corporation - www.elecomm.net



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~1999-07-13 18:34 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-07-09 20:28 jdbc redhat 6.0 NoClassDefFoundError Emanuele <buttice@elecomm.net>
1999-07-12 07:41 RE: [INTERFACES] jdbc redhat 6.0 NoClassDefFoundError Peter Mount <petermount@it.maidstone.gov.uk>
1999-07-13 00:06 ` Emanuele <buttice@elecomm.net>
1999-07-13 09:14 RE: [INTERFACES] jdbc redhat 6.0 NoClassDefFoundError Peter Mount <petermount@it.maidstone.gov.uk>
1999-07-13 18:34 ` Emanuele <buttice@elecomm.net>

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