I added a library dependency to my Maven project. So in my POM, I added:
I then utilized a single function:
When I run the code in the IDE, it runs just fine, no errors, and makes the names I feed it uppercase (first letter), just like I want it to. However, when I run it from the command prompt:
java -jar IntoTheVoid.jar
...when I get to the code that capitalizes the word:
Why would it run fine in the IDE, but not from the JAR?