Illegal Character when trying to compile java code

后端 未结 9 847
囚心锁ツ
囚心锁ツ 2020-12-29 03:09

I have a program that allows a user to type java code into a rich text box and then compile it using the java compiler. Whenever I try to compile the code that I have writte

9条回答
  •  无人及你
    2020-12-29 03:55

    Even I was facing this issue as am using notepad++ to code. It is very convenient to type the code in notepad++. However after compiling I get an error " error: illegal character: '\u00bb'". Solution : Start writing the code in older version of notepad(which will be there by default in your PC) and save it. Later the modifications can be done using notepad++. It works!!!

提交回复
热议问题