# System.util.retarget() with JVM Arguments

**URL:** <https://forum.inductiveautomation.com/t/system-util-retarget-with-jvm-arguments/60231>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [May 31, 2022, 8:49pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-with-jvm-arguments/60231 "2022-05-31T20:49:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zbinder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zbinder/32/28918_2.png) [@zbinder](https://forum.inductiveautomation.com/u/zbinder)\
**Post date:** [May 31, 2022, 8:49pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-with-jvm-arguments/60231/1 "2022-05-31T20:49:44Z")

</div>

I’m currently running Ignition 8.1.17 and using the JVM argument “-Dsun.java2d.uiScale=2.0” within Vision Client Launcher to ensure that font scaling works appropriately with Windows scaling set to 250% (as opposed to a multiple of 100).

I’m trying to implement system.util.retarget() to switch to a different gateway with a similar project, but I when I do, it resets to the default scaling. Is there a way to retarget while using the same JVM arguments?

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [June 4, 2023, 3:16am UTC](https://forum.inductiveautomation.com/t/system-util-retarget-with-jvm-arguments/60231/2 "2023-06-04T03:16:23Z")

</div>

Interesting question. Did you ever find a way to do this?

---

<div class="post-metadata">

**Author:** ![zbinder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zbinder/32/28918_2.png) [@zbinder](https://forum.inductiveautomation.com/u/zbinder)\
**Post date:** [June 5, 2023, 12:59pm UTC](https://forum.inductiveautomation.com/t/system-util-retarget-with-jvm-arguments/60231/3 "2023-06-05T12:59:54Z")

</div>

Unfortunately, no. We tried to configure computers to 100% when possible, but the client's employees had a range of different devices so it wasn't always possible to set it up that way.
