I believe that this subject is a little bit off topic :-), but it might
help others as well.
PJA is not a software that you run in the background. You use it with
your JVM, there are two ways I am aware of to make Java work with PJA:
1. Use a Java environment variable: java
-Dawt.toolkit=com.eteks.awt.PJAToolkit
2. Which has actually the same effect, is in the code itself:
System.getProperties().put("awt.toolkit", "com.eteks.awt.PJAToolkit");
You might also have to define
java.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment (in a
simillar way). For me only awt.toolkit was needed.
What the statement above does, is to tell the JVM to use an alternative
AWT Toolkit instead of Java's default.
Java uses by default the OS' windowing system (in our case Linux/Unix
it's X windows), by telling Java to use PJA instead you eliminate the
need for X windows running on your server.
I hope that it helped,
Asaf
r.o.m.y wrote:
>I've been download PJA (other platform) cause I'm running Tomcat on Linux
>RedHat7.0, when I lookin at PJA/bin, I can't found file for start, like
>start up script (e.g. startup.sh), all script are "demo" files.
>Would you show me how it's work ? and if possible, explain to me about
>configuration on Linux.
>
>Thank for your help, Asaf.
>
>
>-----Original Message-----
>I bleive that you don't need X server for this,
>try PJA, it's a solution in Java that replaces the awt toolkit with a
>pure java solution.
>It works well for me.
>http://www.eteks.com/pja/en/
>Asaf Gery
>
>_______________________________________________
>Newbie mailing list
>[EMAIL PROTECTED]
>*** To unsubscribe , or change message options, see:
>http://XFree86.Org/mailman/listinfo/newbie
>
>
_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie