"-Djava.awt.graphicsenv=com.gp.java2d.ExGraphicsEnvironment"

We utilize jintegra for graphing/charting and this allows it to bypass various X lib 
calls. 

Jesse Noller
[EMAIL PROTECTED]
Macromedia Server Development
Unix/Linux "special guy" 

> -----Original Message-----
> From: rudi [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 31, 2002 1:06 PM
> To: CF-Linux
> Subject: Re: CFMX and AWT (was: Verity not working on CFMX Linux)
> 
> Wed, Jul 31, 2002 at 12:34:38PM -0400 scrivesti
> > Does the JRE that comes with CFMX support the java.awt and the
> com.sun.image
> > namespaces?
> 
> Yes, but ... to run awt on unix you are going to run into permissions
> problems.
> It's a X issue and there's no way to fix it, as far as I know and as far
> as
> cf - or tomcat (same problem) - does not run as root ...
> 
> So, with CFMX jre (1.3 something?) you have to install a graphics
> environment
> that doesn't rely on x. These are pja (pure java awt) from
> http://www.eteks.com or xvfb.
> 
> Personally, I changed the default jre with 1.4. With this, the only thing
> you
> have to do is change $CFHOME/bin/jvm.cfg from:
> 
> "java.args=-DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS
> -Xbootclasspath/a:{application.home}/lib/webchartsJava2D.jar
> -Djava.awt.graphicsenv=com.gp.java2d.ExGraphicsEnvironment
> -Xmx512m"  to:
> 
> "java.args=-DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS
> -Xbootclasspath/a:{application.home}/lib/webchartsJava2D.jar
> -Xmx512m -Djava.awt.headless=true"
> 
> The option -Djava.awt.headless=true is the trick. It doesn't work with 1.3,
> as long as i know. Notice that jrun GUI will stop working after that :-(
> 
> *I haven't understood at all* what the default:
> 
> -Djava.awt.graphicsenv=com.gp.java2d.ExGraphicsEnvironment
> 
> stands for. I've never heard about that package and I haven't found it
> anywhere into the jar placed under $CFHOME (but I could have miss it)
> 
> I think that MM should document, better and more precisely that me, this
> issues, even if they aren't direct CFMX issues, but Java/unix ones.
> 
> 
> --
> Rd
> 
> "I libri dovrebbero stare incustoditi nei posti pubblici e spostarsi
> insieme ai passanti che se li portano dietro per un poco [...] strappati
> dai
> bambini per farne barchette, insomma ovunque dovrebbero morire tranne che
> di
> noia e di propriet� privata, condannati a vita in uno scaffale."
> 
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to