ccoder
Jan 31st, 2001, 04:15 PM
I decided it was time to take a look at Java, so I installed a copy of J++ v.1.1 that I had laying around.
Browsing through the stuff under the Info tab, I found the topic "Creating a Simple Java Application" and followed the steps up the Build when I got a J0051 error.
The app is just the standard "Hello World" program.
public class Hello2
{
public static void main( String args[] )
{
System.out.println( "Hello, World!" );
}
}
The complete error description is:
Compiling...
Microsoft (R) Visual J++ Compiler Version 1.01.7022
Copyright (C) Microsoft Corp 1996. All rights reserved.
D:\Devel\Java\Hello2.java(0,0) : error J0051: Undefined package 'lang'
Error executing jvc.exe.
Hello2 - 1 error(s), 0 warning(s)
Anyone have an idea what the problem is? Did I miss something in the install? BTW, the install did skip the DAO step as I ran out of disk space (had less space than I thought). Didn't think it would be a problem for the time being.
Browsing through the stuff under the Info tab, I found the topic "Creating a Simple Java Application" and followed the steps up the Build when I got a J0051 error.
The app is just the standard "Hello World" program.
public class Hello2
{
public static void main( String args[] )
{
System.out.println( "Hello, World!" );
}
}
The complete error description is:
Compiling...
Microsoft (R) Visual J++ Compiler Version 1.01.7022
Copyright (C) Microsoft Corp 1996. All rights reserved.
D:\Devel\Java\Hello2.java(0,0) : error J0051: Undefined package 'lang'
Error executing jvc.exe.
Hello2 - 1 error(s), 0 warning(s)
Anyone have an idea what the problem is? Did I miss something in the install? BTW, the install did skip the DAO step as I ran out of disk space (had less space than I thought). Didn't think it would be a problem for the time being.