0

Intalling Java 7 on Ubuntu Natty (11.04)

To install Java 7 on Ubuntu

To install the JRE
 
$ sudo add-apt-repository ppa:dlecan/openjdk
$ sudo apt-get update
$ sudo apt-get install openjdk-7-jre

To install the JDK


$ sudo add-apt-repository ppa:dlecan/openjdk
$ sudo apt-get update
$ sudo apt-get install openjdk-7-jdk.
0

How to set JAVA_HOME environment variable in Ubuntu


One way that you can set your JAVA_HOME variable and add to your PATH, is be doing the folowing. 

As 'sudo' open up /etc/bash.bashrc and add the following to the end of the file. 

NOTE: Set the java path to whatever the actual path is on your environment if it does not match /usr/lib/jvm/java

JAVA_HOME=/usr/lib/jvm/java
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH

When you reboot, try running the following:

$ echo $JAVA_HOME
/usr/lib/jvm/java
 echo $PATH
[probably lots of paths]:/usr/lib/jvm/java/bin
 
 
Credits : http://www.zimbio.com/the+ubuntu+guy/articles/82/How+set+JAVA_HOME+environment+variable+Ubuntu 
0

Install an RPM Package on Ubuntu Linux


Installing software on Ubuntu usually entails using Synaptic or by using an apt-get command from the terminal. Unfortunately, there are still a number of packages out there that are only distributed in RPM format.

There’s a utility called Alien that converts packages from one format to the other. This doesn’t always mean that an rpm will work on your system, though. You will need to install some prerequisite software packages in order to install alien, however. These packages include gcc and make.

Run this command to install alien and other necessary packages:
sudo apt-get install alien dpkg-dev debhelper build-essential
To convert a package from rpm to debian format, use this command syntax. The sudo may not be necessary, but we’ll include it just in case.
sudo alien packagename.rpm
To install the package, you’ll use the dpkg utility, which is the internal package management tool behind debian and Ubuntu.
sudo dpkg -i packagename.deb
The package should now be installed, providing it’s compatible with your system.

Source : http://www.howtogeek.com/howto/ubuntu/install-an-rpm-package-on-ubuntu-linux/
0

Online Audio Converter (MP3, WAV, Ogg, WMA, M4A, AAC)

Conversion of Audio Files is always needed
and its best to have a tool which not an .exe file and more good if it is online
an free online tool for audio conversion can be found at http://media.io

the simple GUI,the fast prossesing and the good varitey made avaliable is pretty dilightful




0

Installing VirtualBox Guest Additions on ubuntu 11.04


To install the latest version of the VirtualBox Guest Additions for ubunu open a terminal and execute the following commands:
sudo apt-get update
sudo apt-get install virtualbox-ose-guest-utils
When done, restart the virtual machine.
0

Switch back to Yahoo Classic Mail !!

First Method:
A •Safe Work Around• - in Firefox or Google Chrome Browser.
(Did Not Work In IE8)
Click "Tools".....click "Options"......click "Content"
UN-check/Disable •enable JavaScript•
click OK.

Log back in to Yahoo! Mail through Your Browser -- Switch to Classic Mail....
THEN RE-Enable your Java Script.
=============================
2nd Method:
Lower your Screen Display Resolution:
When The Screen Resolution is too Low for the "New Yahoo! Mail" (formerly Beta),
A message appears asking "Do you want to switch to Mail Classic?"
Click ►"Yes"......
Once Done, RE-Set your Screen Resolution.

♦IMPORTANT NOTE -- Do The Screen Resolution in Stages!
A Screen Resolution less than the Original Setting causes Unstable Effects
in the way web pages and formats appears.

Best of Luck To You..
0

Prolog Tutorial

Prolog, which stands for PROgramming in LOGic, is the most widely available language in the logic programming paradigm. Logic and therefore Prolog is based the mathematical notions of relations and logical inference. Prolog is a declarative language meaning that rather than describing how to compute a solution, a program consists of a data base of facts and logical relationships (rules) which describe the relationships which hold for the given application. Rather then running a program to obtain a solution, the user asks a question. When asked a question, the run time system searches through the data base of facts and rules to determine (by logical deduction) the answer.

Among the features of Prolog are `logical variables' meaning that they behave like mathematical variables, a powerful pattern-matching facility (unification), a backtracking strategy to search for proofs, uniform data structures, and input and output are interchangeable.

Often there will be more than one way to deduce the answer or there will be more than one solution, in such cases the run time system may be asked find other solutions. backtracking to generate alternative solutions. Prolog is a weakly typed language with dynamic type checking and static scope rules.

Prolog is used in artificial intelligence applications such as natural language interfaces, automated reasoning systems and expert systems. Expert systems usually consist of a data base of facts and rules and an inference engine, the run time system of Prolog provides much of the services of an inference engine.


Prolog Tutorials :

  1. http://www.lix.polytechnique.fr/~liberti/public/computing/prog/prolog/prolog-tutorial.html
  2. http://okmij.org/ftp/Prolog/
  3. http://www.emu.edu.tr/aelci/Courses/d-318/D-318-Files/plbook/logic.htm
  4. http://en.wikipedia.org/wiki/Prolog
 
Copyright © Design Your Dream!!