Jump to content

Recommended Posts

Posted

In tutorial videos people just download all the files, run the install.sh / install.bat, jump into Eclipse, and run the game right from there.  Yet, I get one set of errors after another, and I haven't even added any code of my own yet.  Why is this happening.  This is what I get:

 

snapshot1.png

A 51 second screen video is here:

 

All the code seems to be there, and there are no errors highlighted now.  What's going wrong?  Am I supposed to be able to test run this way?

Developer of Doomlike Dungeons.

Posted

Thanks.  It says...

 

2013-07-23 18:07:43 [iNFO] [ForgeModLoader] Forge Mod Loader version 5.2.23.738 for Minecraft 1.5.2 loading
2013-07-23 18:07:43 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_21, running on Linux:amd64:3.8.0-26-generic, installed at /usr/lib/jvm/java-7-oracle/jre
2013-07-23 18:07:43 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2013-07-23 18:07:44 [iNFO] [sTDERR] java.lang.reflect.InvocationTargetException
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:601)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.FMLRelauncher.relaunchClient(FMLRelauncher.java:123)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.FMLRelauncher.handleClientRelaunch(FMLRelauncher.java:38)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.main(Minecraft.java:2237)
2013-07-23 18:07:44 [iNFO] [sTDERR] Caused by: java.lang.UnsatisfiedLinkError: /home/jared/Documents/src/eclipse/forge/mcp/jars/bin/natives/liblwjgl.so: /home/jared/Documents/src/eclipse/forge/mcp/jars/bin/natives/liblwjgl.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at java.lang.Runtime.loadLibrary0(Runtime.java:845)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at java.lang.System.loadLibrary(System.java:1084)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at org.lwjgl.Sys$1.run(Sys.java:72)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at java.security.AccessController.doPrivileged(Native Method)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at org.lwjgl.Sys.loadLibrary(Sys.java:81)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at org.lwjgl.Sys.<clinit>(Sys.java:98)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2576)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.fmlReentry(Minecraft.java:2247)
2013-07-23 18:07:44 [iNFO] [sTDERR] 	... 7 more

 

...but I'm not sure what it means.  I'm just trying to get set up and start learning.

Developer of Doomlike Dungeons.

Posted

There seems to be an issue with the set up. Try deleting everything (include the files that were in the zip) unzip all the files again and run the install script again.

 

I guess the installer was not able to download one libary. This happens every once in a while. (A reinstall is the simplest way to fix it)

Posted

I forgot I had started a tutorial, so I deleted it.  I got rid of the red X, but still get the same error, and there is an exclamation point that leads me to a class TaskWorldCreation.java in package net.minecraft.client.gui.  I still seem to get the same error message; the results haven't changed.

 

Other (!) are found, on in ThreadDownloadResources.java in net.minecraft.util; in RegionFile.java in net.minecraft.world.chunk.storage; also -- I know I didn't modify any of those.  All the tutorial stuff was in its own package.  Also, I was having trouble before I started the tutorial, but at first thought maybe some of the native libraries or something didn't like the deobfuscated version and that maybe it wasn't supposed to run.

Developer of Doomlike Dungeons.

Posted

There seems to be an issue with the set up. Try deleting everything (include the files that were in the zip) unzip all the files again and run the install script again.

 

I guess the installer was not able to download one libary. This happens every once in a while. (A reinstall is the simplest way to fix it)

 

OK, thanks, I've deleted and re-installed, but still no luck.

 

A couple things:

 

(1) I'm not sure what to pick to run (I've been using net.minecraft.client, and also tried start from the default package, both with similar results); I can start the net.minecraft.server, though and everything works fine.  Maybe I'm not starting from the right class?

 

(2) When downloading I see this message:

 

== MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) ==
"scalac" is not found on the PATH.  Scala files will not be recompiled

 

...not sure if that might be what's missing.

 

Tried installing scala (sudo apt-get install scala), now I trying to install I get:

 

== MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) ==
"scalac" does not support jvm-1.6 target, it is out of date. Ignoring

 

...and the same basic error as before when trying to test run.

 

Tried installing scala manually from download from scala-lang.org, no change.  I suspect this is the problem (not positive), but have no clue what to do about it.

 

EDIT: Tried switching to the new Minecraft 1.6.2 build, and things are even worse it seems.  I get the same scala error during installation.  When trying to compile / test run with that I get:

 

Exception in thread "main" joptsimple.MissingRequiredOptionException: Missing required option(s) ['version']
at joptsimple.OptionParser.ensureRequiredOptions(OptionParser.java:447)
at joptsimple.OptionParser.parse(OptionParser.java:437)
at net.minecraft.client.main.Main.main(Main.java:43)

 

I'm pretty sure its that scala not wanting to work with java less than 1.7 while the install seems to insist on 1.6.  Anyone know how to fix that (on linux), please?

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Back then there was a number which determined the tier of an item and block. If the block tier is lower or equal to the item number, the block would be mined. this however, has changed and now it goes by "needs_netherite_tool" which is fine, until you realized that some mods had items and blocks that exceeded these values. You can make you own "needs_mod_tool" but I feel that this is more limiting(and just more work) than before. So is there anyway to use something similar to the old tier system while also still being compatible with a lot of other mod tools?
    • Well, when I log in to the server, sometimes within an hour, sometimes within a minute, the server closes and informs me that there was a Ticking entity error. Below is the crash report
    • This forum is for Forge, not NeoForge. Please go to them for support.
    • Forge version: 55.0.0 Minecraft version: 1.21.5 Downloads: As this is the start of a new version, it is recommended that you check the downloads page and use the latest version to receive any bug fixes. Downloads page Intro: Good evening! Today, we have released our initial build of Forge 55.0 for Minecraft 1.21.5. 1.21.5 is the newest member of the 1.21 family of versions, which was released yesterday on March 25, 2025. As a reminder, the first minor (X.0) of a Forge version is a beta. Forge betas are marked as such on the bottom left of the title screen and are candidates for any breaking changes. Additionally, there are a couple of important things to note about this update, which I've made sure to mention in this post as well. Feel free to chat with us about bugs or these implementation changes on GitHub and in our Discord server. As always, we will continue to keep all versions of 1.21 and 1.20 in active support as covered by our tiered support policy. Cheers, happy modding, and good luck porting! Rendering Refactor For those who tuned in to Minecraft Live on March 22, 2025, you may already know that Mojang have announced their intention to bring their new Vibrant Visuals overhaul to Java in the future. They've taken the first steps toward this by refactoring how rendering pipelines and render types are handled internally. This has, in turn, made many of Forge's rendering APIs that have existed for years obsolete, as they (for the most part) can be done directly in vanilla. If there was a rendering API that was provided by Forge which you believe should be re-implemented, we're happy to discuss on GitHub through an issue or a pull request. Deprecation of weapon-like ToolActions In 1.21.5, Minecraft added new data components for defining the characteristics of weapons in data. This includes attack speed, block tags which define efficient blocks, and more. As such, we will begin marking our ToolActions solution for this as deprecated. ToolActions were originally added to address the problem of creating modded tools that needed to perform the same actions as vanilla tools. There are still a few tool actions that will continue to be used, such as the shears tool action for example. There are some existing Forge tool actions that are currently obsolete and have no effect given the way the new data components are implemented. We will continue to work on these deprecations and invite you to chat with us on GitHub or Discord if you have any questions.
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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