Posted May 12, 20169 yr This may be user error but when i extend some minecraft classes and run the games client in idea i receive "Error:java: Compilation failed: internal java compiler error" the problem occurs just from having a class which extends the ItemArmor class or when extending the tools class (e.g. ItemPickaxe, ItemSpade,ect). the class does not have to be used anywhere just exist in my mod's source. This is strange because there was no issues in 1.8 it only occurred when i updates to 1.8.9/1.9 Example of what would cause a compiler error public class modArmor extends ItemArmor{ public modArmor(String unlocalisedName, ArmorMaterial materialIn, int renderIndexIn, EntityEquipmentSlot equipmentSlotIn) { super(materialIn, renderIndexIn, equipmentSlotIn); this.setUnlocalizedName(unlocalisedName); this.setCreativeTab(ModItems.AOStab); } } I am sorry in advance if my problem is user error and i have just wasted your time. i have looked for any other posts with this problem but i have not been able to find any other posts
May 12, 20169 yr Please post the crash report/stacktrace - Just because things are the way they are doesn't mean they can't be the way you want them to be. Unless they're aspen trees. You can tell they're aspens 'cause the way they are.
May 12, 20169 yr Author After i try to run the client in idea the folowing displays in messages make Information:Using javac 1.8.0_77 to compile java sources Information:java: An exception has occurred in the compiler (1.8.0_77). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you. Information:java: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for com.google.common.collect.Multimap not found Information:java: Errors occurred while compiling module 'aos mod' Information:13/05/2016 9:39 AM - Compilation completed with 1 error and 0 warnings in 22s 735ms Error:java: Compilation failed: internal java compiler error
May 13, 20169 yr Author I Just fixed it by adding Guava to the modules dependencies. Thank you for your time .
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.