Jump to content

Why do i need an X Server Running?


Recommended Posts

By: Nathaniel G. Auvil - nathaniel_auvil

Why do i need an X Server Running?

2003-09-02 10:44

If i set the IMAGES_URI to a static image, why do i still need an X Server running to generate a HTML report?

 

What other image(s) are being created underneath?

 

 

 

 

By: Nathaniel G. Auvil - nathaniel_auvil

RE: Why do i need an X Server Running?

2003-09-02 11:10

 

I tracked it down to this call in JRBaseFiller:

 

static {

GraphicsEnvironment gEnv = GraphicsEnvironment.getLocalGraphicsEnvironment();

String envfonts[] = gEnv.getAvailableFontFamilyNames();

}

 

This code is not being used by anything as far as i can tell. Any ideas?

 

 

 

 

By: Nathaniel G. Auvil - nathaniel_auvil

RE: Why do i need an X Server Running?

2003-09-02 14:56

There are more places than that... :(

 

Can you guys add something to the requirements page? You can just ape it from my projects site:

 

http://jcharts.sourceforge.net/userGuide/exportingImages.html

 

under the "Images With No X Server" section

 

 

 

 

By: lihongbing - hongbingli

RE: Why do i need an X Server Running?

2003-09-03 05:24

i can't find requirements page, would you please tell me how to display chinese title /legend inlinux ,i got just blank in linux.

 

 

 

 

By: Dave Wallace - hundo

RE: Why do i need an X Server Running?

2003-09-30 06:30

You might try -Djava.awt.headless=true when starting your jvm. I was able to run jasperreports on a headless server without this, but eventually a NoClassDefFound error started recurring.

 

 

 

 

By: Carmen Padilla Tejeda - mcptnix

RE: Why do i need an X Server Running?

2003-11-05 13:30

I must try -Djava.awt.headless=true but

i get always the error NoClassDefFound

how i can solver this for that my reports

works...

 

carmen

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...