I download jansi-1.17.1.jar and extract the content.
I copied the org directory to my java file directory.
I add the statement import org.fusesource.jansi.AnsiConsole; in my java file but I get the message in NetBeans package org.fusesource.jansi.AnsiConsole does not exist.
I open my cmd prompt and write java -cp . org.fusesource.jansi.AnsiConsole and get the error message that AnsiConsole class do not have a main method.
C:\Users\asantiago\OneDrive\Coding_Work\Java-Practice>java -cp . org.fusesource.jansi.AnsiConsole
Error: Could not find or load main class org.fusesource.jansi.AnsiConsole
How can I import the package for use in my program?
Hi,
jansi-1.17.1.jar
and extract the content.import org.fusesource.jansi.AnsiConsole;
in my java file but I get the message in NetBeanspackage org.fusesource.jansi.AnsiConsole does not exist
.java -cp . org.fusesource.jansi.AnsiConsole
and get the error message that AnsiConsole class do not have a main method.How can I import the package for use in my program?