Notethat this is the error it shows when I try to launch newer versions of the game. If I try to launch my Forge or vanilla 1.12.2 version, the path is: C:\Users\username\Appdata\Local\runtime\jre-legacy\windows-x64\jre-legacy\bin\javaw.exe
I tried following the steps shared from all the Reddit posts, Youtube videos, and Minecraft forum posts I could find. None of them worked. The game was working fine yesterday, but I tried launching the game today and it just doesn't even work anymore. I don't even remember there being a Windows update when I turned off the PC last night.
so minecraft was crashing a lot when i installed a client that was no longer supported. what it did was not only the client wouldn't work, all the other versions were broken as well. I uninstalled minecraft and then reinstalled as i thought the launcher broke when i installed the client. when i pressed play this error appeared:
However when i checked the listed directory javaw.exe was there but i think the issue at hand is this: the reason it wouldn't work is that during install it didn't give my account (in windows) permission to read, write and execute the program. If anyone could help me with this it would be a blessing.
With the launcher and anything Minecraft related closed out, delete the whole runtime folder from within C:\Program Files (x86)\Minecraft on your PC. Then restart the launcher and it should re-download it and work.
strangely it did install out of nowhere but launching it my antivirus put my java.exe into quarantine then I'm getting the same message again
When I open the minecraft launcher there is 1 javaw.exe showing in my task manager, and when i click play in the launcher, 2 are opened. I believe it is because one of the javaw.exe's is the game (running up to 500k memory) and the other is the launcher that failed to close (200k). When I go to my task manager and close the program running 200k, minecraft runs fine. I just hate having to do that manually everytime i play minecraft. None of this happened to me a couple days ago. In the past couple days, in order to raise my FPS, I installed 64bit Java, Optifine, and upped my virtual ram by about 1-2k (moved it to the recommended max setting of about 5.2k). Also I noticed when I play minecraft, even when I get rid of the second javaw.exe, it makes my iTunes going on in the background lag bad. I can't listen to music at all and it worked so fluently before. I tried to the regular minecraft client instead of Optifine but it gives me this "error could not create the java virtual machine" error. I think I managed to open the regular client at one point but I still had that problem with iTunes, so it may not be Optifine. I tried to change the priority of iTunes to a high but the problem still occurs.
Please help me figure out how to stop minecraft from opening 2 Javaw.exe's when I play, and how to make my iTunes stop lagging when I play minecraft!
How much memory does your computer have, as well as your CPU, GPU, etc? Increasing your virtual memory will not fix lag caused by insufficient physical RAM - in fact, you do not want to use virtual memory (paging to disk) as that is literally millions of times slower than physical RAM (even SSDs are slow by comparison) and in the worse case end up in thrashing where your computer slows down to a crawl.
I also recommend reducing the amount of memory allocated to Minecraft, such as replacing -Xmx1G with -Xmx512M or -Xmx768M (do not try changing anything else); this will limit your settings (higher render distances require more memory) but it doesn't sound like you can handle it anyway.
Also, I noticed in your screenshot that your CPU usage seems rather high compared to what Minecraft is using by itself, only 7% out of 45% (normally I see Minecraft using most of the CPU, with dwm using a smaller amount; dwm is the program that renders windows, CPU usage while actually playing is around 60-70%, so if that is any indication you may be hitting 100% while playing, slowing everything down), which may also be an issue; you still have 50% memory free so memory may not actually be the issue (on my 32 bit Windows 7 computer I use about 2 out of 3 GB when playing and don't have any memory issues).
In addition, you say it worked fine before; when was this, and was it before you updated the game or anything else? Otherwise, what are your in-game settings at? For example, setting framerate to unlimited will cause your computer to work as hard as it can, you may want to try lowering it.
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
All of my ingame settings are set to fastest. I recently uninstalled Optifine, Java 64 bit, and reinstalled minecraft. I still have the same problem with it creating 2 Java.exe's in my windows task manager. This problem started occuring around when i started using Optifine, but now i uninstalled it and am still having this problem. I may have fixed the iTunes problem, still working on it. At the moment im having a new problem, half of the blocks arent even rendering. Please look at this gyazo Looks like my minecraft is running 50% CPU and iTunes 2% so i think im good in that regard at the moment.
I've noticed that I've been getting terrible performance on Minecraft and have narrowed it down to the fact that Minecraft is not able to switch from the Integrated graphics card to usisng my AMD Radeon Graphics card. I will leave my specs and software versions at the bottom of the page if you want to skip to that.
I've tried many other 'solutions' in other threads on multiple forums but unfortunately they all lie with the same problem that they're either too old to be compatible with the current version of Radeon Settings or don't actually answer the issue. (upgrading my drivers or disabling integrated graphics. I have updated my drivers and I'm not going to disable my integrated graphics because they're used for other software that are always open.)
Do notice that the Minecraft launcher is different from the actual minecraft game. The Minecraft launcher has been detected by the graphics card and I believe it's powering it but the actual game is powered by the integrated graphics card. The Minecraft game is a java environment which when I added it to the Radeon Settings showed me that it was another game called Jedi Academy or something along those lines. Even when Minecraft is running, the graphics card it uses is still the integrated one after adding the Javaw.exe environment to the Radeon settings.
Does anyone have any suggestions or fixes of their own? Thanks in advance.
Minecraft > Install > runtime > jre-x64 > bin > javaw.exe
Click on javaw.exe and you'll add it to your switchable graphics section. That's all! Just make sure it's on high performance and you're set.
Adding on to what you said. I had set java.exe. javaw.exe. Minecraft.exe. And a whole bunch of things to high performance in the graphics settings. It wasn't using my dedicated gpu still. If this helps anyone. I remembered doing research on this in the past and I checked my power options and set my power plan to high performance (Actually ultimate performance). Thus switching from those settings that focus on power saving and probably overwrite the command to use the dedicated gpu in my case.
I have an updated Radeon Software, and I added the javaw.exe, but it still uses the integrated GPU instead of my AMD GPU, while I try to add another app, it uses the AMD GPU, like for example, I add and opened up Minecraft, and it's using the Intel UHD Graphics GPU, while I add and open Roblox it's using the AMD GPU, which is weird, but I already updated the OpenGL and stuff, but it still doesn't work! I tried via the Settings app, it also doesn't work, help me pls
As stated previously using windows built-in Graphics settings you can force the applications to use the graphics card. The main applications that you are looking for are java.exe and javaw.exe.
You can find these files in a number of places:
For modded using the lastest Curse Forge launcher by Overwolf:
C:\Users\*ProfileName*\Twitch\MinecraftInstall\runtime\bin
C:\Users\*ProfileName*\Twitch\MinecraftInstall\runtime\jre-x64\bin
C:\Users\*ProfileName*\Twitch\MinecraftInstall\runtime\jre-legacy\windows-x64\jre-legacy\bin
(jre-legacy is probably the one you are looking for as they said they would continue to use the legacy launcher)
The latest (recently updated) Minecraft Launcher from Mojang:
C:\Users\*ProfileName*\AppData\Local\Packages\Microsoft.4297127D64EC6_8wekyb3d8bbwe\LocalCache\Local\runtime\jre-legacy\windows-x64\jre-legacy\bin
Feel free to add any other locations there might be as the install locations have changed from launcher to launcher
The legacy win32 launcher and I believe one older version exists. To find out where these files are just launch the game, open task manager and right-click the Java(TM) Platform SE binary program, and click the open file location to find out where it is running from.
You want to set those to the High-Performance setting.
-As of writing this may be optional.
In order for these files to be configured using Radeon, you have to go into your Radeon application and add the javaw.exe and maybe the java.exe files to your game, in the Gaming tab. To add a game go to the said tab and look for three dots on the right, click them. and press "Add A Game..."
You can then configure the game however you wish, with the exception of the "Anisotropic Filtering" setting, which you want to disable, This setting was causing white borders around blocks, which has to do with the texture filtering.
3a8082e126