I've been developing a mod for a few days now and suddenly I went to run it and it just doesn't do anything now. This is all the console is giving me when I try to run the client from eclipse:
Nov 20, 2013 11:08:55 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
Nov 20, 2013 11:08:55 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
Nov 20, 2013 11:08:55 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
I have tried reinstalling forge and mcp. I will try reinstalling java jdk/jre and see if that helps. But other than that I dont know what I can do or whats causing it. I have also tried running the client without my mod in the src.
is this for minecraft 1.6+, if yes look at the run configurtions in eclipse, look in the arguments, see if what in the program arguments and vm arguments ?
Its 1.6.4, but I got it working just by re-installing basically everything.
is this for minecraft 1.6+, if yes look at the run configurtions in eclipse, look in the arguments, see if what in the program arguments and vm arguments ?
Uhg, its done it again! Just at a completetly random time it decides to not launch next time I try. Here is whats in my arguments:
Program Arguments:
I thought it was fixed for me, then it started happening again. Now I can't go 4 debugging sessions without having to reinstall forge. This makes it unusable.
I'm having this problem, too, on 1.7.2 Forge...I try to run it in Eclipse, and I get this error:
Invalid initial heap size: -Xms1024M-Dfml.ignoreInvalidMinecraftCertificates=true
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Here are my VM arguments in the debug configuration: -Xincgc -Xmx1024M -Xms1024M-Dfml.ignoreInvalidMinecraftCertificates=true
Am I doing something wrong with the VM arguments? :/
All this Xmx increasing is reckless too often, I've *never* had to go as high as 4GB Xmx - my last 1.6.4 had over 100 mods, Xmx @ 3400MB, and my java process consumed 9GB. So maybe you're just running out of RAM? Check your free RAM in task manager when Forge "freezes".
You're not the only one to have this problem with the latest, and as I understand it; final, Minecraft Forge build for 1.6.4.
I tried to install it to make a minor but infinitely useful addon for Tinkers' Construct but Eclypse is incapable of running the vanilla client, let alone the modded one.
Here's the error report:
Jun 16, 2014 2:45:56 AM net.minecraft.launchwrapper.LogWrapper log
INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
Jun 16, 2014 2:45:56 AM net.minecraft.launchwrapper.LogWrapper log
SEVERE: Unable to launch
java.lang.ClassNotFoundException: cpw.mods.fml.common.launcher.FMLTweaker
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:102)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
On top of that, I can't seem to find any sort of explanatory document on how to install the TiC and necessary mods, or how to make an addon that will be universally compatable.
I'm hoping to use the addon with the Yogcraft Complete pack from the ATLauncher. And not to sound arragot or anything, as I haven't yet made a working minecraft mod, IF this worked they, The Yogscast, are almost certain to add this little beauty to the mod-pack themselves.
Someone please help.
Thanks.
Looks like you've messed with your arguments or your installation is damaged.
As for "installing TiC and necessary mods", you can mod Forge eclipse instances same as normal - but them in eclipse/mods/ folder. But you'd not want to put any more than what's absolutely necessary because your loading time for testing things over and over will be painful.
As for "universally compatible", I have no idea what you mean. If you mean universally compatible with all other mods, that's impossible. If you mean compatible with x modpack, that's up to your discretion to test it alongside other mods.
I'm having this problem, too, on 1.7.2 Forge...I try to run it in Eclipse, and I get this error:
Invalid initial heap size: -Xms1024M-Dfml.ignoreInvalidMinecraftCertificates=true
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Here are my VM arguments in the debug configuration: -Xincgc -Xmx1024M -Xms1024M-Dfml.ignoreInvalidMinecraftCertificates=true
Am I doing something wrong with the VM arguments? :/
There's a space missing after -Xms1024M (before -Dfml.ignoreInvalidMinecraftCertificates=true)
Why did you touch it? Nothing is changed from the default here but you've removed a space.
I added the space, but when I start up, it crashes: (And my arguments were empty, which is why I had to change them. I did it wrong, of course :P)
[16:34:11] [main/ERROR]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_05]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_05]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
Caused by: joptsimple.MissingRequiredOptionException: Missing required option(s) ['userProperties']
at joptsimple.OptionParser.ensureRequiredOptions(OptionParser.java:447) ~[OptionParser.class:?]
at joptsimple.OptionParser.parse(OptionParser.java:437) ~[OptionParser.class:?]
at net.minecraft.client.main.Main.main(SourceFile:83) ~[Main.class:?]
... 6 more
Sounds all kind of messed up. I suggest deleting everything and starting from scratch with a tutorial that worked 100% for me, at least in 1.7.10 but it covers 1.6.4 too - http://www.minecraftforge.net/wiki/Generic_Mod (see Installing Forge).
Only thing I didn't realize was to make sure there are no spaces in the path to your forge workspace.
Sounds all kind of messed up. I suggest deleting everything and starting from scratch with a tutorial that worked 100% for me, at least in 1.7.10 but it covers 1.6.4 too - http://www.minecraftforge.net/wiki/Generic_Mod (see Installing Forge).
Only thing I didn't realize was to make sure there are no spaces in the path to your forge workspace.
Thanks for your help, but I think I got it to work. I switched from 1.7.10 to 1.7.2 and found this topic that helped with the answer: http://www.minecraftforge.net/forum/index.php/topic,21082.0.html It looks like all I needed to do was add --refresh-dependencies to the command: ./gradlew setupDevWorkspace eclipse
So it looked like this: ./gradlew setupDevWorkspace eclipse --refresh-dependencies
But NOW, even though I got Forge to load correctly, there's no sound.
Sorry, but I have one more problem I can't figure out. When I first run forge in Eclipse (to open up Minecraft, where you test the mod) I get this warning: Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Is this important? Because it doesn't seem to be doing anything...
Oh yeah I had to refresh dependencies too, but only after I removed the space from my path. I'm on 1.7.10 and don't remember having any other issues, strange that only 1.7.2 worked for you.
I also had no sound in 1.7.10, try adding this to your Program Arguments (Run > Run configuration > client)
--assetsDir=eclipse/assets
... make sure there's a space before it.
I get that warning every time, some Java 7+ thing I think, dunno. Works fine for me though, so whatever is wrong it's not that warning.
Oh yeah I had to refresh dependencies too, but only after I removed the space from my path. I'm on 1.7.10 and don't remember having any other issues, strange that only 1.7.2 worked for you.
I also had no sound in 1.7.10, try adding this to your Program Arguments (Run > Run configuration > client)
--assetsDir=eclipse/assets
... make sure there's a space before it.
I get that warning every time, some Java 7+ thing I think, dunno. Works fine for me though, so whatever is wrong it's not that warning.
Thanks. It's good to know that that warning doesn't do any harm.
I'm sorry to take up more time, but, if you can help, I'm still having problems with the sound...whenever I make a sound it says this in the counsel: [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press
I even added this to the program arguments with a space:
I looked in the eclipse folder (inside the forge source folder) and there is a "resource packs" folder which is empty. I'm wondering if I, or Forge, messed up and didn't download the sounds it needed. Because when I open resource packs, I get "Default Resource Pack: Missing pack.mcmeta
Downloading and setting up the workspace on 1.6.4 was so much easier. What changed?
Sorry, I'm tripping out - change the new arguments to this:
--assetsDir=assets --assetIndex 1.7.10
Where 1.7.10 is whatever 1.7.x version you have. ALSO, you need to copy the assets folder from .minecraft/assets into eclipse/assets to transfer the sound data from base game into the forge workspace. Obviously you should have already downloaded and started (at least once) the same Minecraft version in the official launcher.
Sorry, I'm tripping out - change the new arguments to this:
--assetsDir=assets --assetIndex 1.7.10
Where 1.7.10 is whatever 1.7.x version you have. ALSO, you need to copy the assets folder from .minecraft/assets into eclipse/assets to transfer the sound data from base game into the forge workspace. Obviously you should have already downloaded and started (at least once) the same Minecraft version in the official launcher.
There doesn't seem to be a sound folder. I'm opening up .minecraft/versions/1.7.2 and extracting the jar file into a folder, but there's no "sounds" folder in its "assets". I tried adding the sounds by taking a resource pack with sounds in it, and putting it in eclipse/assets/minecraft (assets didn't even exist, I had to make it) and then add the arguments, but I get this message in the counsel: Completely ignored arguments: [--assetIndex, 1.7.2]
Why is it so hard to get sounds into the game? I just don't get how they set up the Forge/Eclipse workspace.
On the plus side though, I made a small mod that adds apple pie, (Going to be called "More Food" in the future) so Forge and Eclipse are working at least.
No, there is no sounds folder in assets - I never said there was. Sounds are in objects or something but you need everything in the assets folder for the indexes.
The Problem With Me Is that i have a beta version of mac os x which is os x 10.10 (yosemite) and i cant get java jdk 7 beacause you need to be in at least the mac os x that most people are using right now. I guess i just have to wait....
INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
Nov 20, 2013 11:08:55 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
Nov 20, 2013 11:08:55 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
I have tried reinstalling forge and mcp. I will try reinstalling java jdk/jre and see if that helps. But other than that I dont know what I can do or whats causing it. I have also tried running the client without my mod in the src.
Thanks.
Its 1.6.4, but I got it working just by re-installing basically everything.
Uhg, its done it again! Just at a completetly random time it decides to not launch next time I try. Here is whats in my arguments:
Program Arguments:
VM Arguments:
Invalid initial heap size: -Xms1024M-Dfml.ignoreInvalidMinecraftCertificates=true
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Here are my VM arguments in the debug configuration: -Xincgc -Xmx1024M -Xms1024M-Dfml.ignoreInvalidMinecraftCertificates=true
Am I doing something wrong with the VM arguments? :/
I'm on a Mac, if that matters.
Why have you set 4GB min/max? Minecraft with only 1 mod doesn't need anywhere near that much. I'm on 1.7.10 but my arguments are:
--version 1.7 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --username=ForgeDevName --accessToken FML --userProperties={}
and
-Xincgc -Xmx1024M -Xms1024M -Dfml.ignoreInvalidMinecraftCertificates=true
All this Xmx increasing is reckless too often, I've *never* had to go as high as 4GB Xmx - my last 1.6.4 had over 100 mods, Xmx @ 3400MB, and my java process consumed 9GB. So maybe you're just running out of RAM? Check your free RAM in task manager when Forge "freezes".
Looks like you've messed with your arguments or your installation is damaged.
As for "installing TiC and necessary mods", you can mod Forge eclipse instances same as normal - but them in eclipse/mods/ folder. But you'd not want to put any more than what's absolutely necessary because your loading time for testing things over and over will be painful.
As for "universally compatible", I have no idea what you mean. If you mean universally compatible with all other mods, that's impossible. If you mean compatible with x modpack, that's up to your discretion to test it alongside other mods.
There's a space missing after -Xms1024M (before -Dfml.ignoreInvalidMinecraftCertificates=true)
Why did you touch it? Nothing is changed from the default here but you've removed a space.
I added the space, but when I start up, it crashes: (And my arguments were empty, which is why I had to change them. I did it wrong, of course :P)
[16:34:11] [main/ERROR]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_05]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_05]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
Caused by: joptsimple.MissingRequiredOptionException: Missing required option(s) ['userProperties']
at joptsimple.OptionParser.ensureRequiredOptions(OptionParser.java:447) ~[OptionParser.class:?]
at joptsimple.OptionParser.parse(OptionParser.java:437) ~[OptionParser.class:?]
at net.minecraft.client.main.Main.main(SourceFile:83) ~[Main.class:?]
... 6 more
Only thing I didn't realize was to make sure there are no spaces in the path to your forge workspace.
Thanks for your help, but I think I got it to work. I switched from 1.7.10 to 1.7.2 and found this topic that helped with the answer: http://www.minecraftforge.net/forum/index.php/topic,21082.0.html It looks like all I needed to do was add --refresh-dependencies to the command: ./gradlew setupDevWorkspace eclipse
So it looked like this: ./gradlew setupDevWorkspace eclipse --refresh-dependencies
But NOW, even though I got Forge to load correctly, there's no sound.
Is this important? Because it doesn't seem to be doing anything...
I also had no sound in 1.7.10, try adding this to your Program Arguments (Run > Run configuration > client)
... make sure there's a space before it.
I get that warning every time, some Java 7+ thing I think, dunno. Works fine for me though, so whatever is wrong it's not that warning.
Thanks. It's good to know that that warning doesn't do any harm.
I'm sorry to take up more time, but, if you can help, I'm still having problems with the sound...whenever I make a sound it says this in the counsel: [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:gui.button.press
I even added this to the program arguments with a space:
I looked in the eclipse folder (inside the forge source folder) and there is a "resource packs" folder which is empty. I'm wondering if I, or Forge, messed up and didn't download the sounds it needed. Because when I open resource packs, I get "Default Resource Pack: Missing pack.mcmeta
Downloading and setting up the workspace on 1.6.4 was so much easier. What changed?
Where 1.7.10 is whatever 1.7.x version you have. ALSO, you need to copy the assets folder from .minecraft/assets into eclipse/assets to transfer the sound data from base game into the forge workspace. Obviously you should have already downloaded and started (at least once) the same Minecraft version in the official launcher.
There doesn't seem to be a sound folder. I'm opening up .minecraft/versions/1.7.2 and extracting the jar file into a folder, but there's no "sounds" folder in its "assets". I tried adding the sounds by taking a resource pack with sounds in it, and putting it in eclipse/assets/minecraft (assets didn't even exist, I had to make it) and then add the arguments, but I get this message in the counsel: Completely ignored arguments: [--assetIndex, 1.7.2]
Why is it so hard to get sounds into the game? I just don't get how they set up the Forge/Eclipse workspace.
On the plus side though, I made a small mod that adds apple pie, (Going to be called "More Food" in the future) so Forge and Eclipse are working at least.
It's not THAT hard....