Im supposed to Write a recursive method that computes the sum of the first n strictly positive integers. Im new to recursion any help would be great. im getting errors at moment...

[/HTML Code:mport java.util.Scanner; public class SumTester { public static void main(String[] args) { Scanner in = new Scanner(System.in); int sum = 0; System.out.println("\nPlease Enter n"); // get n from user int n = in.nextInt(); } } // recursively computes the sum of the first n integers public static int sum(int n) { int sum = n; if (N == 1) return 1; return N * sum(N-1); System.out.println("Recursively computing sum of the first 5 positive integers"); System.out.println("Sum" + n + "=" + sum); //return sum; } }