Skip to Main Content

Java and JavaScript in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.awt.Graphics in Java Stored Procedure

395032Feb 25 2004 — edited Mar 22 2004
Hi people,
I've written a great bit of code that generates a JPEG image from some bits of data. It does this by getting a Graphics context and uses the drawXXX methods to plot out the image. The graphics context is then written using the JPEGEncoder to generate the JPEG byte stream.

At no time does anything actually get written to the screen, the Graphics class is just used to plot the image in memory before it is exported. So why does the Oracle JVM not have the Graphics class in it? I thought it was supposed to be 1.3 compliant.

I am also guessing that if I get past this that the com.sun.image.codec.jpeg package is also missing from the JVM.

Any suggestions to get round this? I don't really want to have a separate JVM that I communicate with (using TCP/IP etc.).

Thanks in advance
James Hayward
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 19 2004
Added on Feb 25 2004
6 comments
612 views