Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Im using WordPad…and javac won compile my source. Why?

javac source
0
Posted

Im using WordPad…and javac won compile my source. Why?

0

If javac is giving you normal looking error messages (i.e. the output is in English), then your code is wrong. However, if you see what look like a bunch of weird characters that might come from some being on X-Files, then what probably happened is that you saved your source as a Word 6.0 file instead of a text file. To be sure you’re saving as a text file in WordPad, go to File/Save As, and make sure it says Plain Text (or something like that) in the File Type option pull-down…if it says Word for Windows 6.0 and you keep it that way, you’ll end up with this weird characters problem.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123