My work is currently having me take an intro to Java course. While I'm familiar with Python and python packages and virtual environments, I'm having trouble translating some of this to Java.
The course comes with its own IDE, which circumvents some of these issues, but the IDE won't launch and I'd rather understand packages from the start anyways. Once I get past this bump I can continue the tutorial.
My current directory structure looks like this:
project_dir
├── edu
│ └── edu_package
│ ├── all_files_in_edu_package.java
├── unicode.txt
├── Main.class
├── Main.java
The Main class relies on classes contained in the edu_package, and they seem to import well enough to throw an exception.
Here's the exception:
error: package org.apache.commons.csv does not exist
import org.apache.commons.csv.CSVFormat;
It seems i need a JAR file, but I cannot figure out if there's a pip install org
or pypi equivalent in Java.
Edit: The exception isn't throw in Main, it's thrown in the edu_package which is imported in Main.