How to Run a Java Program in Ubuntu Operating System

Published: 28 December 2011
on channel: EasyTech Bytes
5,978
2

How to Run a Java Program in Ubuntu Operating System , A big Question mark.

Simple guys. Check the description for the steps.
1 : Open a terminal window. This is where you will type the following commands.

2 : Type the command sudo apt-get install sun-java6-bin, sun-java6-jre to install the proper Java packages.

3 : Type the command sudo update-java-alternatives --set java-6-sun to correctly set the correct packages as default.

4 : Type the command cd path to java program to navigate to the directory where the Java script is held. Replace path to java program with the correct path for your system.

5 : Type the command java java program to execute the program. Replace java program with the correct name of the script you want to run

Please feel free to comment on this video. Stay tuned for more updates.....!!!!!!!!


On this page of the site you can watch the video online How to Run a Java Program in Ubuntu Operating System with a duration of hours minute second in good quality, which was uploaded by the user EasyTech Bytes 28 December 2011, share the link with friends and acquaintances, this video has already been watched 5,978 times on youtube and it was liked by 2 viewers. Enjoy your viewing!