HP3000-L Archives

March 1999, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael I Yawn <[log in to unmask]>
Reply To:
Michael I Yawn <[log in to unmask]>
Date:
Mon, 8 Mar 1999 15:48:40 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (74 lines)
Doug Werth ([log in to unmask]) wrote:
: Greetings to hp3000-l from a java newbie.

: I was feeling kinda cocky when I got HelloWorld to run on the first try.
: Thought I would tackle something a bit more useful so I downloaded and
: installed the TurboImage class library (image.tar) from jazz. I tried to run
: one of the sample java packages (GenericClient) to read image data from a
: database but am not having much success.

GenericClient is written to access a specific database that exists only
on my system :-(.  You'll need to update the basename, passwords,
setname, and items to match your own needs.  (If this isn't the problem,
let me know exactly what kind of problem you're having).

: I have thoroughly read Mike Yawn's Java Tutorial on jazz
: http://jazz.external.hp.com/src/java/tutorial.html several times. Here are
: some questions I still have:

: o What should I set the CLASSPATH and LD_LIBRARY_PATH variables to?

The tutorial isn't specific about these, because the TurboIMAGE class
library can be installed anywhere you want, and the paths will need
to be adjusted accordingly.  In retrospect, perhaps it would have been
better if I'd just picked a location, and had everyone install it
exactly the same way.

The CLASSPATH needs to be set to whatever directory you were in
when you unzipped the distribution file.  This will be the directory
that is the parent of the 'com' HFS directory (the TurboIMAGE
class library will be installed in <starting directory>/com/hp/turboimage,
where <starting directory> is wherever you do the unzip.

The LD_LIBRARY_PATH needs to be set to the directory that actually
contains the XL with the native code; this is the 'turboimage'
directory.  So LD_LIBRARY_PATH must be set to <starting directory>/
com/hp/turboimage.

: o I created the image.zip file using jar. Where does that go?

You don't actually need to do this.  The TurboIMAGE class library is
an 'Open Source' development effort, meaning that users get the full
source code and are encouraged to enhance and extend the class library,
and submit any generally-useful enhancements (or bug fixes) back to
me for inclusion in future versions of the library.  In the interest
of completeness, the distribution includes the scripts that allow
you to create your own distribution, making either a .zip, .jar,
or MOVER file.  Unless you're trying to send me back your changes
or share them with someone else, you don't need to build these.

: o Is there a good step-by-step document detailing the steps necessary to go
: from ground zero to opening and reading a record from an Image database?

I think the combination of the tutorial and example programs pretty much
constitutes all the documentation that's available (well, there's also
some useful information in the embedded javadoc comments in the source
code -- if your 3000 is a web server, you can browse the documentation
in the <starting directory>/com/hp/turboimage/docs directory.  But feel
free to ask questions on 3000-L or the SIG JAVA mailing list.

: TIA and TGIF.

YW and OHIM.

: Doug.

--
-----------------------------------------------------------------
Mike Yawn
Hewlett-Packard                      email       [log in to unmask]
Commercial Systems Division          Voice         (408) 447-4367
19447 Pruneridge Ave M/S 47UA        Fax           (408) 447-4441
Cupertino, CA  95014
-----------------------------------------------------------------

ATOM RSS1 RSS2