[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-java
Subject: BufferedImage.createGraphics() from a servlet
From: Roberto Nunnari <roberto.nunnari () supsi ! ch>
Date: 2004-12-22 1:21:04
Message-ID: 41C8CC00.7070106 () supsi ! ch
[Download RAW message or body]
Hi all.
I'm having trouble running a simple servlet that does the
following:
BufferedImage image = new BufferedImage(100, 20, BufferedImage.TYPE_3BYTE_BGR);
Graphics2D g = image.createGraphics();
This are the facts:
-bash-2.05b# uname -a
FreeBSD jupiter.noonlights.net 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #3: Sat
Aug 14 06:30:22 CEST 2004
root@jupiter.noonlights.net:/usr/obj/usr/src/sys/JUPITER i386
-bash-2.05b# XFree86 -version
XFree86 Version 4.3.0
...
-bash-2.05b# java -version
java version "1.4.2-p6"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2-p6-root_09_aug_2004_03_45)
Java HotSpot(TM) Client VM (build 1.4.2-p6-root_09_aug_2004_03_45, mixed mode)
-bash-2.05b# pkg_info |grep wrapper
javavmwrapper-1.4 Wrapper script for various Java Virtual Machines
wrapper-1.0_3 Wrapper for XFree86-4 server
note that I don't have a monitor attached, but the server
is running..
-bash-2.05b$ startx -listen_tcp &
-bash-2.05b$ xhost +
.. if I enable xdm in /etc/ttys then I get connection refused
messages from the Xserver..
can any kind soul help me out?
Thank you.
--
Roberto Nunnari -software engineer-
Scuola Universitaria Professionale della Svizzera Italiana
Dipartimento Tecnologie Innovative
http://www.dti.supsi.ch
SUPSI-DTI
Via Cantonale tel: +41-91-6108561
6928 Manno """ fax: +41-91-6108570
Switzerland (o o)
=======================oOO==(_)==OOo========================
_______________________________________________
freebsd-java@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic