agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Problem with PL/Java installation
Date: Tue, 07 Feb 2006 08:34:12 +0100
Message-ID: <43E84D74.6020805@tada.se> (raw)
In-Reply-To: <631AA2476DFFD047873427369B8C0698024C3814@teasgex1.teasin.com>
References: <631AA2476DFFD047873427369B8C0698024C3814@teasgex1.teasin.com>

Patrick,
I think I expressed myself a bit cryptic. I mean that you start your 
java source file with:

  package x.y;

and you let it reside in directory x/y/. The full name of your class 
will now be 'x.y.plj_miscellaneous'. Using the default  package (i.e. 
omitting the package directive) is considered bad practice.

Regards,
Thomas Hallgren

Patrick Ng wrote:
> Er....
>
> Sorrie. What's a named package? Any examples on this? 
>
> I can't find any mention of this in the user guide for PL/Java.
>
> Best regards
>
> -----Original Message-----
> From: Thomas Hallgren [mailto:thomas at tada.se] 
> Sent: Monday, February 06, 2006 3:31 PM
> To: Patrick Ng
> Cc: PL/Java Development
> Subject: Re: [Pljava-dev] Problem with PL/Java installation
>
> Patrick,
> At present, PL/Java will not allow use of default package. You must put 
> your class in a named package.
>
> Regards,
> Thomas Hallgren
>
> Patrick Ng wrote:
>   
>> Hi,
>>
>> I have encountered a very strange problem with running PL/Java on
>>     
> Windows.
>   
>> I wrote a Java class
>>
>> ...
>>
>>
>> I keep getting
>>
>> ERROR: java.lang.ClassNotFoundException: plj_miscellaneous
>>
>> However, these 3 tables' values seem correct.
>>
>> Do u have any idea why this is so? Is it a bug with PostgreSQL?
>>
>> Best regards
>>
>>     
>
>
> ________________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs Email
> Security System.
>   





view thread (9+ messages)  latest in thread

Message-ID: <43E84D74.6020805@tada.se>
Permalink:  ../43E84D74.6020805@tada.se/
Also on:    postgresql.org/message-id/43E84D74.6020805@tada.se

reply

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: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Problem with PL/Java installation
  In-Reply-To: <43E84D74.6020805@tada.se>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox