Install Java alternatives

Error:

update-alternatives: error: alternative javaws can't be master: it is a slave of javaplugin

or

update-alternatives: error: alternative jar can't be master: it is a slave of javac

Solution:

update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk1.8.0_51/bin/java" 1

update-alternatives --install "/usr/lib64/browser-plugins/javaplugin.so" "javaplugin" "/usr/java/jdk1.8.0_51/jre/lib/amd64/libnpjp2.so" 1 --slave "/usr/bin/javaws" "javaws" "/usr/java/jdk1.8.0_51/bin/javaws"

update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/jdk1.8.0_51/bin/javac" 1 --slave "/usr/bin/jar" "jar" "/usr/java/jdk1.8.0_51/bin/jar"

Note:

1 – is the priority

Please change the paths as required on your operation system

Change java alternatives:


update-alternatives --config java

update-alternatives --config javac

update-alternatives --config javaplugin

“Oh Nein! – Beim Anzeigen diser Website ist ein Fehler aufgetreten. …”

Fehler in Chromium:
“Oh Nein! – Beim Anzeigen diser Website ist ein Fehler aufgetreten. …”

Eine mögliche Lösung:
den Chrome-Browser von Google-Repositorium installieren (in meinem Fall für OpenSuse):

Repositorium hinzufügen:
Für OpenSUSE 12.2 32bit
zypper ar http://dl.google.com/linux/chrome/rpm/stable/i386 Google-Chrome

Für OpenSUSE 12.2 64bit
zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome

Installieren:
zypper in google-chrome-stable

CSS: transition from display: none to display: block on “hover”

Transition from display: none to display: block is inpossible in CSS on "hover". But there is a workaround.

“keyframes” is the solution.

1. define a “keyframe”:

@-webkit-keyframes fadeIn {
0% { opacity: 0; }
20% { opacity: 0; }
40% { opacity: 0.3; }
60% { opacity: 0.5; }
80% { opacity: 0.9; }
100% { opacity: 1; }
}


@keyframes fadeIn {
0% { opacity: 0; }
20% { opacity: 0; }
40% { opacity: 0.3; }
60% { opacity: 0.5; }
80% { opacity: 0.9; }
100% { opacity: 1; }
}

2. Use this “keyframe” on “hover”:


div a span {
display: none;
}

div a:hover span {
display: block;
-webkit-animation-name: fadeIn;
-webkit-animation-duration: 1s;
animation-name: fadeIn;
animation-duration: 1s;
}

Urchin 6 :: Removing a Stuck or Pending Task

Symptoms
A task is “stuck” – it doesn’t appear to be doing anything more and fails to complete or error, OR
A task never changes from a “Pending” status to “Running”, OR
A task is running fine, but needs to be stopped for one reason or another.
Clearing the task

1. Stop the Urchin web services
/path/to/urchin/bin/urchinctl stop

OR
Start >> Program Files >> Urchin 6 >> Disable Urchin Services

2. Log into the Urchin mysql database
From Command Line: mysql -u <user> -p<Password> <urchin database>

3. Remove the appropriate task from the uprofiles_queue table. In most cases, you’ll want to clear out all tasks. Use the following command do to so:
delete from uprofiles_queue;

4. Navigate to path/to/urchin/data/reports/<account>/<profile> and delete the lock.udb file if it exists. Be sure to replace <account> and <profile> with their respective values.

5. Restart Urchin services
/path/to/urchin/bin/urchinctl start, OR
Start >> Program Files >> Urchin 6 >> Enable Urchin Services

VirtualBox :: OpenSuse :: stürzt ab

Verhalten:

VirtualBox (OpenSuse) stürzt nach dem Starten sofort ab

Ausgabe beim Starten auf der Konsole:

/usr/lib/virtualbox/VirtualBox: Keine Berechtigung

exec: /usr/lib/virtualbox/VirtualBox: Kann nicht ausführen: Keine Berechtigung

 

Lösung:

– Ihr Benutzer muss der Gruppe ‘vboxusers’ zugehören

– x-Bit für das Startskript setzen: chmod 4711 /usr/lib/virtualbox/VirtualBox