Jump to content

Error: Could not find or load main class net.minecraftforge.userdev.LaunchTesting


Recommended Posts

Posted (edited)
  On 5/6/2020 at 8:19 AM, diesieben07 said:
  1. Change your mod ID. Not only is it invalid (must be all lowercase), it also bad. If your mod is called "Terrain Mod 2020" then your mod ID should be "terrainmod2020" or "terrain_mod_2020". Do not abbreviate.
Expand  

I did this but to no avail 

  On 5/6/2020 at 8:19 AM, diesieben07 said:

please follow Java package naming conventions.

Expand  

I am now following Java package naming conventions and still didn't work but thanks for the suggestions 

TerainMod2020 – terainmod2020.java [TerainMod2020.main] IntelliJ IDEA 5_6_2020 1_59_35 PM.png

you can find my mod so far here

Edited by derekrneilson
Posted

In you mods.toml file, right after your modid:

[[mods]] #mandatory
modId="terainmod2020" mandatory   <----------
version="1.15.2-1.0.0" #mandatory

You missed a "#", it should be

#mandatory

 

  • Like 1
Posted (edited)
  On 5/7/2020 at 4:17 AM, poopoodice said:

In you mods.toml file, right after your modid:

[[mods]] #mandatory
modId="terainmod2020" mandatory   <----------
version="1.15.2-1.0.0" #mandatory

You missed a "#", it should be

#mandatory

 

Expand  

thanks for finding that but it keeps crashing

Edited by derekrneilson
Posted (edited)
  On 5/7/2020 at 9:01 PM, diesieben07 said:

Update Forge.

Expand  

okay so I updated forge and I am still having the same err. 

 I have 8Gs of ram why dose it not aloe me to alot all 8Gs if I try it says 

org.gradle.jvmargs=-Xmx8G
  Quote

Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.9/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Invalid maximum heap size: -Xmx8G
The specified size exceeds the maximum representable size.

-----------------------
Check the JVM arguments defined for the gradle process in:
 - gradle.properties in project root directory

Expand  

 

Edited by derekrneilson
Posted

How much RAM do you have in your computer?

8G might be too much. 4-6G is enough.

Some tips:

  Reveal hidden contents

 

  • 7 months later...
  • 4 months later...

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.