0

As the title states, how do I set a java argument to set my PC resolution to 1200x800? For example, in Minecraft (lol) there is an option to set JAVA arguments in the profile launcher. I know Minecraft has a way to set launcher size, but it causes a smaller window inside of my PC. I want to change my PC resolution, not Minecraft, through java arguments. That's why I'm posting this in Super user, because its more of a java problem.

7
  • 1
    The program must support this in order to do this. How you do it with a program that does support it is program specific. But it would only effect the resolution of the program. Minecraft cannot set the desktop resolution on a Windows machine.
    – Ramhound
    Apr 15, 2016 at 17:03
  • 1
    Possible duplicate of Any way of changing Windows 7 screen resolution via command line?
    – Ramhound
    Apr 15, 2016 at 17:04
  • @Ramhound I know Minecraft cant change the resolution but I want to know if JAVA can, in the JVM arguments?
    – JCTechie
    Apr 15, 2016 at 17:13
  • 1
    Java cannot just change the desktop resolution in Windows. A java application, I suppose could manipulated Windows, but your not dealing with a java application that can do that.
    – Ramhound
    Apr 15, 2016 at 17:39
  • There are no JVM arguments to change the screen resolution. See JVM Options List - still being maintained post Oracle?
    – DavidPostill
    Apr 15, 2016 at 23:02

0

You must log in to answer this question.

Browse other questions tagged .