Com.github library?

Hello, I am trying to make a sketch using a library from github.
Link to the library
And in the example it imports a bunch of com.github.? files. but when I try to import them, it justs says:

//the import command

//the error that it gives
No library found for 
Libraries must be installed in a folder named 'libraries' inside the sketchbook folder (see the  Preferences window).
The package “com.github” does not exist. You might be missing a library.

And I dont know how to fix it. I downloaded the com file and put it in the sketch folder, and in the Libraries folder in the processing sketchbook. But it didnt do anything.
Can someone help me?

Hi @remie92,

What do you mean by:

Did you build the library on your own or did you downloaded it from maven repo (ie. mcprotocollib-1.19-1.jar) or did you put a downloaded zip from github into you folders ?

I think the easiest way for you would be to

  1. remove what you’ve inserted from github in your libraries and sketch folder.
  2. download the library from here
  3. drag and drop the downloaded jar file onto your sketch (PDE)

— mnse


I just downloaded the zip from the repository, unzipped it, opened the src file and eventually found a folder called com. and when I opened it, there was a GitHub folder in there. So I though that was maybe the com.github file processing was talking about. But it didn’t work :frowning: .

Thanks for the quick response!

see updates on my post above …

Hello again!

I will test your solution as soon as possible
And thanks for your help :blush:

Hi again,

Your solution almost works. Most of the imports dont give errors now. Just the ones that are in a auth folder.
For example:

// imports example

// errors
No library found for

//also, there is a other error which doesn't look like the others
The type cannot be resolved. It is indirectly referenced from required .class files

Is there maybe a place where you can download more of those jar files that you found?


The authentication is another library (MCAuthLib)
As far as I can see it should also resolve the GameProfile issue.

For further you have to study more accurate the corresponding github pages …
MCProtocolLib and MCAuthLib
… which all the info is included.

— mnse