Posts

Showing posts from January, 2015

Ubuntu installation

Ubuntu 12.04 os setup After installed ubuntu 12.04  os then  need to install other packages like skype, git, java all that informations here posted To Install ubuntu http://releases.ubuntu.com/12.04/ download Wubi installer wubi.exe is simple way to install ubuntu. Create new user sudo groupadd ubuntu                              ubuntu  --> groupname sudo adduser dev -ingroup ubuntu                 Dev -->username  Set proxy setting To set the proxy setting system widely sudo vim etc/enviroment  Add these contents in environment file http_proxy="http://domainname:port" https_proxy="https://domainname:port" no_proxy="localhost"  TO create password less sudo user...

To create Executable jar

Image
To create Executable jar files in java I got 3 ways to  create executable jar files  we can use 1. Eclipse 2. Ant script 3. Java command    Eclipse method I created the simple java hello world program to demonstrate this method. package com.test.createjar; public class Main {         public static void main(String[] args){         System.out.println("Hello World !");     } } To right click the project name and goto Export -> export 1. We get export window Then we will select Runnable jar file option. It will forward  to the Runnable jar file specification window 2. Runnable jar file specification window * Here we select the launch configuration as method name and project name * Destination path and jar file name After clicks Finish button it created a executable jar file. 2.  Ant script Through ant script also ea...