Testasin javaa lisää kubuntussa ja ubuntussa, huomasin tämmöisen seikan.
Jos asennan javan lataamalla paketin oraclen sivuilta ja asennan javan oraclen ohjeiden mukaan niin tulostus ei toimi oikein ä ja ö ei siis tulostu.
Sen sijaan jos asennan javan käyttäen linkin
http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html ohjeita eli asennan tuolla ppa jutulla niin
javan tulostus toimii ubuntussa oikein.
Pystyykö tuota ppa asennusta käyttämään jotenkin opensusessa?
Kokeilin asentaa java8:n ja tämän jälkeen asensin java7:n ja huomasin että asennus päivitteli jotain update-alternatives juttuja.
Veikkaisin itse että ongelma on nyt noissa update-alternatives jutuissa koska java7 ppa asennus tekee jotain tämmöistä asennuksen aikana:
Download done.
Removing outdated cached downloads...
update-alternatives: warning: alternative /usr/lib/jvm/java-8-oracle/jre/bin/java (part of link group java) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: alternative /usr/lib/jvm/java-8-oracle/jre/bin/ControlPanel (part of link group ControlPanel) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: /etc/alternatives/ControlPanel is dangling; it will be updated with best choice
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode
update-alternatives: varoitus: alternative /usr/lib/jvm/java-8-oracle/jre/bin/java (part of link group java) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: /etc/alternatives/java is dangling; it will be updated with best choice
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/java to provide /usr/bin/java (java) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/java_vm to provide /usr/bin/java_vm (java_vm) in auto mode
update-alternatives: varoitus: alternative /usr/lib/jvm/java-8-oracle/jre/bin/javaws (part of link group javaws) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: /etc/alternatives/javaws is dangling; it will be updated with best choice
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode
update-alternatives: varoitus: alternative /usr/lib/jvm/java-8-oracle/jre/bin/jcontrol (part of link group jcontrol) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: /etc/alternatives/jcontrol is dangling; it will be updated with best choice
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/jcontrol to provide /usr/bin/jcontrol (jcontrol) in auto mode
update-alternatives: varoitus: alternative /usr/lib/jvm/java-8-oracle/jre/bin/keytool (part of link group keytool) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: /etc/alternatives/keytool is dangling; it will be updated with best choice
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
update-alternatives: varoitus: alternative /usr/lib/jvm/java-8-oracle/jre/bin/orbd (part of link group orbd) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: /etc/alternatives/orbd is dangling; it will be updated with best choice
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode
update-alternatives: varoitus: alternative /usr/lib/jvm/java-8-oracle/jre/bin/pack200 (part of link group pack200) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: /etc/alternatives/pack200 is dangling; it will be updated with best choice
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
update-alternatives: varoitus: alternative /usr/lib/jvm/java-8-oracle/jre/bin/policytool (part of link group policytool) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: /etc/alternatives/policytool is dangling; it will be updated with best choice
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode
update-alternatives: varoitus: alternative /usr/lib/jvm/java-8-oracle/jre/bin/rmid (part of link group rmid) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: /etc/alternatives/rmid is dangling; it will be updated with best choice
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
update-alternatives: varoitus: alternative /usr/lib/jvm/java-8-oracle/jre/bin/rmiregistry (part of link group rmiregistry) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: /etc/alternatives/rmiregistry is dangling; it will be updated with best choice
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
update-alternatives: varoitus: alternative /usr/lib/jvm/java-8-oracle/jre/bin/servertool (part of link group servertool) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: /etc/alternatives/servertool is dangling; it will be updated with best choice
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode
update-alternatives: varoitus: alternative /usr/lib/jvm/java-8-oracle/jre/bin/tnameserv (part of link group tnameserv) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: /etc/alternatives/tnameserv is dangling; it will be updated with best choice
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode
update-alternatives: varoitus: alternative /usr/lib/jvm/java-8-oracle/jre/bin/unpack200 (part of link group unpack200) doesn't exist; removing from list of alternatives
update-alternatives: varoitus: /etc/alternatives/unpack200 is dangling; it will be updated with best choice
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/appletviewer to provide /usr/bin/appletviewer (appletviewer) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/extcheck to provide /usr/bin/extcheck (extcheck) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/idlj to provide /usr/bin/idlj (idlj) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jar to provide /usr/bin/jar (jar) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javac to provide /usr/bin/javac (javac) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javafxpackager to provide /usr/bin/javafxpackager (javafxpackager) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javah to provide /usr/bin/javah (javah) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javap to provide /usr/bin/javap (javap) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jmc to provide /usr/bin/jmc (jmc) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jps to provide /usr/bin/jps (jps) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jvisualvm to provide /usr/bin/jvisualvm (jvisualvm) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode
update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode
Oracle JDK 7 installed
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/lib/i386/libnpjp2.so to provide /usr/lib/mozilla/plugins/libjavaplugin.so (mozilla-javaplugin.so) in auto mode
Oracle JRE 7 browser plugin installed
tosin voin olla myös ihan hakoteillä tässä asiassa.
Kiitos avusta jonka olen täältä jo saanut.