Illegal Character when trying to compile java code

后端 未结 9 773
囚心锁ツ
囚心锁ツ 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 04:05

    instead of getting Notepad++, You can simply Open the file with Wordpad and then Save As - Plain Text document

    0 讨论(0)
  • 2020-12-29 04:06

    In Android Studio

    1. Menu -> Edit -> Select All
    2. Menu -> Edit -> Copy
    
    1. Open new Notepad.exe

    In Notepad

    4. Menu -> Edit -> Paste
    5. Menu -> Edit -> Select All
    6. Menu -> Edit -> Copy 
    

    Back In Android Studio

    7. Menu -> Edit -> Paste
    
    0 讨论(0)
  • 2020-12-29 04:10

    I solved this by right clicking in my textEdit program file and selecting [substitutions] and un-checking smart quotes.

    0 讨论(0)
提交回复
热议问题