Friday, August 24, 2018

Install Jira on local with simple steps!!


Below document helps to Install Jira systematically on local environment
1         1. To Download JIRA executables go to below url –
           
           2. Install the downloaded executable file.
     
           3.  Once you install the JIRA executable file type below url in the browser –
                        http://localhost:8080/

         It looks like below snap –


4           4.  Click on Set it up for me (It needs internet) and then click on Continue to MyAtlassian.
                It should bring you to login page, which looks like below snap.



5           5.  Choose login method you want to.
             
             6.       Once you login, it will take you to license page which looks like below snap –


            7.       Choose license type as JIRA Software (Server) and add Organization name and then click on Generate license button

            8.       You are almost done for Jira Setup.

            9.       It is now time for Administrator account setup.
Add Email, Username, and Password for admin setup and press Next button.
Once you press Next button, it will start account setup, which takes minutes to finish.
If you see below snap then you are done with setup.. Congratulations!!



Thursday, August 23, 2018

Core Java Basics - Create Text File

Below core java snippet creates text file if it does not exist on the given locaion.




package prashant.rane;

import java.io.File;
import java.io.IOException;

public class CreateTextFile {
public static void main(String[] args) throws IOException {

File file = new File("c:\\corejavademo\\newfile.txt");

if (file.createNewFile()) {
System.out.println("Created New File !!");
} else {
System.out.println("File already exists !!");
}
}
}