

jGRASP wedge2: exit code for process is 1.Ĭaused by: : NextDayĪt $1.run(URLClassLoader.java:200)Īt (Native Method)Īt (URLClassLoader.java:188)Īt (ClassLoader.java:307)Īt $AppClassLoader.loadClass(Launcher.java:301)Īt (ClassLoader.java:252)Īt (ClassLoader.java:320)Ĭould not find the main class: NextDay. jGRASP exec: javac -g F:\COS102\5Redo\NextDay.java You guys are quick, ok, here's the current error pasted, same refined question as my last still stands. Null, "The date after the day you entered is: " + NextMonthInt + "/" + NextDayInt + "/" + NextYearInt) Check value of entered date and assign value to next day variable If it is a leap year, reassign max day variable LeapYrYNInt= LeapYearInt(EnteredYearInt) LeapYrYNInt= 0 //Initialize the variable for the function Check to see if it's a leap year, if necessary (entered month is February) Determine the last date for the month entered JOptionPane.showInputDialog("Please enter a year") ĮnteredYearInt= integer.parseInt(InputDateMessageMonthString)

JOptionPane.showInputDialog("Please enter a date") ĮnteredDateInt= integer.parseInt(InputDateMessageMonthString) JOptionPane.showInputDialog("Please enter a month") ĮnteredMonthInt= integer.parseInt(InputDateMessageMonthString) NumbOfTimesInt= integer.parseInt(NumbOfTimesMessageString) JOptionPane.showInputDialog("Please enter the number of dates to check:") Scanner keyboard= new Scanner(System.in) String OutputMessageString //The message that displays the output/ date of the next day Int LeapYrYNInt //The value returned by the leap year function String DateEnteredString //The date string enteredĭouble NextMonthInt //The month of the next dayĭouble NextDateInt //The date of the next dayĭouble NextYearInt //The year of the next day String InputDateMessageYearString //The year input/ format message String InputDateMessageDateString //The day input/ format message String InputDateMessageMonthString //The month input/ format message String NumbOfTimesMessageString //The request number of times message Int EnteredYearInt //The year of the current day Int EnteredDateInt //The date of the current day Int EnteredMonthInt //The month of the current day Int MaxDayInt //The maxiumum day for the entered month Int YearInt //The argument for the leap year method Int CountInt //The counter variable for the loop Int NumbOfTimesInt //The number of dates to check Import java.text.* //for DecimalFormat class output: The next date after the one given input: Number of dates to check, today's month, day, and year Run a mortgage calculator based on the principal amount, interest rate and total can anyone help? I'm not sure if forum ediquette dictates I list all error messages so I'll assume they're obvious for now? Many thanks in advance.

I'm a CS101 student, I know this is basic stuff but this won't compile.

