Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

So, I bought a new pc re-imported everything from my old one, and when I tried to run my mod I just saw this

Spoiler

Exception in thread "main" java.lang.IllegalArgumentException: Environment variable 'assetDirectory' must be set to a valid path.
	at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:70)

I also got this :


WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.minecraftforge.userdev.LaunchTesting (file:/C:/Users/Victor/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.15.2-31.1.30_mapped_snapshot_20200331-1.15.1/forge-1.15.2-31.1.30_mapped_snapshot_20200331-1.15.1-recomp.jar) to method java.lang.ClassLoader.initializePath(java.lang.String)
WARNING: Please consider reporting this to the maintainers of net.minecraftforge.userdev.LaunchTesting
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

 

Can anybody help me, because this is my first time seeing this error message.

Edited by Anonomys

This is my signature. I don't really too much know about java but i try to help and i try to get help from others too. Thank you!

  • Author

1.15.2

This is my signature. I don't really too much know about java but i try to help and i try to get help from others too. Thank you!

I remember that it was a pain to switch the location of the mod files back when I developed in MC version 1.12.2, because Eclipse had some problems finding the right folders etc.

But that shouldn't be a problem anymore.

Edited by Budschie

It seems that you moved the files, but you haven't refreshed your launch files for your IDE.

Remove the old launch files, then run:

For Eclipse: gradlew genEclipseRuns

For IDEA: gradlew genIntellijRuns

For VS Code: gradlew genVSCodeRuns

  • Author

okay thanks.

 

This is my signature. I don't really too much know about java but i try to help and i try to get help from others too. Thank you!

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.