- #1
camel-man
- 76
- 0
I am using the netbeans IDE
All I am trying to do is print out to the screen, but I keep getting this error.
Here is my short code
This is not really a java program, it is a SQL program that I am supposed to somehow implement a DB in java... IDK I am so frustrated over this. I am originally a C programmer and have very basic knowledge of java, but the fact that I have to incorporate a database and SQL queries is making this impossible for "ME", I know a lot of people can do this with their eyes closed.
All I am trying to do is print out to the screen, but I keep getting this error.
Code:
Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: system.out.println
at mysqlconn.mainhgf4.main(mainhgf4.java:19)
Here is my short code
Code:
package mysqlconn;
import java.io.BufferedReader;
/**
*
*/
public class mainhgf4{
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
system.out.println("Welcome friend!");
}
}
This is not really a java program, it is a SQL program that I am supposed to somehow implement a DB in java... IDK I am so frustrated over this. I am originally a C programmer and have very basic knowledge of java, but the fact that I have to incorporate a database and SQL queries is making this impossible for "ME", I know a lot of people can do this with their eyes closed.