You are not logged in.
There was a previous thread on this same topic, but the thread was marked solved and the solution given doesn't seem to be working anymore. I did post in the thread, but it did not get any attention so here is the direct quote of what I had posted in the other thread.
This gave me a headache too a couple of weeks ago, but i managed to find a solution. I downloaded the sources with abs and found a patch file called aatext_by_default.diff. Without this patch the awt.useSystemAAFontSetting parameter will be effective again. Rebuild openjdk6 with this PKGBUILD wich ignores the patch. After that you can use the -Dawt.useSystemAAFontSetting=lcd parameter when running java to enable AA or export it as bohoomil suggested.
I'm aware this is solved, but I am having the same issue and have questions about the solution. Is it because of the extra dependencies that allow openjdk6 to ignore the patch? These extra packages are xalan-java, apache-ant, rhino, cpio.
edit: just ran into a failure in build() 10 minutes into compiling with the edited PKGBUILD...
edit2: just ran into another failure in build() around the same time with just a straight up copy and paste from the abs. What?
Here is the last little bit of the output:
>>>Recursively making version all @ Thu May 5 23:46:36 EDT 2011 ...
make[5]: Entering directory `/home/pak/abs/openjdk6/src/icedtea6-1.10.1/openjdk/jdk/make/java/version'
/bin/mkdir -p /home/pak/abs/openjdk6/src/icedtea6-1.10.1/openjdk.build/gensrc/sun/misc
rm -f /home/pak/abs/openjdk6/src/icedtea6-1.10.1/openjdk.build/gensrc/sun/misc/Version.java
rm -f /home/pak/abs/openjdk6/src/icedtea6-1.10.1/openjdk.build/gensrc/sun/misc/Version.java.temp
/bin/sed -e 's/@@launcher_name@@/java/g' \
-e 's/@@java_version@@/1.6.0_22/g' \
-e 's/@@java_runtime_version@@/1.6.0_22-b22/g' \
-e 's/@@jdk_derivative_name@@/IcedTea6 1.10.1/g' \
-e 's/@@distro_name@@/n/a/g' \
-e 's/@@distro_package_version@@/ArchLinux-6.b22_1.10.1-1-x86_64/g' \
-e 's/@@java_runtime_name@@/OpenJDK Runtime Environment/g' \
-e 's/@@jdk_revid@@//g' \
-e 's/@@hotspot_revid@@//g' \
../../../src/share/classes/sun/misc/Version-template.java > /home/pak/abs/openjdk6/src/icedtea6-1.10.1/openjdk.build/gensrc/sun/misc/Version.java.temp
/bin/sed: -e expression #5, char 21: unknown option to `s'
make[5]: *** [/home/pak/abs/openjdk6/src/icedtea6-1.10.1/openjdk.build/gensrc/sun/misc/Version.java] Error 1
make[5]: Leaving directory `/home/pak/abs/openjdk6/src/icedtea6-1.10.1/openjdk/jdk/make/java/version'
make[4]: *** [all] Error 1
make[4]: Leaving directory `/home/pak/abs/openjdk6/src/icedtea6-1.10.1/openjdk/jdk/make/java'
make[3]: *** [all] Error 1
make[3]: Leaving directory `/home/pak/abs/openjdk6/src/icedtea6-1.10.1/openjdk/jdk/make'
make[2]: *** [jdk-build] Error 2
make[2]: Leaving directory `/home/pak/abs/openjdk6/src/icedtea6-1.10.1/openjdk'
make[1]: *** [build_product_image] Error 2
make[1]: Leaving directory `/home/pak/abs/openjdk6/src/icedtea6-1.10.1/openjdk'
make: *** [stamps/icedtea.stamp] Error 2
==> ERROR: A failure occurred in build().
Aborting...The other thread: https://bbs.archlinux.org/viewtopic.php?id=115854
Last edited by Haptic (2011-05-07 22:16:23)
Offline