Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: jpub on Oracle 8i (JPublisher)
Robert, Cindy,
you need to add $ORACLE_HOME/sqlj/lib/translator.zip to your CLASSPATH - then it should work just fine.
Have fun, Timo.
In article <37A38F6E.C058F022_at_rationalconcepts.com>,
"C. Ferguson" <c_ferguson_at_rationalconcepts.com> wrote:
>
> --------------787F4C6880CA990ECE85A969
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Hi,
> I know java, but don't know what jpub is, so I'm going to assume
it's
> an application and we'll start from there. Although you may think
your
> classpath variable is set correctly, try this:
> in the directory where the jpub class resides, type java -classpath
> .:/export/opt/oracle/ora8/jdbc/lib/classes12.zip jpub <CR>
> That is an example of how to specify classpaths when on a unix box.
> Instead of the colons, substitute semi-colons and change the slash to
> backslashes when on NT.
> The first period, tells java to look in the current directory and then
> continue looking for class resources in the other paths. If jpub did
not
> rely on any other classes, (somehow I doubt it since you posted to an
> Oracle newsgroup) you could just type java jpub <CR>
>
> Hope that helps,
> Cindy
>
> Robert Andrew Power wrote:
>
> > How do I run jpub for Oracle 8.1.5 (Oracle 8i).
> >
> > On UNIX and Windows NT, my CLASSPATH and PATH env variables
> > appear to be correct since I can correctly compile and run
> > the Oracle jdbc demos.
> >
> > However, when I run jpub, I get the following:
> >
> > Can't find class oracle.jpub.Main
> >
> > What do I need to do?
> >
> > Robert Power
> >
> >
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++> > http://www.cmis.csiro.au/sis
> > robert.power_at_cmis.csiro.au Software Engineer
> >
> > CSIRO Mathematical and Information Sciences
> > Canberra Laboratory
> > PO Box 664 tel: +61 2 6216 7039
> > Canberra ACT 2601 AUSTRALIA. fax: +61 2 6216 7112
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Mon Aug 02 1999 - 05:19:29 CDT
![]() |
![]() |