Jump to content

Recommended Posts

Posted

I set up a new forge project in 1.15.2 for the first time. Copied MDK to a new folder, ran gradlew genEclipseRuns and gradlew eclipse, Imported the folder to eclipse as a java project (for the record, i tried it as a gradle project and the same thing happened) and it gave me the following error in the problems section, and nothing from forge works:

'PowerApples' is missing required library: 'C:\Users\REDACTED\Desktop\Java Workspaces\PowerApples\unresolved dependency - net.minecraftforge forge 1.15.2-31.2.31_mapped_snapshot_20200514-1.15.1'

Posted

Something similar has also happened to me once, and I am not quite sure what was wrong, but here is what I did to fix it:

  • Reinstalled the JDK
  • Downloaded an older version of eclipse (I think I ended up using eclipse-2018-12)
  • Made sure that the eclipse installation, the JDK, and the workspace were on the same disk volume
  • Ran the eclipse and genEclipseRuns tasks in the terminal before importing the project to eclipse

Hope this helps!

Posted

huh, il try some of these things. Although I don't understand how they will help. Some tutorials have showed doing something with environment variables when installing the jdk, I already have jdk installed but didnt do this, do I have to do this?

Posted
7 hours ago, Enator18 said:

Some tutorials have showed doing something with environment variables when installing the jdk, I already have jdk installed but didnt do this, do I have to do this?

You might have to specify the path to the jdk (and the jre that comes with it), but I think it does so automatically when installing java. You can check the location of java the eclipse is using under Window -> Preferences -> Java -> Installed JREs.

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.