This discussion is archived
0 Replies Latest reply: Jun 25, 2007 8:37 AM by 807605 RSS

[java]compiling .java at runtime...illegal character: \0

807605 Newbie
Currently Being Moderated
i have an RMI method call that receives a string with the name of the file and an array of bytes that contains the file.

this method has to save the file,compile it if it's a .java or run it directly is it's a .class

the file arrives completely,but in compiling it i get an error telling there's an illegal character inside,which is ' \0 '

isn't that suposed to be the end of the file?..if i print the file on my linux shell with the "more" command,the character doesn't come out either,do you have an idea about how could i get it out from there?..