Running .java files
Posted: Tue Sep 26, 2006 11:40 pm
I am having difficulty running.java files following their compilation. What is typically done for a file to run properly? Thanks!
Code: Select all
C:\foo>javac FrequentlyAskedQuestion.java
C:\foo>dir *
Volume in drive C has no label.
Volume Serial Number is 1F86-DC58
Directory of C:\tmp
09/27/2006 02:53 PM 1423 FrequentlyAskedQuestion.java
09/27/2006 02:55 PM 576 FrequentlyAskedQuestion.class
2 File(s) 1,999 bytes
0 Dir(s) 10,255,163,392 bytes free
C:\foo>java FrequentlyAskedQuestion
This is the expeced result of running "FrequentlyAskedQuestion"