Posts

Showing posts from July, 2012

Oracle JDK 1.7 Installation on OpenSUSE 12.1

There is no so complex problem when using rpm distribution of Oracle JDK 1.7. First of all, filter installed version of OpenJDK to uninstall it. linux-4e1s:/home/oguzhan/Desktop # rpm -qa | grep jdk java-1_6_0-openjdk-1.6.0.0_b24.1.11.5-16.1.x86_64 linux-4e1s:/home/oguzhan/Desktop # rpm -e java-1_6_0-openjdk-1.6.0.0_b24.1.11.5-16.1.x86_64 warning: /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/fontconfig.SuSE.properties saved as /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/fontconfig.SuSE.properties.rpmsave update-alternatives: warning: alternative /usr/lib64/jvm/jre-1.6.0-openjdk/bin/java (part of link group java) doesn't exist. Removing from list of alternatives. update-alternatives: warning: /etc/alternatives/java is dangling, it will be updated with best choice. update-alternatives: warning: alternative /usr/lib64/jvm/jre-1.6.0-openjdk (part of link group jre_openjdk) doesn't exist. Removing from list of alternatives. update-alternatives: warning: /etc/alternatives

Mounting Debian DVDs Under /mnt

Debian is the universal powerful gnu linux distribution that used to best suits my HP Pavilion dv4000 laptop which persistently resists to run a linux distibution on its own (fedora, pardus...) My 90% of debian usage experience was offline. As a result in order to try hundreds of free distributed applications, i had to download and burn the debian DVD ISO images and mount them manually every time. Following shell command was used to help me, i wish so for you. #!/bin/bash echo "# Starting Mounting Debian DVD Images..." for i in {1..5} do mountDir="/mnt/Debian0$i" isoFile="debian-505-i386-DVD-$i.iso" mountCmd="$isoFile $mountDir -t iso9660 -o loop" mkdir $mountDir mount $mountCmd done echo "# End of mounting." Take care...