bdub's blog

By bdub, 13 years ago, In English

==Java Noob

I just tried submitting some practice code from IntelliJ and it seems to be getting a runtime error unless I remove the "Package" line (which intellij doesn't seem to like)

Is there a go around or quick fix?

thanks

  • Vote: I like it
  • +1
  • Vote: I do not like it

»
13 years ago, hide # |
Rev. 2  
Vote: I like it +1 Vote: I do not like it

You need to put your sources in default package (i. e. your source root, usually src folder)