Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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

 

 

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.