Can't compile source on netbeans
ammarx opened this issue · comments
Ammar Ahmad commented
Hi, I downloaded the source code and wanted to compile it in netbeans. However it gives me the following error:
-------------------------------------------------------------
COMPILATION ERROR :
-------------------------------------------------------------
sk/tomsik68/mclauncher/impl/versions/mcdownload/MCDownloadVersionInstaller.java:[27,23] constructor MCDownloadVersionList in class sk.tomsik68.mclauncher.impl.versions.mcdownload.MCDownloadVersionList cannot be applied to given types;
required: sk.tomsik68.mclauncher.api.common.mc.MinecraftInstance
found: no arguments
reason: actual and formal argument lists differ in length
sk/tomsik68/mclauncher/backend/MinecraftLauncherBackend.java:[44,55] constructor MCDownloadVersionList in class sk.tomsik68.mclauncher.impl.versions.mcdownload.MCDownloadVersionList cannot be applied to given types;
required: sk.tomsik68.mclauncher.api.common.mc.MinecraftInstance
found: no arguments
reason: actual and formal argument lists differ in length
2 errors
-------------------------------------------------------------
Am I missing something?
Any help regarding this would be great!
Regards,
Ammar Ahmad
Ammar Ahmad commented
Ah.. Seems like downloading it from here:
https://github.com/tomsik68/mclauncher-api/archive/v0.3.1.zip
Fixed it.
I would also like to thank you for your brilliant library. I will sure be using this in my project.
Tomáš Jašek commented
You're right, the current commit can't be compiled. Thank you for notifying me :)