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
2 minutes ago, BigBadBob said:

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

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



×
×
  • Create New...

Important Information

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