This Minecraft error occasionally appears after installing a mod. If this is out of date, or the files are corrupted, the download process may be hampered. The Java Edition of the Minecraft video game is opened via the Minecraft Launcher application. Launcher.java:445: error: reference to listFiles is ambiguous, both method listFiles(FilenameFilter) in File and method listFiles(FileFilter) in File match File files = version.listFiles(FileFilterUtils.and(new IOFileFilter )) Īre there any way to do this? Don't mind my writing style, I tried to solve this whole night.As with every glitch, there are multiple things that might be to blame, and it may take some troubleshooting to find the exact cause. Launcher.java:441: error: reference to listFiles is ambiguous, both method listFiles(FilenameFilter) in File and method listFiles(FileFilter) in File match File versions = root.listFiles(DirectoryFileFilter.DIRECTORY) Launcher.java:409: error: reference to listFiles is ambiguous, both method listFiles(FilenameFilter) in File and method listFiles(FileFilter) in File match File directories = virtualsDir.listFiles(DirectoryFileFilter.DIRECTORY) Launcher.java:317: error: reference to listFiles is ambiguous, both method listFiles(FilenameFilter) in File and method listFiles(FileFilter) in File match File files = directory.listFiles(FileFileFilter.FILE) The problem is, that when I try to re-compile it with javac -classpath launcher.jar launcher.java it throws 5 errors: launcher.java:313: error: reference to listFiles is ambiguous, both method listFiles(FilenameFilter) in File and method listFiles(FileFilter) in File match File directories = objectsDir.listFiles(DirectoryFileFilter.DIRECTORY) I decompiled one file ( Launcher.java) and changed the download url from " " to my own. I just want it to download main jar file from my own server, nothing else. I'm trying to make custom launcher to Minecraft.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |