"Javaw is not recognized as an internal or external command"

Samarinke Posted messages 105 Status Membre -  
Samarinke Posted messages 105 Status Membre -
Hello,

Hello,

I'm trying to run a .bat but the console tells me that "javaw is not recognized as an internal or external command." I have followed the tutorials to the letter to allocate more RAM to Minecraft.

Configuration: Windows 7 / Chrome 26.0.1410.64

4 réponses

KX Posted messages 19031 Status Modérateur 3 020
 
If direct access to the command doesn’t work, you can use the full path to the javaw.exe program located in the installation folder of your JRE and/or JDK.

Depending on your configuration, you should replace "javaw" with something like
"C:\Program Files\Java\jre7\bin\javaw.exe"
--
Trust does not exclude control.
4
Samarinke Posted messages 105 Status Membre 11
 
Thank you all! I succeeded, but Java says "Error: Couldn't create the Java virtual machine. Error: Fatal exception program will exit."
1
Samarinke Posted messages 105 Status Membre 11
 
Quand je le mets dans mon .bat, la console a l'air de dire qu'elle ne veut pas d'espace entre "Program" et "Files". Tu connais l'équivalent de "Program Files" sans espace ?
0
KX Posted messages 19031 Status Modérateur 3 020
 


"C:\Program Files\Java\jre7\bin\javaw.exe"
0
Samarinke Posted messages 105 Status Membre 11
 
He understood, but claims that the path is nonexistent. However, I checked the properties of javaw.exe!
0
Samarinke Posted messages 105 Status Membre 11
 
Up !
0