On Tue, 15 Jul 2003 02:58:14 BST, Simon Hardial <simon_hardial(a)hotmail.com> said:
Hi im trying to write java programs on your xemacs software. BUt i
cant seem
to compile it properly or run the program.
I keep getting exception in "main"
or
Code 1 problems.
I've tried everything to sort it out but really stuck on what do?
We're sorry, but xemacs is an *editor*. As such, it's as little to blame for
programming errors in Java programs as a spreadsheet is to blame if you enter
the wrong numbers.
I would suggest reading the documentation for your Java compiler, interpreter,
and/or debugger. A few hints:
1) Use lots of calls like: System.out.print("We got to point A and XYZ has the
value "+xyz);
to narrow down where you're failing and what is going on with variables.
2) Fix all the warnings your program generates when compiling/loading. These
often indicate problems that can cause program crashes at runtime.
--
Valdis Kletnieks
Computer Systems Senior Engineer
Virginia Tech