Question: Help I'm literally keep having this error that it's killing me! #java #eclipse please provide a step by step on how to fix this thank

Help I'm literally keep having this error that it's killing me! #java #eclipse

please provide a step by step on how to fix this thank you I do give thumbs up

Help I'm literally keep having this error that it's killing me! #java

Error: Could not find or load main class assignmentOne Caused by: java.lang.ClassNotFoundException: assignmentOne

code:

Main.java

/* // TODO: ADD YOUR DETAILS */ import javax.swing.*; public class Main { public static void main(String[] args) { // creating a frame JFrame jFrame = new JFrame(); // asking user for their name String name = JOptionPane.showInputDialog("What should we call you?"); // displaying the name in the dialog box JOptionPane.showMessageDialog(jFrame, name + ", Welcome to Javal!", "Lab Exercise 1", JOptionPane.INFORMATION_MESSAGE); } }

File Edit Source Refactor Navigate Search Project Run Window Help q >> U * Package Explorer Bassignment#1 assignmentOne.java * 10 /* 2 2 // TODO: ADD YOUR DETAILS 3 */ 4. 5 import javax.swing. *; 6 7 public class Main { 8e public static void main(String[] args) { 9 // creating a frame 3210 JFrame jframe = new JFrame(); 11 12 // asking user for their name 313 String name = JOptionPane.showInputDialog("What should 14 15 // displaying the name in the dialog box 2216 JOptionPane.showMessageDialog(JFrame, name + ", Welcome 17 } 18 } * Problems @ Javadoc Declaration Console X assignmentOne [Java Application] C:\eclipse\plugins\org.e Error: Could not find or load main class assignmentOne Caused by: java.lang.ClassNotFoundException: assignmentOne

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!