Jump to content

Recommended Posts

Posted (edited)

EDIT: Sorry to have bothered everyone, but I've solved the problem.  If anyone else has this problem with IntelliJ one possible solution is to select the version of your mod that adds ".main" to the end in the module section.  It main seems strange if the class has no members or methods called that, but it seems it can be a problem and that change can solve it.

 

I never could get a test run to even try to start on Linux with 1.14.4.  So I switched to IntelliJ, and it launched perfectly with "Example Mod."  So, I refactored my package and mod class to "jaredbgreat.climaticbiomes" and ClimaticBiomes.java, and changed the mod name.  That's it!  That's all I've done so far, but a new test lauch results it this error (at least it tried to start):

 

/usr/lib/jvm/java-8-oracle/bin/java -Dforge.logging.console.level=debug -Dforge.logging.markers=SCAN,REGISTRIES,REGISTRYDUMP -javaagent:/home/jared/bin/idea-IC-183.5912.21/lib/idea_rt.jar=45341:/home/jared/bin/idea-IC-183.5912.21/bin -Dfile.encoding=UTF-8 -classpath /usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/deploy.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfxswt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-oracle/jre/lib/plugin.jar:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar net.minecraftforge.userdev.LaunchTesting
Error: Could not find or load main class net.minecraftforge.userdev.LaunchTesting

Process finished with exit code 1

 

Huh!  I had no trouble finding "net.minecraftforge.userdec.LaunchTesting" before and ran just fine!?!  (This was right after announcing I might be able to update after all.)

 

What is going on?  Frankly it looks like a bug to me, but since its about making mods I put it here.  It doesn't seem to be able my code, since it doesn't even get that far.  I have not changed any of the project setting since the successful launch, other than to set the "module" to the new mod class name and location.

 

EDIT: Yes, I did Google the problem -- there are only 5 results and none of them useful (just a few other people saying they have the problem).

Edited by JaredBGreat

Developer of Doomlike Dungeons.

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.