Results 1 to 2 of 2

Thread: java.awt.headless=true ignored by GIJ, required by xorg-x11-server build, opensuse 11.4

  1. #1

    Thumbs down java.awt.headless=true ignored by GIJ, required by xorg-x11-server build, opensuse 11.4

    Hi,

    It appears that there is a serious incompatibility with the GIJ java interpreter (gcc-gij-4.5-19.1.i586 ) . This is called by fop/xmlgraphics-fop , but it cannot be built under a headless environment. Even prepending "-Djava.awt.headless=true" to interpreter does not work.

    e.g.

    /usr/lib/jvm/java/bin/java -Djava.awt.headless=true -cp /usr/share/java/xmlgraphics-fop.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/xmlgraphics-batik/util.jar:/usr/share/java/xml-commons-jaxp-1.3-apis.jar:/usr/share/java/excalibur/avalon-framework-api.jar:/usr/share/java/xerces-j2.jar:/usr/share/java/xalan-j2.jar:/usr/share/java/xalan-j2-serializer.jar: -pdf /usr/src/packages/BUILD/xorg-server-1.9.3/doc/xml/dtrace/Xserver-DTrace.pdf

    will fail from within make, and without a DISPLAY.



    The only solution I found was to hard wire the sun java in /etc/fop.conf (setting JAVA_HOME). This requires installing sun-java which is not a default.

    This is a problem, as the default opensuse install , cannot compile opensuse packages requiring this tool, without an X display. That includes remote compilations vi ssh -X.

    Anyone out there know where this bug belongs? Debian seems to have headless-compat packages....?

    Cheers

    PHiL

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: java.awt.headless=true ignored by GIJ, required by xorg-x11-serverbuild, opensuse 11.4

    On 03/20/2011 03:06 PM, phildude wrote:
    >
    > This requires installing sun-java
    > which is not a default.


    thank you for caring enough to want to log a bug!! that is the only
    way FOSS will get stronger..

    _most_ openSUSE java problems are solved by replacing OpenJDK (the
    open source java included with the default install) with SUN java..

    >
    > This is a problem, as the default opensuse install


    the reason the default openSUSE install includes one and not the other
    is the same reason that the default doesn't include Flash, nVidia
    drivers or any other non-open source software--and that reason is
    right in the name _*open*_SUSE...

    since its inception, openSUSE has included only open software.. _and_
    strives to make installing free or purchased, but non-open source easy..

    >
    > Anyone out there know where this bug belongs? Debian seems to have
    > headless-compat packages....?


    if there were such a distro, and one installed openDebian with openJDK
    java, i guess (but maybe wrongly) they would find the same
    problem...so, the only bug to report should probably be sent to the
    folks writing OpenJDK and IcedTea...as, maybe they need to either
    include or repair the headless packages...sorry, i don't have that URL
    handy..

    on the other hand, if openSUSE is not offering in YaST repos the
    ability to install an open source headless package which exists, then
    a bug to the openSUSE devs/packagers would certainly be appropriate
    and well appreciated, here:

    http://en.opensuse.org/Submitting_Bug_Reports

    thanks,

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD
    [NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.1.8, nVidia
    173.14.28 3D, Athlon 64 3000+]
    "It is far easier to read, understand and follow the instructions than
    to undo the problems caused by not." DD 23 Jan 11

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •