Monday, December 6, 2010

Install JDK on Windows Xp and Add Class Path.


Please Reply If U Like This

Thursday, November 25, 2010

Install VLC Player and Other Packages for UBUNTU Without Internet Connection

 VLC Player and Other Packages for UBUNTU Without Internet Connection 

Hi Everyone In this post i'm gonna tell U how to install VLC player on Ubuntu and Also Install Other Packages like 
  • Java (Java Runtime Environment[JRE]) to FireFox to execute Applets,
  • Codac Plugins to play movies in Default player in Ubuntu,
  • Codac Plugins to play mp3 and other audio files in Ubuntu's Default Music Player(Rhythm box)...etc...

First lets see steps to install VLC player on ubuntu:

1.First U need to download the VLC player package from any PC which has internet connection.
   The Link is:!download|297l33|382349998|VLC_Offline_installer_10.04_For_Ubuntu_10.04.tar.gz|25754

2.Once u downloaded, the archive  file will be " VLC_Offline_installer_10.04_For_Ubuntu_10.04.tar.gz"

3.Copy it to the PC where u need to install the package UNZIP it.

4.Once u unzip it then u are gonna see file called "", Double click on "" and select the option as "Run In Terminal".[Provide your Password  if it asks]

5.That's it lads :) check right click on any movie file then u should see "Open With VLC Player".if every thing went well.
Good Luck Folks.

Now Lets see the steps to install "Ubuntu restricted Extra packages". Its a collection of many packages[around 23 of'em are there],few of them i mentioned above.

1.First u need to download the Packages archive file as u did previously in "VLC player installation".

2.The Download Links are as fallow use any one:

3. Once u download u'll get the archive file as "Ubuntu_restricted_Extra_10.04_Offline_Installer_For_Ubuntu_10.04.tar.gz"

4.Unzip it in ubuntu. I believe there was a problem in this archive while uploading so it won't Unzip in Ubuntu, U need to Unzip using WINRAR or any archiver s/w on Windows [ain't mind the errors while unzipping, neglect the errors ].

5.Once u unzip the archive file then u'll see the file called "". Double Click on ""  and select the option as "Run In Terminal".[Provide your Password  if it asks].

6.Finished folks :) now u can play movies,songs on default players of ubuntu.u can even run applet applications on Firefox browser as java plugins also included in this installation.
Good Luck lads.

Thanks for the comments for my last posts,that was really encouraging.Thanks very much to all.Good Luck.


Thursday, November 11, 2010

Install JDK on UBUNTU (any version) Without Internet Connection

These are the steps I used to install the Java JDK binary,Externally on my System which ain't have Internet.

1.Dowload the latest Java JDK for Linux Platform (in my case,jdk-6u22-linux-i586.bin) from the Sun Java site.Using any System Which Have Internet.

(you can also use jdk-6u3-linux-i586.bin and many other versions)

[*Note:Do not download ".rpm" version of jdk(like jdk-6u22-linux-i586-rpm.bin)]

2.In Terminal Change directory to /usr/local/lib [using comand $cd /usr/local/lib]

3.From there extract the JRE or JDK archive file you downloaded:

   $ sudo sh /some/path/jdk-6u3-linux-i586.bin

[In the above commands, replace /some/path with where the JRE/JDK .bin resides and of course replace the filename with what it actually is in your case.]

(In my case: $sudo sh /home/Kishor/Downloads/jdk-6u22-linux-i586.bin)

4.Now Lets create some symlinks so that the executables can be run easily:
Change directory to /usr/local/bin [$ cd /usr/local/bin]

From there execute the following set of commands:

$ sudo ln -sf ../lib/jdk1.6.0_22/bin/* .

[Please Pay attention to the "dot(.)" at the end of the command, it is required and IMPORTENT.
And adjust the directory as well to what you have (e.g. jdk1.6.0_03 in folder /usr/local/lib)
(in mycase it is: jdk1.6.0_22/bin)]

5.Verify installation

To verify that the installation was successful, execute

$ java -version

The output should look something like this if everything is well

java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)

6. Now you can Execute Java Programs From any directory from your system,here is a small example of mine:

kishor@ubuntu:~/Desktop$ javac
kishor@ubuntu:~/Desktop$ java HelloWorld
Hello World!!