April 30th, 2000, 10:11 AM
Hi,
I'm completely new to J++ and I'm having the following little problem:
I created a new "Java project" and added a java source code file. Within
this file, I typed the following code:
class HelloWorld
{
public static void main (String[] Args)
{
System.out.println("Hello World!");
}
}
The project and the workspace are called HelloWorld also. As soon as I'm
trying to compile my project, I get an error message saying that the package
"lang" can't be found. If I import it using
import java.lang.*;
the error message says that it is already imported implicit. But it can't
find the package lang. Using Sun's JDK 1.1.8 the program works quite
perfectly.
Why?
Thanks,
Jessica
I'm completely new to J++ and I'm having the following little problem:
I created a new "Java project" and added a java source code file. Within
this file, I typed the following code:
class HelloWorld
{
public static void main (String[] Args)
{
System.out.println("Hello World!");
}
}
The project and the workspace are called HelloWorld also. As soon as I'm
trying to compile my project, I get an error message saying that the package
"lang" can't be found. If I import it using
import java.lang.*;
the error message says that it is already imported implicit. But it can't
find the package lang. Using Sun's JDK 1.1.8 the program works quite
perfectly.
Why?
Thanks,
Jessica