Search:

Type: Posts; User: Norm

Search: Search took 0.15 seconds.

  1. Replies
    4
    Views
    1,196

    Re: issue with scanner class-resource leak

    It looks like the class is in a package. Remove the package statement and redo the javac and java steps and it should work.

    Otherwise when using the java command, set the classpath to the folder...
  2. Replies
    4
    Views
    1,196

    Re: issue with scanner class-resource leak

    What happens when the code is executed?
    What OS are you are?
Results 1 to 2 of 2