Re: Java2D Servlets on Linux

1999-07-15 Thread Chris Abbey
>> >> java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment >> >> at java.lang.Class.forName0(Native Method) >> > You're right, that's not the message you'd see with an unset DISPLAY >> > variable. That class should be in rt.jar... I wonder why you're not >> > finding it. >> >> Mmm indee

Re: Java2D Servlets on Linux

1999-07-15 Thread Nathan Meyers
Robbie Baldock wrote: > > 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

Re: Java2D Servlets on Linux

1999-07-15 Thread Robbie Baldock
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

Re: Linux-Bug with ?

1999-07-15 Thread Zdenek Kabelac
> You could consider using TYA JIT. TYA doesn't have the mentioned bug. > (Maybe others, but there's always a good chance > to fix them quickly because it's open source software!) > > ftp://gonzalez.cyberus.ca/pub/Linux/java/tya14.tgz Hi I've tried this one. I would like to mention, that on

RE: a filesystem standard for the JDK

1999-07-15 Thread R.W. Shore
FYI: the standard for the production versions of the JDK under Solaris 2.x are the following: o Real directory is /usr/javax.y (example: /usr/java1.1 or whatever) o Symbolic link to the real directory from /usr/java o Various symbolic links in /usr/bin to things like /usr/java/bin/java, /usr/java

Servlets + JSP on linux

1999-07-15 Thread Tim Reilly
Can someone please give me a hand here? I need (1) to get a servlet to pass some data to a JSP page via a Bean, and then (2) "hit" that JSP page to get back a nicely formatted HTML page to send back to the user. To accomplish this, I am using the following tools: Blackdown JDK 1.1.7 v3 Apach

Re: Java2D Servlets on Linux

1999-07-15 Thread Nathan Meyers
Robbie Baldock wrote: > > 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

Re: Linux-Bug with ?

1999-07-15 Thread Albrecht Kleine
> > Nick Lawson writes: > > Nick> This sounds like a HUGE bug ! > Not yet. We can't fix it because we don't have the source code for > sunwjit, but I'm sure we get a fix from Sun soon. You could consider using TYA JIT. TYA doesn't have the mentioned bug. (Maybe others, but there's a

Java2D Servlets on Linux

1999-07-15 Thread Gregory Steuck
> "Robbie" == Robbie Baldock <[EMAIL PROTECTED]> writes: Robbie> At the moment I'm calling this in my servlet's init(): Robbie> Runtime.getRuntime().exec("DISPLAY=localhost:1.1"); Robbie> Runtime.getRuntime().exec("export DISPLAY"); Robbie> Which I suspect is the wrong way t

Re: JNI/Linux pointers?

1999-07-15 Thread jools enticknap
Hi > >Does anybody have any pointers to using JNI on Linux? I'm starting a >project where I'll be hacking pine to access a running Java process. > JNI on Linux is much the same on all platforms( more or less:). If you want a good book on JNI I suggest you try 'Essential JNI' by Rob Gordon. It'

Java2D Servlets on Linux

1999-07-15 Thread Robbie Baldock
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

Re: final variables in constructors

1999-07-15 Thread David D. Lucas
Kontorotsui wrote: > > aClass extends aSuperClass > { > final int v = 1; > > aClass() > { > super(v); > } > } First off, my understanding of the question is why doesn't v exist when passed into super. "super" is not a method call like everything else. It is a special keyword and a

JNI/Linux pointers?

1999-07-15 Thread Robb Shecter
Hi, Does anybody have any pointers to using JNI on Linux? I'm starting a project where I'll be hacking pine to access a running Java process. Thanks! - Robb -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "uns

Re: -Xrunhprof:cpu=times gives a segfault.

1999-07-15 Thread Juergen Kreileder
> Kontorotsui writes: Kontorotsui> If I run java -Xrunhprof:cpu=times I get a segfault, Kontorotsui> same if I use cpu=old, anything works perfectly with Kontorotsui> cpu=samples. Kontorotsui> I have JDK1.2 on a SuSE 6.1. It's my system or this Kontorotsui> happens to ev

Re: Linux-Bug with ?

1999-07-15 Thread Juergen Kreileder
> Nick Lawson writes: Nick> This sounds like a HUGE bug ! Well, it's a pre-release and the bug is mentioned on the known-bugs page. Nick> Is it just in the Blackdown JDK 1.2, or also in Suns JDK ? The Sparc Solaris version is OK. Nick> Is there a fix ? Not yet. We can't fix

-Xrunhprof:cpu=times gives a segfault.

1999-07-15 Thread Kontorotsui
Hello, if I run java -Xrunhprof:cpu=times I get a segfault, same if I use cpu=old, anything works perfectly with cpu=samples. I have JDK1.2 on a SuSE 6.1. It's my system or this happens to everybody? --- Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at University of

Re: Linux-Bug with ?

1999-07-15 Thread Nick Lawson
This sounds like a HUGE bug ! Is it just in the Blackdown JDK 1.2, or also in Suns JDK ? Is there a fix ? Are there others like this ? Where is a good place to look for such hi-impact bugs ? Nick Juergen Kreileder wrote: > > Oktay Akbal writes: > > Oktay> I think there is a Bug in the im

Re: Linux-Bug with ?

1999-07-15 Thread Stef Epardaud
On Thu, Jul 15, 1999 at 11:13:19AM +0200, Juergen Kreileder wrote: > > Oktay Akbal writes: > > Oktay> I think there is a Bug in the implementation of the conditional > Oktay> (ternary) operator in the latest jdk1.2 for linux. > > It's a known bug in the JIT compiler (sunwjit). Turn

Re: Linux-Bug with ?

1999-07-15 Thread Juergen Kreileder
> Oktay Akbal writes: Oktay> I think there is a Bug in the implementation of the conditional Oktay> (ternary) operator in the latest jdk1.2 for linux. It's a known bug in the JIT compiler (sunwjit). Turn the JIT off and it will work. Juergen -- Juergen Kreileder, Blackdo

Linux-Bug with ?

1999-07-15 Thread Oktay Akbal
If anyone got my earlier messages to this topic please excuse. But I never got the mails back and they did not show up in the archive so I assume something went wrong. Hello ! I think there is a Bug in the implementation of the conditional (ternary) operator in the latest jdk1.2 for linux. Giv

Re: How to print a GUI

1999-07-15 Thread Justin Lawler
There is a poastscript generating class called PSGr, i have used it with a certain degree of sucess. Although it doesn't work in all cases. You can get it from here: http://users.ids.net/~mhirsch/java/ hope this helps. Justin. Sitanshu Bhusan Nanda wrote: > I am using java1.1.5 in Redhat Li

Re: final variables in constructors

1999-07-15 Thread Pavel Tolkachev
The answer is: according the JLF, superclass constructor is called *before* any initialization statement in subclass. super() does not actually run in aClass() but java compiler generates method where it is called before first initialization statement of aClass. The syntax super(...) is allowed o

Re: How to print a GUI

1999-07-15 Thread Alexander Davydenko
Sitanshu Bhusan Nanda wrote: > > I am using java1.1.5 in Redhat Linux 5.2. I have developed some > applications using JDBC and Postgresql 6.4 . I have also generated some > reports using Java AWT. My problem is how to print those GUIs(reports). > Is there any way i can convert these GUIs to **.ps