Can anyone confirm whether the Linux port of JDK 1.3 requires a
virtual X server (eg: Xvfb) to be running before being able to draw off-
screen graphics with a BufferedImage? Older versions certainly
needed this but I'm hoping the answer to this is now "no"...
Robbie
--
Quoting Jacob Nikom <[EMAIL PROTECTED]>:
> I am looking for graphical program in Java which can draw directed
> graph
Isn't that a JTree?
Robbie
This message was sent by Easymail - http://www.easynet.co.uk/
--
To UNSUBSC
Ben Pharr wrote:
> I would like to find a good way to store data for a Java program I'm
> writing. It is a LARGE amount of data, so parsing a text file at startup
> isn't an option.
Whatever method is used, if every client needs its own copy, start-up
time is likely to be affected.
> A data
Robbie Baldock wrote:
> I seem to be having great difficulty setting up Xvfb and DISPLAY to
> generate images from a servlet.
Please disregard - problem solved...
Robbie
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
I seem to be having great difficulty setting up Xvfb and DISPLAY to
generate images from a servlet.
I've tried this tip I found on the JServ site:
>I had the same problem earlier. I guess that the root of the problem is that,
> if you autostart JServ from Apache, then env var DISPLAY will not
Eric SCHAEFFER wrote:
> I've got an error when I try to run my code (it create an image using
> Java2D) from telnet (by example), but not when I run it from X
If you want to do this sort of thing without having a display, use Xvfb
to emulate an X server.
Xvfb :1
You may need to install Xvfb.
Dimitrios Vyzovitis wrote:
> > That URL doesn't appear to exist...
>
> huh?
> How do I manage to see it, without using a proxy/cache? :-)
I get a 404 from the Sun site.
> Anyway, here is a dump of the page
Thanks for that.
Robbie
--
Dimitrios Vyzovitis wrote:
> Apparently, sun has made an apologetic announcement. Check out:
> http://java.sun.com/features/1999/12/linux.html
That URL doesn't appear to exist...
Robbie
--
To UNSUBSCRIBE, email to [EMAIL PR
Scott Murray wrote:
> I though the current 1.2.2 rc was 3, not 1? Have Sun picked up an older copy
> to release on their site?
They appear to be two different projects now - Sun/Inprise announcing
today their RC1 and Blackdown their RC3.
It would be nice to have a comment from Blackdown as to e
[EMAIL PROTECTED] wrote:
> I'm looking, but I don't see a linux port of JSDK2.0. JSDK1.0 is
> avaliable from javasoft but the 2.0 version is only avaliable to win and
> solaris.
Java 2 = Java 1.2 and there is a pre-release version available from
Blackdown. I believe a final release is due
Martin Kavalar wrote:
> You cant read anything on the local machine with java, just from the server
> that contains the class files. This is because of secuity.
Well actually you can but it depends which browser you're using:
- in Netscape (and probably IE) you need a digital certificate
- in
I'm having a weird problem with a GIF-generating Java 2 app I'm
running on Linux. I'm calling the Java app from a Perl script (don't
ask!) with a line like:
system "java XYZ myarguments";
When I run this from the command line it works perfectly
(generating a graph with text labels in GIF for
Riyad Kalla wrote:
> I'm giddy like a school girl to see how it turns out.
>
> Would Blackdown disolve if this comes true?
Well, according the article at InfoWorld, Sun are working with Blackdown
to do the port so I guess they'll continue to be closely involved with
Java on Linux.
Robbie
-
Nathan Meyers wrote:
> It's a "feature" of the AWT. A good solution is to run the Xvfb X server
> (part of the XFree86 suite; you'll find it in most distributions) - it
> runs an X server in a virtual frame buffer instead of a physical
> display. That will make AWT happy without requiring a real
Jacek Laskowski wrote:
>> I'm uncertain if this helps, but give that a try: >
>> wrapper.env=DISPLAY=:1
>Robbie> Tried it - it can't connect.
Actually, I tell a lie - it is now connecting (on DISPLAY=:1)! (I wasn't
waiting long enough for Apache and JServ to restart.)
However, the servlet is
Ulli Kortenkamp wrote:
>
> >>>>> "Robbie" == Robbie Baldock <[EMAIL PROTECTED]> writes:
>
> Robbie> Jacek Laskowski wrote:
> >> I'm uncertain if this helps, but give that a try: >
> >> wrapper.env=DISPLAY=:1
Jacek Laskowski wrote:
> I'm uncertain if this helps, but give that a try: > wrapper.env=DISPLAY=:1
Tried it - it can't connect.
Robbie
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble?
After the various helpful suggestions on how to proceeed with my GIF
generating servlet, I've discovered that I can prevent the worrying
error message I was getting:
java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment at
java.lang.Class.forName0(Native Method)
by putting something lik
Nathan Meyers wrote:
> No, this won't work.
I didn't think it would!
> Environment variables are associated with Unix processes and passed to
> child processes. You can't really set one "just for the servlet", you need
> to set it for the Unix process under which the servlet is running -
> mea
I'm still trying to get Java2D to work on Linux. My latest strategy is
to run my GIF generation program as a servlet.
What I'm doing is firing up Xvfb to simulate an X environment but then
of course I need to set the DISPLAY environment variable for the servlet
and I'm unclear as to how I shou
Nathan Meyers wrote:
> Here's a possible (but problematic) CGI script:
Thanks very much for the detailed help.
> The problems?
> 1) Very expensive to start all this stuff up every time you need to do
> CGI.
> 2) Only one server can run at a time for a given display address (:0,
> :1, etc.); you
Nathan Meyers wrote:
> You're probably looking for Xvfb - an X server whose "device" is a
> memory buffer. It looks and acts like an X server because it is one...
> without needing a display. Available wherever XFree86 is sold -
> the RPM is XFree86-Xvfb, if you're an RPM user.
That sounds good
Can someone remind me how to run a command-line Java 1.2 app which
requires graphics libraries (to build a GIF file) without having to have
an X window open? I want to call it from a Perl CGI script.
I came across a bit of Linux software a while back which supposedly
emulated an X session but of
Hi -
Just wondering what the latest ETA is on a final release of 1.2. It's
been a couple of months since the pre-release was made available.
Robbie
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe
24 matches
Mail list logo