Pardeep Posted April 20, 2014 Posted April 20, 2014 My eclipse is setup correctly and I can mod and run and it's all fine. But my problem is this: In the reference libraries, you can look at all the minecraft vanilla files e.g. net.minecraft.entity.player.EntityPlayer.class BUT, if I want to open any file from FML or MinecraftForge, it just says the source is not attached, even though the location of the source is correct (as I can see all the vanilla minecraft stuff). An example is net.minecraftforge.event.entity.player.PlayerUseItemEvent.class I've tried running setupDecompWorkspace, setupDevWorkspace, deleting and reinstalling everything. Still none of the forge or fml source is visible in eclipse. Any help (if it helps, I use JDK8u5, but I have eclipse already patched for that so that shouldn't be the issue). Thanks in advance. Quote
sequituri Posted April 21, 2014 Posted April 21, 2014 MinecraftForge does not work with Java 8. Uninstall and use Java 7. Quote -S- (if I helped, please click Thank and applaud) http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img]
AbrarSyed Posted April 22, 2014 Posted April 22, 2014 Was an issue on my fault. You may continue to use Java 8, java 8 works fine. gradle clean cleanEclipse cleanCache --refresh-dependencies gradle setupDecompWorkspace eclipse --refresh-dependencies and everything should be fixed. Was a character encoding issue. Quote http://i56.tinypic.com/ruu0ao.png[/img] ^^ url to be changed.
Recommended Posts
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.