You are not logged in.
Pages: 1
Hello everyone,
I have a quite fresh Arch installation. I use Firefox as my browser. The installed jre is provided by java-8-openjdk, along with IcedTea. The default fonts in java web applets aren't very nice and I'd like to change them. Unfortunatly I could not find a fontconfig.properties file in /etc/java-8-openjdk or /usr/lib/jvm/java-8-openjdk/jre/lib which I believe is the one to edit.
Any hints where and how I can choose my preferred fonts?
Offline
If you want decent font-rendering, use Infinality patches.
Firstly, install bohoomil's packages.
Offline
Offline
Thanks for the replies, but it didn't work.
I try to install jre8-openjdk-infinality using yaourt, but linking yields an error
/usr/bin/objcopy: 'libjvm.so': No such fileIn addition some other errors are reported:
recipe for target x failed... where x is libjvm.so, the_vm, generic_build2, product
Offline
Do you have jre8-openjdk-headless installed?
Offline
Yes i do.
jre8-openjdk-infinality lists version 7 of openjdk as dependency. If I change it to version 8 in the PKGBUILD file the error stays the same.
Offline
linking yields an error
I expect the *real* error is shown above that. You'd need to show more of the output.
Sometimes the real error is e.g. 10 lines above, or 30.
Offline
You might have to
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'to enable antialiasing in Java applications
Offline
There it is, looks like only 5 lines more are interesting. The only thing I changed was to add "unset _JAVA_OPTIONS" as suggested in the AUR comments.
//many more Compiling here
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/runtime/unhandledOops.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/memory/universe.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/prims/unsafe.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/utilities/utf8.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/opto/vectornode.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/libadt/vectset.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/classfile/verificationType.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/classfile/verifier.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/runtime/vframe.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/runtime/vframeArray.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/runtime/vframe_hp.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/runtime/virtualspace.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/utilities/vmError.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/os/linux/vm/vmError_linux.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/gc_implementation/shared/vmGCOperations.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/gc_implementation/parallelScavenge/vmPSOperations.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/runtime/vmStructs.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/classfile/vmSymbols.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/runtime/vmThread.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/runtime/vm_operations.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/os_cpu/linux_x86/vm/vm_version_linux_x86.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/cpu/x86/vm/vm_version_x86.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/code/vmreg.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/cpu/x86/vm/vmreg_x86.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/code/vtableStubs.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/cpu/x86/vm/vtableStubs_x86_64.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/prims/whitebox.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/utilities/workgroup.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/utilities/xmlstream.cpp
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/utilities/yieldingWorkgroup.cpp
Making signal interposition lib...
Making SA debugger back-end...
**NOTICE** Dtrace support disabled: /usr/include/sys/sdt.h not found
Compiling /tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/src/share/vm/runtime/vm_version.cpp
Linking vm...
collect2: error: ld returned 1 exit status
/usr/bin/objcopy: 'libjvm.so': No such file
make[6]: *** [libjvm.so] Error 1
/tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/make/linux/makefiles/vm.make:325: recipe for target 'libjvm.so' failed
/tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/make/linux/makefiles/top.make:119: recipe for target 'the_vm' failed
make[5]: *** [the_vm] Error 2
make[4]: *** [product] Error 2
/tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/hotspot/make/linux/Makefile:293: recipe for target 'product' failed
make[3]: *** [generic_build2] Error 2
Makefile:228: recipe for target 'generic_build2' failed
make[2]: *** [product] Error 2
Makefile:175: recipe for target 'product' failed
HotspotWrapper.gmk:44: recipe for target '/tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp' failed
make[1]: *** [/tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp] Error 2
make: *** [hotspot-only] Error 2
/tmp/yaourt-tmp-hostname/aur-jre8-openjdk-infinality/src/jdk8u-jdk8u25-b18//make/Main.gmk:108: recipe for target 'hotspot-only' failed
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build java8-openjdk.
==> Restart building jre8-openjdk-infinality ? [y/N]Offline
Pages: 1