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

Samarinke Posted messages 105 Status Member -  
Samarinke Posted messages 105 Status Member -
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 answers

  1. KX Posted messages 19031 Status Moderator 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
  2. Samarinke Posted messages 105 Status Member 11
     
    Thank you all! I succeeded, but Java says "Error: Couldn't create the Java virtual machine. Error: Fatal exception program will exit."
    1
  3. Samarinke Posted messages 105 Status Member 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
    1. KX Posted messages 19031 Status Moderator 3 020
       


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