Jump to content

Recommended Posts

Posted

I downloaded forge 31.2.0 and it came up with how to open it, not sure what to do as the video I was watching didnt have this happen. I have java (64 and 32 in my c drive) and when i try to open it comes up with an error. Previously I didnt have this problem when downloading an oloder version; not too sure about the thing with the logs as stated in the rules, debug is empty. Downloaded mc and java on c drive, forge is on d drive, thanks.907760243_mcprob.thumb.png.ece77e2f13d0ff378cab1efa58d03cb4.pngerror.thumb.png.2ae4acfb23c8a634dc14def8666236e9.png

Posted (edited)

Im having this problem where the start.bat file is popping up a message saying java isnt recognised as a internal/external command.

 

java -Xmx4G -Xms4G -jar forge-1.15.2-31.2.0.jar nogui

Edited by BigBadBob
Posted

Then that means that your java is not located in your path, and you must either specify the full path to it, or add the folder it is in to the path.

Posted
  On 5/26/2020 at 5:31 PM, BigBadBob said:

how do i do that? Sorry to be a pain.

Expand  

You will have to locate your java installation, specifically the folder java.exe is in.

Then use that in place of where you simply have java in your batch file command.

Probably safer not to mess with the system path/environment variables if you don't know what you're doing, you could wipe them out and that would be a big pain.

Posted (edited)

Got another error:

unable to install java there are errors with the following switches:

 "-Xmx1024M" "-Xms1024M" " "-jar" "forge-1.15.2-31.2.0.jar" "nogui"

This is in the bat file :

C:\javadown\java.exe -Xmx1024M -Xms1024M -jar forge-1.15.2-31.2.0.jar nogui

 

.Untitled.thumb.png.8bf406f6fcde0ccbe513ae70b74c5cc2.png

 

Edited by BigBadBob
Posted

Then that is not where you installed java, based on the error I would say that is the java installer that does the installing of java on your system.

Posted (edited)

I think I found it but its in a file called "Program Files" and it comes up with a error saying "c:\Program" is not recognised as a command.

C:\Program Files\Java

Edited by BigBadBob
Posted

The problem is you are specifying the folder your java installation is in, not the java.exe.

find the java.exe (it's probably in the bin folder), and use the full path to that inside the quotes.

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

    • If the CCL file is only 1kb sized, then there's the problem. That happened to me, you need to download the CCL file from other place (I don't remember from where I did, if you need it, tell me and I'll send u a drive link where I'll upload it ^^)
    • For this what worked for me was putting the LegacyJavaFixer file on the Forge folder, in versions folder, in .minecraft (.minecraft\versions\1.6.4-Forge9.11.1.1345).
    • Hi, I made this mod, inspired by my friends and various loud streamers, and it's perfect for YouTubers who want a little extra pizzaz when they scream in their videos.   The mod works by detecting a high sound level (which you can configure) through your computer’s audio input. Once the sound threshold is reached, your player character will instantly explode! It doesn't use any external APIs; it just relies on the built-in javax sampled package. Check it out!    
    • Good day, I know this is years later and I hate to necropost but I ran into this exact same issue today and yours was the only one that popped up in my search. Turns out my file system permissions were all kinds of messed up in my minecraft directory. Here's how I fixed it: 1. Open terminal 2. Navigate to the .minecraft directory using the cd command, it can be helpful to have your file explorer open next to your terminal if you're a more visual person like me 3. On my OS (PopOS) the folders with messed up permissions had a padlock on them 4. Ran the command  sudo chmod a+rwx [fileName] I also ran  sudo chmod 777 [fileName] and got the same results with both. However it turns out a lot of my sub folders were messed up too which meant I had to make the changes recursively, which in plain English means all of the sub-folders under the directory. So I ended up running the command  sudo chmod -R 777 [fileName] which then changed all of the subfolders and files and ended up saving me a LOT of time doing it one at a time like the first two commands do. 5. After fixing permissions in the various subfolders ran the installer with the command java -jar [latestForgeInstallerNameGoesHereWithoutSquareBrackets] 6. Installed and launched without a hitch! Hope this helps new Linux users as for most advanced users this breakdown isn't very helpful, I'm still learning a ton myself. Additional note that might clear up future confusion, do not include [ or ] in your commands that I've listed here, I just use [ and ] in my personal notes to denote that I need to put something from the file system in the command. If yours was anything like mine all of the files from /de/oceanlabs/mcp/mcp_config/1.18-20211130.085255/mcp_config-1.18-20211130.085255-mappings.txt all had the wrong permissions. -Zamorakphat
    • hi fellas I remember back when I was in high school and had way more time to develop mods, there were tons of active posts, and while the documentation wasn’t always super extensive, you could always find someone to help you out with your questions or see someone else’s threads that were really informative. But lately, I’ve noticed that the forum seems pretty empty compared to how it used to be. I’m wondering, is there a specific reason for this? Is it just that the community has moved to other platforms, like Discord? It feels like a lot of the knowledge base and conversations have shifted over there. I’m just curious to hear others’ thoughts on this, and if anyone knows why the forum has become quieter, I’d love to know! Thanks!
  • Topics

×
×
  • Create New...

Important Information

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