3

I have a program that is trying to use the org.apache.commons.io.FileUtils static method

readFileToString() 

I have downloaded the commons.io package from the Apache website but I don't know how to get my program to find the package. I am not currently using an IDE, but am using Notepad ++ and using a simple batch file to compile, and another batch file to run.

1 Answer 1

1

You must set a classpath in both

  1. compile process (javac) and
  2. runtime (java)

see a similar topic.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.