I hope you enjoyed the course. Good luck with your future.
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.then type in the following at the fissure prompt, and try again.
setenv DISPLAY xxxxxxx.scar.utoronto.ca:0.0where xxxxxxx is the name of the computer you are sitting at; for example, clusterpc18. It should be written somewhere on the computer.
> javac Confucius.java
> appletviewer Confucius.html
Remarks: write a short note to explain the problem
if you have a problem with how your assignment was marked, and hand
your assignment back to your TA. TAs will only accept remarks if you
write a note. The deadline for remark requests on A1 is Fri. Nov. 7.
Room | Last Name |
H-216 | A-LAM |
H-214 | LAN-N |
S-319 | O-Z |
Friday, October 10, 2pm. SHARP. In the drop boxes in S-506F.We decided to grant the extension because the bookstores ran out of textbooks, and because we have only recently covered some of the relevant material for the assignment. This will not affect the due dates of the other assignments. A2 will be handed out this Monday.
NO LATES WILL BE ACCEPTED.
If you use Visual Age for Java:
- Export the .java files to a directory (for printing).
- Export the .class files to a directory.
- Start up a DOS window, and continue with the steps for JDK. Of course, you'll have to have installed JDK, or do this on a machine with JDK installed on it. (You might actually be able to do the steps below in Visual Age, but I'm not sure how. If you can figure it out, you won't have to drop down to the DOS prompt.)
If you use JDK on DOS or Unix (fissure):
- Run the program on each test file. If your program is called MyProgram.class, and you have 2 test files, then give these commands:
java MyProgram < test1.dat > test1.out java MyProgram < test2.dat > test2.outThe ``<
'' and ``>
'' symbols indicate redirection of the input and output to use files instead of the keyboard and the screen. You won't have to type any input, and you won't see any output on the screen.- Print the program files, i.e., the .java files. (Could do this from Windows.)
- Print each test data file: test1.dat, test2.dat, ...
- Print each test output file: test2.out, test2.out, ...