Illegal Character when trying to compile java code

Posted by muckdog12 on Stack Overflow See other posts from Stack Overflow or by muckdog12
Published on 2010-01-02T21:33:52Z Indexed on 2010/04/27 17:13 UTC
Read the original article Hit count: 748

Filed under:
|
|

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 written I get an error that says that I have an illegal character at the beginning of my code that is not there. This is the error the compiler is giving me:

C:\Users\Travis Michael>"\Program Files\Java\jdk1.6.0_17\bin\javac" Test.java
Test.java:1: illegal character: \187
n++public class Test
 ^
Test.java:1: illegal character: \191
n++public class Test
  ^
2 errors

© Stack Overflow or respective owner

Related posts about java

Related posts about javac