Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Forge Installer Not Opening


Recommended Posts

Hi everyone! So I've been trying to get forge running on my machine for about 2 days now to no avail. My issue is that I can't get the installer to run no matter what I try, and unfortunately because I can't install it in the first place I don't think I can provide you guys any logs. I download the installer file and then upon double clicking it I get a black window for a fraction of a second and then a Java window pops up that says, "Java(TM) Platform SE binary has stopped working" and it forces me to close the installer. I'm on Windows 10. I've tried reinstalling Java a dozen or so times and once I even went into my files and searched for anything with the word "Java" in it and deleted it, but that didn't seem to help me. I have a feeling this is a Windows 10 specific issue because I was able to install forge on a windows 7 computer in my house but when I tried simply transferring the files over onto this one the forge Minecraft profile wouldn't launch. Whether I use the "windows installer" or the "installer" has no effect either. I've tried changing file extensions to .jar but that also had no effect. Minecraft on its own runs fine so it's not like my computer somehow can't run Java... If anyone has some advice to give me it would be much appreciated because I feel like I'm losing my mind here trying to get mods working. All of my Nvidia drivers are up to date 100%.

 

What I've tried:

-Uninstalling Java completely + reinstalling it

-Uninstalling/reinstalling JRE (Java Runtime Environment) separately from the regular Java program

-Moving the files from another computer

-A program called "Jarfix" that has supposedly helped many other people with this issue

-Changing file extensions

 

Thanks for your time guys.

Edited by kyle123cool123
Link to post
Share on other sites

Download the Windows Installer, not the plain Installer. And also don't just open the Java file by clicking it twice, open the Command Prompt and go to the file directory, then run the Java file through there.

 

In the Command Prompt, type:
java -[YOUR JAVA FILE NAME].jar [optional modifiers here]

Edited by Differentiation
Link to post
Share on other sites
4 minutes ago, kyle123cool123 said:

My Java version is the current one, "Version 8 Update 161" maybe this new version is somehow broken with Windows 10? It did just come out 6 days ago...

Don't use the newest versions! You have to be joking me. Use an older one, but not TOO old

Link to post
Share on other sites
7 minutes ago, kyle123cool123 said:

Maybe I'm doing something wrong but using what you said "In the Command Prompt, type: java -[YOUR JAVA FILE NAME].jar [optional modifiers here]" caused nothing to happen and gave this result:

 

Is the .jar file located in your Desktop!?

Link to post
Share on other sites
8 minutes ago, kyle123cool123 said:

Maybe I'm doing something wrong but using what you said "In the Command Prompt, type: java -[YOUR JAVA FILE NAME].jar [optional modifiers here]" caused nothing to happen and gave this result:

 

My apologies:
java -jar [FILE NAME].jar [OPTIONAL MODIFIERS]

Link to post
Share on other sites
Just now, kyle123cool123 said:

It said, "Setting up logger: C:\Users\darai\Desktop\forge-1.12.2-14.23.1.2602-installer.jar.log" but then Java still crashed like before. Guess it'll look for an older version of java to use :P

You should. And also, download recommended Forge version for Minecraft 1.12.2 (i.e. 1.12.2 - 14.23.1.2555)

(Recommended versions bode well with your system.)

Link to post
Share on other sites

Alright. I downloaded Java Version 8 Update 144 which is 2 versions older than the most recent one. Now instead of giving an error message the file just doesn't open at all. The cursor turns into the loading hourglass when I double click it but ultimately nothing happens, and Java doesn't appear to be opening in task manager. When I use cmd to open it I get this:

Link to post
Share on other sites
4 minutes ago, kyle123cool123 said:

When I click on the windows version of the download nothing happens and it generates a blank log file. When I click the non-windows version Java crashes :( I'm starting to lose hope here

I'm not sure what the problem might be. Your best bet is waiting for @diesieben07 to wake up and help because I'm pretty sure he lives in Germany and is asleep at the moment :( 

Link to post
Share on other sites
Guest
This topic is now closed to further replies.


  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Understood, and I'll go check that out. Thank you so much!
    • This. The reason for this is that DeferredRegister relies on static initializers. If you put your RegistryObjects in some random class it is not guaranteed that that class is actually initialized by the time your DeferredRegister is. Hence: Put the DeferredRegister and its entries in the same class. @ObjectHolder is explained here: https://mcforge.readthedocs.io/en/latest/concepts/registries/#using-objectholder
    • Okay, thanks for the help! A few questions. BLOCKS and ITEMS are in the same class as each other- it's called 'registry'. (forgot to capitalize, oops- I'll fix that momentarily.) What exactly shouldn't be in separate classes? Are you saying that my actual RegistryObjects (the individual blocks, items, etc.) should all be in the same class? Or that the DeferredRegisters should all be in the same class? Or that all the RegistryObject<Block>s should be in the same class as the DeferredRegister<Block>, and the RegistryObject<Item>s should be in the same class as the DeferredRegister<Item>, but those two classes don't necessarily have to be the same? What is @ObjectHolder, what does it do, and where can I go to learn more? (That is, assuming it's a Forge thing. If it's a Java thing I don't know, say so and I'll go research it elsewhere- I understand and respect that this forum isn't a place to look for Java help.)
    • First of all the BLOCKS and ITEMS fields (i.e. your DeferredRegister instances) should not be in a separate class. Put them in the same class or you will have issues. No, you cannot, because then you defeat the entire purpose of DeferredRegister. You must create your registry objects (blocks, items, etc.) in the registry event. DeferredRegister manages this for you. If you don't want this, you can also manually subscribe to RegistryEvent and create and register your things there. You can then use @ObjectHolder to obtain the instances for your registry entries. You can also mix and match these if you so choose - you can have @ObjectHolder annotated fields and things registered by DeferredRegister will still end up there and equally you can register things manually in RegistryEvent and create your own RegistryObject (just call the of method) which you can then use to access them. But what you cannot do is create registry objects (i.e. blocks and items) outside registry events.
    • From my understanding, all of my blocks, items, and whatnot should be registered like this: public static final RegistryObject<Block> CRASH_PAD = registry.BLOCKS.register("crash_pad", () -> new CrashPadBlock(AbstractBlock.Properties.of(Material.CLAY, MaterialColor.GRASS).friction(0.8F).sound(SoundType.SLIME_BLOCK).noOcclusion())); public static final RegistryObject<Item> ALCHEMICAL_FLASK = registry.ITEMS.register("alchemical_flask", () -> new Item(new Item.Properties().tab(ItemGroup.TAB_MATERIALS))); If I then wished to refer to the crash_pad Block, or the alchemical_flask Item, do I have to refer to them as 'registry.CRASH_PAD.get()' and 'registry.ALCHEMICAL_FLASK.get()'? This seems a bit roundabout. Can I define the blocks as Blocks and the items as Items before creating and registering RegistryObject<T>s from them, or do I have to always get the blocks and items from their RegistryObjects?
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.