Jump to content

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


Recommended Posts

Posted (edited)

this keeps coming up wen I try to runClient 1.15.2 build

Quote

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

 ACtC-3eARdNZlXu5RUHwitNmj1G1vjbwvtPOXWh1

 

Edited by derekrneilson
Posted (edited)
11 hours ago, 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.

I did this but to no avail 

11 hours ago, diesieben07 said:

please follow Java package naming conventions.

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)
16 hours ago, 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

 

thanks for finding that but it keeps crashing

Edited by derekrneilson
Posted (edited)
2 hours ago, diesieben07 said:

Update Forge.

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

 

Edited by derekrneilson
Posted

How much RAM do you have in your computer?

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

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

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