Original Post
I was planning on trying to work some with the Java 1.4 beta 3 over my Christmas break, particularly with Java2d or GL4Java. However, to test my setup I tried writing a short program that should simply display "Hi" on the screen. Yes, I did this all from a command prompt, including entering the code... I don''t have any IDEs on this computer and didn''t need one for this part anyway.
I wondered if it might have something to do with my path statement, since the Java installer neglected to add Java directories, but then I remembered it behaves the same way on my system at school, which has all the paths set.
--
WNDCLASSEX Reality;
...
...
Reality.lpfnWndProc=ComputerGames;
...
...
RegisterClassEx(&Reality);
Unable to register Reality...what''s wrong?
---------
Dan Upton
http://0to1.org
http://www20.brinkster.com/draqza
C:\j2sdk1.4.0-beta3\bin>copy con Hi.java
public class Hi
{
public static void main(String[] args)
{
System.out.println("Hi.");
}
}
^Z
1 file(s) copied
C:\j2sdk1.4.0-beta3\bin>javac Hi.java
C:\j2sdk1.4.0-beta3\bin>java Hi
Exception in thread "main" java.lang.NoClassDefFoundError: Hi
|
