Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: jpub on Oracle 8i (JPublisher)
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
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 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
> http://www.cmis.csiro.au/sis
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Received on Sat Jul 31 1999 - 19:06:06 CDT