I cannot resolve the current issue I am experiencing with Java. I am familiar with PHP/MySql, but not with Java.
Here is my Java code:
package day1.examples;
public class MyFirstClass
{
public static void main(String[] args)
{
System.out.println('Hello World');
}
}
Problem: When I go to run the program as Java, I receive the following warning:
Then, I am receiving the following error in my console: Error: Could not find or load main class day1.examples.MyFirstClass

Question: Why is the above code (which I assume is appropriate) not working? Furthermore: Why am I receiving errors?
Please note: This is my first day using Java


JAVA_HOMEenvironment variable? Probably that's giving you the error. Or might have something to do not 100% sure