Jump to content
Changes to the Jaspersoft community edition download ×

Problem in using Pure java AWT!


Recommended Posts

By: Anuradha - anura

Problem in using Pure java AWT!

2003-10-12 23:02

Hi,

 

I used "PJA 2.5"(Pure Java AWT) in solving the problem of not using X-windows lib...but somehow it doesn't work!

 

My runApp.sh contains the following:

 

java -Djava.awt.headless=true

-Xbootclasspath/a:pja.jar

-Dawt.toolkit=com.eteks.awt.PJAToolkit

-Djava.awt.graphicsenv=orbimaker.users.viral.

pja_2.5Beta.classes.com.eteks.java2d.PJAGraphicsEnvironment.class

-Djava2d.font.usePlatformFont=false

-Dsun.java2d.fontpath=/usr/j2sdk1.4.1_01/jre/lib/

fonts

 

and I tried several things: export DISPLAY, setenv DISPLAY variable to 0.0.

 

Still it doesn't work...

 

===========

I got the following error:

 

Exception in thread "main" java.lang.Error: Could not find class: orbimaker.users.

viral.pja_2.5Beta.classes.com.eteks.java2d.PJAGraphicsEnvironment.class

at java.lang.Throwable.fillInStackTrace(Native Method)

at java.lang.Throwable.fillInStackTrace(Compiled Code)

at java.lang.Throwable.<init>(Compiled Code)

at java.lang.Error.<init>(Error.java:50)

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi

ronment.java:65)

at <Unloaded Method>

at dori.jasper.engine.fill.JRFiller.fillReport(JRFiller.java:139)

at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:350)

at dori.jasper.engine.JasperFillManager.fillReportToFile(JasperFillManag

er.java:271)

at dori.jasper.engine.JasperFillManager.fillReportToFile(JasperFillManag

er.java:239)

at com.orbitech.frameworks.bline.report.BLineJasperReportManager.fillRep

ort(Unknown Source)

at com.orbitech.frameworks.bline.user.BLinereportUser.eojReport(Unknown

Source)

at com.orbitech.frameworks.bline.gen.BLinereport.invokeUserEoj(Unknown S

ource)

at com.orbitech.frameworks.bline.gen.BLinereport.eoj(Compiled Code)

at com.orbitech.frameworks.bline.gen.BLinereport.blineMainPolymorph(Comp

iled Code)

at com.orbitech.frameworks.bline.engine.BLine.execute(Compiled Code)

at com.orbitech.frameworks.bline.engine.BLineController.multiBlineMain(C

ompiled Code)

at com.orbitech.frameworks.bline.engine.BLineController.blineMain(Compil

ed Code)

at com.orbitech.frameworks.bline.engine.BLineDriver.invokeDriver(Compile

d Code)

at com.orbitech.frameworks.bline.engine.BLineDriverInfLocalProxy.invokeD

river(BLineDriverInfLocalProxy.java:178)

at com.orbitech.frameworks.bline.user.BLineDriverMain.main(Compiled Code)

 

 

====================

 

Can anyone solve this problem...plzz...??? This is urgent!

 

Regards,

Anu.

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...