I wrote a simple terminal program in IntelliJ. I'm using Gradle (and I actually don't know how to use it).
I can run the program inside IntelliJ IDE, everything works fine.
Now I want to copy it to another machine: Debian with Java(TM) SE Runtime Environment (build 1.8.0_45-b14).
My program uses an external library (jaunt0.9.9.9.jar).
I have added this libary in "Project Structure -> Dependencies -> Add".
I guess I have to make a -.jar file, but when I run "MyProjectName [jar]" task - I'm getting an error like this:
src\main\java\Hello\MyProjectName.java:3: error: package com.jaunt does not exist import com.jaunt.*;
Am I doing something wrong?