help me with the blob

1999-12-06 Thread cf

hi linux and java fan :
I devlop a program with oracel 805 on linux with blackdown java .and i have to 
inset the picture into the database .what should i do .
   Greate  thanks 
and happy Y2k
ôèPԔ ‘ 
ÿzf¢–Ú#jöÿ–)îÇúު笷øÚ½¯Û•§$vŒ'þŠàÂ+aj˛ç-¡ÿîžË›±ÊâmïÿNº.nWÿ
‰íiËdj¹ÿnVœ‘Ú0Ÿú+



Java Advanced Imaging availability on Linux

1999-12-06 Thread Jacob Nikom

Hi,

I have question about Java Advanced Imaging (JAI) 
availability on Linux. In their "Introduction to Java 
Advanced Imaging" (http://java.sun.com/products/java-me\
dia/jai/forDevelopers/jai1_0guide/Introduct\
ion.doc.html#52476) they wrote:

"1.3.1 Cross-platform Imaging

Whereas most imaging APIs are designed for one specific 
operating system, JAI follows the Java run time library model, 
providing platform independence. Implementations of JAI 
applications will run on any computer where there is a Java 
Virtual Machine*. This makes JAI a true cross-platform imaging 
API, providing a standard interface to the imaging capabilities 
of a platform. This means that you write your application once 
and it will run anywhere."

Sounds good isn't it?

However, when I looked at JAI web site and found they have only
downloads for Solaris and Windows. Why in this case they have special
distribution? Is it possible to use them on Linux? Is it pure Java 
stuff?

Thank you,

Jacob Nikom


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: font.properties

1999-12-06 Thread Jeff Bean

"John N. Alegre" wrote:
> 
> Jeff,
> 
> My suggestion is a real short HOWTO posted to the list.  I, for one would just
> love to see what you did and I feel that once it was all in front of me once I
> could digest it and handle the issue in the future.  I feel that most people on
> the list are of the same mind.
> 
> Please post how you did it and I will tuck it away for the next round of
> tweaking.

This is what I did. I've been busy and haven't been able to automate it
yet, and there are some issues with automation -- like how to pick
replacement the font out of the output of xlsfonts (largest common
substring? font database? just random?)

But here's what I did by hand on my system:

Run my java app, noting which fonts it complained about...

Run xlsfonts. This tells you which fonts the server *can* display.

For each font A not found from java app, pick a font B in the output of
xlsfonts.

Massage font B so that it looks like the fonts to generalize the
metrics, as in font.properties. For instance, I would change

-adobe-courier-bold-r-normal--0-0-0-0-m-0-iso8859-1

to

-adobe-courier-bold-r-normal--*-%d-*-*-m-*-iso8859-1

You're going to be running sed, so you want to escape the special
characters,
so now font B becomes:

-adobe-courier-bold-r-normal--\*-\%d-\*-\*-m-\*-iso8859-1

Now just enter the following:

cat font.properties | sed -e 's///' -e  
  > font.properties.NEW

Where another s/// replacement scheme is specified
after the second -e, and another, and another...

Then just backup the original font.properties file and replace it with
the NEW one.

--Jeff


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



jar problem

1999-12-06 Thread Dave Bazell

I just installed jdk1.2.2 on my redhat 5.2 system.  I tried to unjar a
file.  First I had to make some links to my bin directory to get rid of
some errors.  After doing that, I now get:

% jar -xvf weka-3-0.jar
/bin/i386/native_threads/jar: error in loading shared libraries
libhpi.so: cannot open shared object file: No such file or directory

I have the following links :

i386 -> /usr/local/jdk1.2.2/bin/i386
realpath -> /usr/local/jdk1.2.2/jre/bin/i386/realpath

According to the installation documentation, I should have been able to
use the software right out of the box, after doing the shell script.
That doesn't seem to be the case.

I would like to unjar my file.  Any ideas?


Dave


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Java Andanced Imaging avalability on Linux

1999-12-06 Thread Jacob Nikom

Hi,

I am interested to know is Java Advanced Imaging (JAI) implementation is 
available on Linux. When I looked at Sun's JAI web page I have read the 
following:

"1.3.1 Cross-platform Imaging

Whereas most imaging APIs are designed for one specific operating
system, 
JAI follows the Java run time library model, providing platform
independence. Implementations of JAI applications will run on any
computer where there 
is a Java Virtual Machine*. This makes JAI a true cross-platform imaging
API, 
providing a standard interface to the imaging capabilities of a
platform. 
This means that you write your application once and it will run
anywhere."

However, when I wanted to download the package I found the formats only
for
Windows and Solaris for SPARC and x86 platforms. So, is it really
possible
to run JAI on Linux? If yes, which distribution I should download?

Thank you,

Jacob Nikom


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Java Advanced Imaging availability on Linux

1999-12-06 Thread Jonathan Doughty

Jacob Nikom wrote:
 
> However, when I looked at JAI web site and found they have only
> downloads for Solaris and Windows. Why in this case they have special
> distribution? Is it possible to use them on Linux? Is it pure Java
> stuff?

The GZIP format implementation bundle on the JAI site is just a
standard Gzipped tar archive.  That does contain some Solaris native
.so libraries that are supposed to end up in the JDK 1.2 jre/lib/sparc
directory.  Running JAI applications on Linux should just ignore those
though I suppose you could remove them as unecessary.  JAI is set up
to fall back to pure Java implementations when native implementations
(presumably residing in jre/lib/i386 on Intel/Linux) are not
available.  It should work okay on Linux (modulo JDK 1.2
incompleteness), just more slowly than it might.  Of course, I haven't
actually tried this yet, so YMMV.
-- 
Jonathan Doughty  The MITRE Corporation  [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]